Skip to main content

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


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

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

telegraf_client-0.1.34-cp312-cp312-manylinux_2_36_x86_64.whl (431.0 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.36+ x86-64

telegraf_client-0.1.34-cp312-cp312-manylinux_2_36_aarch64.whl (418.3 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.36+ ARM64

telegraf_client-0.1.34-cp312-cp312-macosx_11_0_arm64.whl (378.2 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

telegraf_client-0.1.34-cp312-cp312-macosx_10_12_x86_64.whl (383.8 kB view details)

Uploaded CPython 3.12macOS 10.12+ x86-64

File details

Details for the file telegraf_client-0.1.34-cp312-cp312-manylinux_2_36_x86_64.whl.

File metadata

File hashes

Hashes for telegraf_client-0.1.34-cp312-cp312-manylinux_2_36_x86_64.whl
Algorithm Hash digest
SHA256 10e529d21329e9fd97148c6b157fbc6450528f1971eaf59e23eddc78c935b9c7
MD5 d2bec558d8fb8c99fb7c76f090803cfe
BLAKE2b-256 bcd1add5999fc9665166887afe709e72e498bab85ed507e95171c6d1e4314400

See more details on using hashes here.

File details

Details for the file telegraf_client-0.1.34-cp312-cp312-manylinux_2_36_aarch64.whl.

File metadata

File hashes

Hashes for telegraf_client-0.1.34-cp312-cp312-manylinux_2_36_aarch64.whl
Algorithm Hash digest
SHA256 6dc565c8bbfacbd48f397adedfe388f5188b4181f697a2be95368b0184c55a91
MD5 5373ca4d0255d28584e0987cdc73c763
BLAKE2b-256 dde6f75261ee15d00ddd5ea03228d7c89bc2200d8aa8f992cb80555a22ef4014

See more details on using hashes here.

File details

Details for the file telegraf_client-0.1.34-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for telegraf_client-0.1.34-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 fad0a5bf3437cad82f2566b3c88455c9ada7e313dc807790c20ea1b118dfcad4
MD5 db6069bc1f51d71df940d2deb04cb648
BLAKE2b-256 8a5ab80139ace16464f2984349a4d9d512b1c4af4fea2233dc94af2eded26494

See more details on using hashes here.

File details

Details for the file telegraf_client-0.1.34-cp312-cp312-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for telegraf_client-0.1.34-cp312-cp312-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 8913be28411664a17175dab1fbc7da1ed2836dd2419e228c54bbb227e3a6149f
MD5 b771108c027a554a2d89c2607115cd58
BLAKE2b-256 9887cf03f69a20b2d33573ec77224ff88448c4840ff95cba1e0c831555115da8

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