Metadata-Version: 2.4
Name: tokensguru
Version: 1.0.0
Summary: Reduce LLM token usage and cost.
Author-email: CloudAngles <cloudangles@cloudangles.com>
License-Expression: Apache-2.0
Project-URL: Homepage, https://github.com/cloudangles/tokensguru-oss
Project-URL: Repository, https://github.com/cloudangles/tokensguru-oss
Project-URL: Issues, https://github.com/cloudangles/tokensguru-oss/issues
Keywords: llm,tokens,cost,optimization
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Provides-Extra: test
Requires-Dist: pytest>=8; extra == "test"
Requires-Dist: pytest-cov>=5; extra == "test"
Requires-Dist: packaging>=24; extra == "test"
Provides-Extra: dev
Requires-Dist: tokensguru[test]; extra == "dev"
Requires-Dist: ruff>=0.6; extra == "dev"
Requires-Dist: mypy>=1.10; extra == "dev"
Requires-Dist: build>=1.2; extra == "dev"
Requires-Dist: twine>=5; extra == "dev"
Requires-Dist: pip-audit>=2.7; extra == "dev"
Dynamic: license-file

<p align="center">
  <img src="media/public/tokensguru_logo.png" alt="TokensGuru logo" />
</p>

<p align="center">
  <a href="https://pypi.org/project/tokensguru/"><img src="https://img.shields.io/pypi/v/tokensguru?style=for-the-badge&color=6f42c1" alt="PyPI version" /></a>
  <a href="https://www.python.org/"><img src="https://img.shields.io/badge/python-3.9%2B-3776AB?style=for-the-badge&logo=python&logoColor=white" alt="Python 3.9 and later" /></a>
  <img src="https://img.shields.io/badge/runtime_dependencies-none-2ea44f?style=for-the-badge" alt="No required runtime dependencies" />
  <img src="https://img.shields.io/badge/status-beta-orange?style=for-the-badge" alt="Beta" />
  <img src="https://img.shields.io/badge/license-Apache--2.0-blue?style=for-the-badge" alt="Apache 2.0 license" />
</p>

## Installation

Requires Python 3.9 or later.

```bash
pip install tokensguru
# or
uv tool install tokensguru
```

Then check it works:

```bash
tokensguru --version
tokensguru info
```

### From a local clone

```bash
pip install .            # regular install
pip install -e .         # development (editable) install
```

## License

Apache License 2.0. See [LICENSE](LICENSE).

Copyright CloudAngles.
