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

Uploaded Python 3

File details

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

File metadata

  • Download URL: trackerpkg-0.1.6.tar.gz
  • Upload date:
  • Size: 4.2 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.6.tar.gz
Algorithm Hash digest
SHA256 f2e61dcfa7b9600eab1e463e565a7f9d1f03d0d8d003b238e16ea7a83c6953fe
MD5 5fe5894ba0314c7d62bc22d6fd6a6cf0
BLAKE2b-256 6c17f604f26195c3ed7876007c98603b2a8be6706a47d09e8a2c78c135e41f8b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: trackerpkg-0.1.6-py3-none-any.whl
  • Upload date:
  • Size: 4.2 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.6-py3-none-any.whl
Algorithm Hash digest
SHA256 3f74b74afc9efb6621323cb7dd5a6c32c28fd739ace5de7da156cae52efff3cb
MD5 13deeba194fec405d29f6b82402568dd
BLAKE2b-256 a50bc8d45bc6bb25181bafef6bf6c849d8b4352d4350091f6e2304632509b2a8

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