Metadata-Version: 2.4
Name: trackerpkg
Version: 0.7.0
Summary: Token and resource usage tracker for OpenAI API calls with weighted dynabits calculation
Author-email: Ali Naveed <ali@dynastack.ai>
License: MIT
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Operating System :: OS Independent
Classifier: License :: OSI Approved :: MIT License
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=3.8
Description-Content-Type: text/markdown
Requires-Dist: psutil
Requires-Dist: psycopg2-binary
Requires-Dist: python-dotenv
Requires-Dist: confluent-kafka
Requires-Dist: requests
Requires-Dist: openai
Requires-Dist: aiohttp
Provides-Extra: async
Requires-Dist: aiohttp; extra == "async"

# trackerpkg

TokenTracker and resource tracking decorators to monitor OpenAI API usage and process resource consumption, with logging to PostgreSQL.

## Installation

```bash
pip install trackerpkg
