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.33-cp312-cp312-manylinux_2_36_x86_64.whl (436.4 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.36+ x86-64

telegraf_client-0.1.33-cp312-cp312-manylinux_2_36_aarch64.whl (423.1 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.36+ ARM64

telegraf_client-0.1.33-cp312-cp312-macosx_11_0_arm64.whl (383.1 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

telegraf_client-0.1.33-cp312-cp312-macosx_10_12_x86_64.whl (388.8 kB view details)

Uploaded CPython 3.12macOS 10.12+ x86-64

File details

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

File metadata

File hashes

Hashes for telegraf_client-0.1.33-cp312-cp312-manylinux_2_36_x86_64.whl
Algorithm Hash digest
SHA256 090d26084485f866b5e61d27696e2024412c0abdb87c7205885ca9cfa0530429
MD5 93c2a4abbff0fae51ce9d7b20ef9d8b9
BLAKE2b-256 fc5ee022b20dd581ee94ceac52338eeecd6bac8eb5e8c0c40a57865402b3e576

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for telegraf_client-0.1.33-cp312-cp312-manylinux_2_36_aarch64.whl
Algorithm Hash digest
SHA256 fe8ba60f54d3a452b76d6dd63ca105f5cd42986df3c8acdcfb1aa2ce8aa0c2b9
MD5 a9dc34c2e808b40a39359d87ff4b9bf1
BLAKE2b-256 c5191ca2ebb53289964cccdf98c8650899fb911be89e1be30a1c0e2e45a8abe1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for telegraf_client-0.1.33-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 6538b11a710f9f8d90bebc615390201232988a86054d6e519ae65f5a478a5df4
MD5 490847f91f1570a5c1481dc9fcaaeb0a
BLAKE2b-256 73592653ba577a88332ff3b0e2906f2ab8c9c02eb7c7d518724def5257d1385d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for telegraf_client-0.1.33-cp312-cp312-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 021fb0c9604a15f5ae08019607d80e950a5a9a642cc6dd7c062b9da0bb114265
MD5 00c18a48a1ff83f707fc5acda1fcf0e0
BLAKE2b-256 04d7dced2bb078fa76c859a3fcd228a8c0f9a35cc8e171eaf982691b2133dec2

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