Token and resource usage tracker for OpenAI API calls with optional PostgreSQL logging
Project description
yourpkg
TokenTracker and resource tracking decorators to monitor OpenAI API usage and process resource consumption, with logging to PostgreSQL.
Installation
pip install yourpkg
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
trackerpkg-0.1.5.tar.gz
(4.1 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file trackerpkg-0.1.5.tar.gz.
File metadata
- Download URL: trackerpkg-0.1.5.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
519ea8900b1565a4b93b43cfff357273013e73ca516b3715a4aded045679fe22
|
|
| MD5 |
3a6f9818cb010f0e4ce2bde3c52c8ffe
|
|
| BLAKE2b-256 |
f5146eee532744a782a37f82ca0a04ea05794ae4aef368e30c9a0dc268531fdc
|
File details
Details for the file trackerpkg-0.1.5-py3-none-any.whl.
File metadata
- Download URL: trackerpkg-0.1.5-py3-none-any.whl
- Upload date:
- Size: 4.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
83ed3db61c1a828aa94e2621eb32bf94d773868e1d3fcb17d04219156caec2fe
|
|
| MD5 |
6ac5acd0a99199026f4093eea4d25d38
|
|
| BLAKE2b-256 |
5130dbd0c12f3684d2818b29be3ba760ce2b96dd9281e55d1a7465738a9ff608
|