Skip to main content

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


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.4.tar.gz (4.0 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.1.4-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for trackerpkg-0.1.4.tar.gz
Algorithm Hash digest
SHA256 b0a6b007d14930ae72389af8e210e8a0f64808eafc8f0de986da7a46fa9f0126
MD5 399aeaf531c0246931d15466ecaf692a
BLAKE2b-256 f051b9eec5d95a49a1e9ba66dd5ae5a61a973d34143ca8906867bc09dc49ab29

See more details on using hashes here.

File details

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

File metadata

  • Download URL: trackerpkg-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 4.0 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.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 6ab03ca6c27131176e310bc02dc72184f5f1851ee65ac76c5f8f1ce0e9ea78dc
MD5 e7ad5dfe90d66ac866a803a1c95a28e2
BLAKE2b-256 2e892fad55f029b5d80a4ccc0b65a4a44ecd3919cac5070c69ed21e2cd1aed8a

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