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

Uploaded CPython 3.12Windows x86-64

telegraf_client-0.1.3-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.3-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.3-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for telegraf_client-0.1.3-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 acac08fe61d5c8b91ed177c5de9faa294da50b8f364f6752aa879231d5cfefc0
MD5 1c4b80395626b1a6f63770758808dede
BLAKE2b-256 d26f48ee0d04c14243d6ceb2253aecaa1a28937957eb3276712d925e3ae00c99

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for telegraf_client-0.1.3-cp312-cp312-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 d67bf0df196dc05371e216e74a9f3269c6c57841f4ac7e62ff618399c2940d1a
MD5 91b3b74dea97e31616498a3932a8ab16
BLAKE2b-256 dda9c767c99248f80a33530f466205435d578a8f2efbf6d2f3ab2e02d3eb52f9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for telegraf_client-0.1.3-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 c7722a519bc3e2fa56c7d73c5d28aea7eeaa9c6b19f69c48fec0a157895537d9
MD5 a21b21319d78022ff59fb9616329b31a
BLAKE2b-256 f8c89087b900715996a33ebcd19c326c2de552e8fda33e5107e6d16c045ddcf2

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