Metadata-Version: 2.4
Name: qalk
Version: 0.1.1
Summary: NumPy-style degree-based trigonometric helpers.
Requires-Python: >=3.9
Requires-Dist: numpy>=1.26
Provides-Extra: dev
Requires-Dist: pytest>=8.0; extra == 'dev'
Description-Content-Type: text/markdown

# qalk

`qalk` re-exports NumPy's public API and adds degree-based trigonometric helpers.

## Install

```bash
uv add qalk
```

## Usage

```python
from qalk import *

print(sind(30))        # 0.5
print(cosd(60))        # 0.5
print(arcsind(0.5))    # 30.0
print(arctan2d(1, 1))  # 45.0
print(s(1234))         # 1.23e+03
print(s([1, 20, 300])) # [1.00e+00 2.00e+01 3.00e+02]
```

The regular NumPy symbols are also available through the same import:

```python
from qalk import array, pi, s, sin, sind
```

## Development

```bash
uv sync --extra dev
uv run pytest
uv build
```

## Release

PyPI does not allow reusing the same uploaded filename, so each publish needs a new version.

Use the helper script to bump the version, test, build, and publish in one flow:

```bash
./scripts/release.sh patch
```

You can also use `minor` or `major` instead of `patch`.
