Metadata-Version: 2.4
Name: telegraf-client
Version: 0.1.33
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Rust
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: System :: Monitoring
Requires-Dist: maturin>=1.9.6
Requires-Dist: requests>=2.32.4
Requires-Dist: twine==6.0.1
Requires-Dist: pytest ; extra == 'dev'
Provides-Extra: dev
License-File: LICENSE
Summary: Python bindings for the telegraf Rust client
Keywords: telegraf,metrics,monitoring,rust,python
Author: telegraf-client contributors
License: MIT
Requires-Python: >=3.12, <3.13
Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
Project-URL: Homepage, https://github.com/KidziaK/telegraf_client
Project-URL: Repository, https://github.com/KidziaK/telegraf_client

# telegraf-client

Python bindings for the Rust telegraf client library.

## Installation

```bash
pip install telegraf-client
```

## Usage

```python
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

```bash
uv sync
uv run pytest
```

