Python bindings for the telegraf Rust client
Project description
telegraf-client
Python bindings for the Rust telegraf client library.
Installation
pip install telegraf-client
Usage
import telegraf_client
client = telegraf_client.Client("udp://localhost:8089")
point = telegraf_client.Point(
measurement="cpu",
tags={"host": "server-01"},
fields={"usage": 75.5}
)
client.write_point(point)
client.close()
Development
uv sync
uv run pytest
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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distributions
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 telegraf_client-0.1.0-cp313-cp313-macosx_11_0_arm64.whl.
File metadata
- Download URL: telegraf_client-0.1.0-cp313-cp313-macosx_11_0_arm64.whl
- Upload date:
- Size: 382.5 kB
- Tags: CPython 3.13, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a7c938ebbe618ec041840ffc2d074966ffd9c8c607278391af66974381caed8a
|
|
| MD5 |
b2b0ba239db9e2584f54a30c4a183bf3
|
|
| BLAKE2b-256 |
8fa1885a6c60a769ff5c1f6c71556dd1baf2134428120279a86846b9c8e9d29b
|
File details
Details for the file telegraf_client-0.1.0-cp312-cp312-macosx_11_0_arm64.whl.
File metadata
- Download URL: telegraf_client-0.1.0-cp312-cp312-macosx_11_0_arm64.whl
- Upload date:
- Size: 382.8 kB
- Tags: CPython 3.12, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7ad5443873493d65b4e561b4b6621d8275b72a82eddfff8cee97e2a9a3a04810
|
|
| MD5 |
61dd659d3667b0288852c774933002d8
|
|
| BLAKE2b-256 |
995b0552b9091ad1068939740b2a96812c30472a010e9428533a98692874bac5
|