Skip to main content

Token and resource usage tracker for OpenAI API calls with weighted dynabits calculation

Project description

trackerpkg

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

Installation

pip install trackerpkg

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

trackerpkg-1.0.0.tar.gz (15.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

trackerpkg-1.0.0-py3-none-any.whl (14.8 kB view details)

Uploaded Python 3

File details

Details for the file trackerpkg-1.0.0.tar.gz.

File metadata

  • Download URL: trackerpkg-1.0.0.tar.gz
  • Upload date:
  • Size: 15.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.4

File hashes

Hashes for trackerpkg-1.0.0.tar.gz
Algorithm Hash digest
SHA256 8e21e22db7cd7b787ef58bf1d401ba6d595897577f20e97aa5014432ab77246e
MD5 0d705636f83d2395ad6d8f232fb74bf9
BLAKE2b-256 60a8018ee4b494814e2aac0aab3a078cb935ce30d067d04efa5f3c3985490b0f

See more details on using hashes here.

File details

Details for the file trackerpkg-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: trackerpkg-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 14.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.4

File hashes

Hashes for trackerpkg-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 24de1759f9b1fc4d4c75c0d3f21350a93b44620ff050bdd2b9cccdfe993df516
MD5 36b1b9f0072ecf91f82114fa3585748c
BLAKE2b-256 99e74de22c9d061834fb1dd53d00b4e4f9f391841aec94933a825d52a454168e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page