Metadata-Version: 2.4
Name: enhancers
Version: 0.0.1
Summary: Composable acceleration utilities for local language models
Author: Abubakar Abid
License-File: LICENSE
Keywords: acceleration,inference,llm,local-models
Classifier: Development Status :: 2 - Pre-Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Typing :: Typed
Requires-Python: >=3.10
Provides-Extra: dev
Requires-Dist: pytest<9.0.0,>=8.0.0; extra == 'dev'
Requires-Dist: ruff==0.9.3; extra == 'dev'
Description-Content-Type: text/markdown

# enhancers

Composable acceleration utilities for local language models.

## Installation

```bash
pip install enhancers
```

## Usage

```python
from enhancers import Benchmark

result = Benchmark(
    baseline_tokens_per_second=20,
    enhanced_tokens_per_second=50,
)

print(result.speedup)
```

The initial API provides a typed optimization protocol and a consistent way to
report inference speedups. It is designed to accommodate speculative decoding
and other local-inference enhancements.

## Development

```bash
pip install -e ".[dev]"
pytest
ruff check --fix --select I
ruff format
```

## License

MIT
