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

Uploaded CPython 3.12manylinux: glibc 2.34+ x86-64

telegraf_client-0.1.2-cp312-cp312-macosx_11_0_arm64.whl (383.0 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

File details

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

File metadata

File hashes

Hashes for telegraf_client-0.1.2-cp312-cp312-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 40f429392101490fd9990fecec1f9e4c90a853e8129928b10fbbe321597a2e21
MD5 7a33ee61ffeaef740fd9227e29713364
BLAKE2b-256 13aecc168650c79628fb1a61783d6312472b11013cbdb840d8e02be535070615

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for telegraf_client-0.1.2-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 105fc2f6db48a093fb5bb55ace51dd34645cb31440a8ea0f82f58bd85badde8e
MD5 8cfb55a30dfb4a3e94bf8539f34c7806
BLAKE2b-256 a3f08e565ee58732d69766d5cd0ee54e0124bf3832ebff0b995e203de0b9807e

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