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 yourpkg

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-0.4.0.tar.gz (13.8 kB view details)

Uploaded Source

Built Distribution

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

trackerpkg-0.4.0-py3-none-any.whl (13.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for trackerpkg-0.4.0.tar.gz
Algorithm Hash digest
SHA256 9bafb0a009ce89dceadc141577c244e6f557a44143dc86b5f96c7037d7b0f2d8
MD5 621f12fed0e3396e2d6dda05a025ea23
BLAKE2b-256 d4c32f71a2b068e80acce5f812ddea9813d098d150826163034fd2b35a1b3882

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for trackerpkg-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9734c3f51bc4208051604ceedf5878ed5cc15f565cf75ecfefb92c3f32a1c0ed
MD5 634cabfd5136bd26ea1e6c36be52a51e
BLAKE2b-256 3c4fe62ee8f4638861898f9b4d5ff684ffb3f21feff621beafce4461251a2bb0

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