Latitude Telemetry for Python
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
Release history Release notifications | RSS feed
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.0b0.tar.gz
(162.6 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file latitude_telemetry-3.0.0b0.tar.gz.
File metadata
- Download URL: latitude_telemetry-3.0.0b0.tar.gz
- Upload date:
- Size: 162.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
02c51cdd163f6be4deadb17d05663b55c107ce12b90d04edf56cbafea0661f77
|
|
| MD5 |
983e21b4bab4c7325ca4f08894c622b6
|
|
| BLAKE2b-256 |
7a7056a5d3f7f648873d6a272bc2f46c99463e0325c5979324796960264ed44e
|
File details
Details for the file latitude_telemetry-3.0.0b0-py3-none-any.whl.
File metadata
- Download URL: latitude_telemetry-3.0.0b0-py3-none-any.whl
- Upload date:
- Size: 26.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bec384195e1fced3eeca3409796c9657209ae21c26250b5539e6ae17cbbd0825
|
|
| MD5 |
413f723c45248132759c5e0e51604409
|
|
| BLAKE2b-256 |
dc73a49ad1e08b19761a5dd6d1dde18a36a6da502d410a55c27cb76518563013
|