Skip to main content

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

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


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.2.0.tar.gz (12.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-0.2.0-py3-none-any.whl (11.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for trackerpkg-0.2.0.tar.gz
Algorithm Hash digest
SHA256 08930e7ee4b6e7afbc162b4208734fe7fa7b56b65082efbcfc604a5da3260942
MD5 e588f97b1c1784b496155ba61938e9af
BLAKE2b-256 6893c1601f91b5738dc4eedb8cfbe092474d8dee734a5ea21213e9e71a7c6b56

See more details on using hashes here.

File details

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

File metadata

  • Download URL: trackerpkg-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 11.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-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4d5a5512c60a8be5209f65c4a0a330acbb0796357b3d0f0178a413f2a7c50487
MD5 623fbcc85205c64aad63084cc6935149
BLAKE2b-256 7b8ab4d1e03cf643328065e2cfd0466fa9730cba79718c18911e932ee3e5c194

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