Skip to main content

Latitude Telemetry for Python

Reason this release was yanked:

Deprecated version. Use 2.x or future 3.x versions

Project description

Latitude Telemetry for Python

pip install latitude-telemetry

Requires Python 3.11 through 3.14.

Go to the documentation to learn more.

Usage

from latitude_telemetry import Instrumentors, Telemetry, TelemetryOptions
from openai import OpenAI

telemetry = Telemetry("my-api-key", TelemetryOptions(
    instrumentors=[
        Instrumentors.OpenAI,
    ],
))

openai = OpenAI(api_key="my-api-key")
openai.chat.completions.create(
    model="gpt-4o-mini",
    messages=[{"role": "user", "content": "Hello, I'm being instrumented!"}],
)

Find more examples.

Development

Requires uv 0.5.10 or higher.

  • Install dependencies: uv venv && uv sync --all-extras --all-groups
  • Add [dev] dependencies: uv add [--dev] <package>
  • Run linter: uv run scripts/lint.py
  • Run formatter: uv run scripts/format.py
  • Run tests: uv run scripts/test.py
  • Build package: uv build
  • Publish package: uv publish

License

The Telemetry is licensed under the LGPL-3.0 License - read the LICENSE file for details.

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

latitude_telemetry-3.0.0.tar.gz (162.5 kB view details)

Uploaded Source

Built Distribution

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

latitude_telemetry-3.0.0-py3-none-any.whl (26.3 kB view details)

Uploaded Python 3

File details

Details for the file latitude_telemetry-3.0.0.tar.gz.

File metadata

  • Download URL: latitude_telemetry-3.0.0.tar.gz
  • Upload date:
  • Size: 162.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.17

File hashes

Hashes for latitude_telemetry-3.0.0.tar.gz
Algorithm Hash digest
SHA256 5221e8cafb49c97b1551d34cf5c1a58ca3ad17eb79555bfcfa95bb991023f592
MD5 9938f717192b60fd9235de7f5bb8c432
BLAKE2b-256 4e3d6b05e3a8c951a7831bfd63c2c0e9e55530ab1ea4d8db24a379d2e796cd34

See more details on using hashes here.

File details

Details for the file latitude_telemetry-3.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for latitude_telemetry-3.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9349c49f12cefa7a3d6619e0df8ede4402fd866da0db9c40faa26a321d0f72ce
MD5 aadb1b241e704d38e196acd3939b9c9c
BLAKE2b-256 92f429a4c732a66bfd98a8378b17a18cdcdd1faf84e54b7c53aa2ce578bc45c0

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