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.4-cp312-cp312-win_amd64.whl (275.2 kB view details)

Uploaded CPython 3.12Windows x86-64

telegraf_client-0.1.4-cp312-cp312-manylinux_2_34_x86_64.whl (436.3 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.34+ x86-64

telegraf_client-0.1.4-cp312-cp312-macosx_11_0_arm64.whl (382.9 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

File details

Details for the file telegraf_client-0.1.4-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for telegraf_client-0.1.4-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 88a4f8861a0beaa235afec09fef67a27c8289ba88e10d66f645c9e0a2ef86ca3
MD5 c7b74dff9d62a6fbaf9a57dc16cac803
BLAKE2b-256 0cbb7be5ae03a3a4e389882255427ae9c287d195711028ee2bee42b33d81a092

See more details on using hashes here.

File details

Details for the file telegraf_client-0.1.4-cp312-cp312-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for telegraf_client-0.1.4-cp312-cp312-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 f06a38e219fc37a8c16d20e54a45d88321bf13aaf9982058a00172f8d984de72
MD5 32e5c27a0e6eed64331331df71f40f44
BLAKE2b-256 262d5c6b5eecc39d66522bd4ed47f79f1a61d6eb057c04f77801c0a18cfe7fb3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for telegraf_client-0.1.4-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 0d8ff1fe1f09b44c928a05f24128425a909e151b0a8948fd9223a56c3b54af09
MD5 3a09ea1d48c909670a29c2417cf33b94
BLAKE2b-256 ef3a56a2fe4ba276ddda9ecffdd1ed7b3fd3ea9915afab1fa903fbcc6ffbb39b

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