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.0-cp313-cp313-macosx_11_0_arm64.whl (382.5 kB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

telegraf_client-0.1.0-cp312-cp312-macosx_11_0_arm64.whl (382.8 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

File details

Details for the file telegraf_client-0.1.0-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for telegraf_client-0.1.0-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 a7c938ebbe618ec041840ffc2d074966ffd9c8c607278391af66974381caed8a
MD5 b2b0ba239db9e2584f54a30c4a183bf3
BLAKE2b-256 8fa1885a6c60a769ff5c1f6c71556dd1baf2134428120279a86846b9c8e9d29b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for telegraf_client-0.1.0-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 7ad5443873493d65b4e561b4b6621d8275b72a82eddfff8cee97e2a9a3a04810
MD5 61dd659d3667b0288852c774933002d8
BLAKE2b-256 995b0552b9091ad1068939740b2a96812c30472a010e9428533a98692874bac5

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