Metadata-Version: 2.4
Name: pyllsm
Version: 0.1.1
Summary: Python bindings for libllsm (import name: pyllsm)
Author: llsm wrapper contributors
License: GPL-3.0-or-later
Requires-Python: >=3.9
Description-Content-Type: text/markdown
Requires-Dist: numpy>=1.24
Requires-Dist: cffi>=1.15
Provides-Extra: test
Requires-Dist: pytest>=7.0; extra == "test"

# pyllsm Python Wrapper

This directory contains a standalone Python package that wraps `libllsm`.

## Goals

- `import pyllsm` directly after installation
- expose `llsm.h`, `math-funcs.h`, `envelope.h` APIs
- expose selected LLSM-relevant high-level APIs from `ciglet.h`
- include Python tests that mirror `libllsm/test` flow

## Install (editable)

```bash
pip install -e ./pyllsm
```

## Run tests

```bash
pytest pyllsm/tests -q
```

## C test ports

- `libllsm/test/test.c` -> `pyllsm/tests/test_from_test_c.py`
- `libllsm/test/test_mt.c` -> `pyllsm/tests/test_from_test_mt.py`
- `libllsm/test/moresampler_llsm_tool.c` -> `pyllsm/tests/test_from_moresampler_llsm_tool.py`
