statsd-python
What it is and what it does
statsd-python is a client library for sending application metrics to Statsd servers. It was built to fill a gap where existing Statsd clients either lacked tag support or were tightly coupled to specific vendors. The library aims to be generic and work across different Statsd implementations, each of which may use different tag formats.
The package has no runtime dependencies and supports Python 3.6 and later. It is currently in Beta and marked as a work-in-progress, meaning some features may still be under development or not fully documented. The repository is not actively maintained (last release was in June 2023), though the code remains available and the repository is not archived.
Use it for:
- Instrument a distributed application with metrics that need to work across multiple Statsd server implementations without vendor lock-in
- Add tag-based metrics to applications where the Statsd backend is not known at development time
- Send application performance metrics to monitoring stacks that support Statsd with tag support
- Replace a heavier client library when you only need generic Statsd metrics, not vendor-specific features
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
A Python client library for sending metrics to Statsd servers, with support for tags to work across different Statsd implementations.
Yes, if you need generic Statsd client with tag support and can accept a dormant package. The library has no dependencies, works with Python 3.6 and later, and carries no known vulnerabilities. However, be aware it is in Beta, marked WIP, and has not been updated since June 2023—suitable for stable use cases but not for projects requiring active maintenance or frequent feature updates.
Install
statsd-python on PyPI
pip
pip install statsd-pythonuv
uv add statsd-pythonpoetry
poetry add statsd-pythonInstalling statsd-python
Before you install
Low install friction with no runtime dependencies. The package is in Beta status and dormant—last release was in June 2023, though the repository remains active with a recent commit in September 2024. Suitable for projects that can tolerate infrequent updates.
License in practice
MIT license (permissive) means you can use, modify, and distribute this package freely in commercial and private projects with minimal restrictions.
Quickstart
pip install statsd-python
from statsd_python import StatsdClient
client = StatsdClient()
client.gauge('metric_name', value, tags={'key': 'value'})
Verify before relying
- Whether tag format compatibility with Telegraf, InfluxDB, and Datadog is fully tested and documented
- Current state of the WIP (work-in-progress) status and what features remain incomplete
- How the package handles connection failures or unavailable Statsd servers
- Default host and port configuration for the StatsdClient
Package facts
| License | MIT (permissive) |
| Python support | supports the current Python release (>=3.6) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | none |
| Maintenance | dormant — 1,158 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 394,516/month — #6,991 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: statsd_python-0.6.1-py3-none-any.whl
Keywords: statsd, metrics
Tags
More Libraries packages
urllib3 is an HTTP client library that provides…
permissive · top 100 on PyPI
requestsRequests is a Python HTTP library that…
permissive · top 100 on PyPI
pluggyPluggy provides a plugin system that lets you…
permissive · top 100 on PyPI
python-dateutilProvides parsing, arithmetic, and recurrence…
permissive · top 100 on PyPI
sixSix provides utility functions to write Python…
permissive · top 100 on PyPI
pytestpytest is a testing framework that lets you…
permissive · top 100 on PyPI
statshogA Python client for sending metrics to StatsD…
permissive · top 5,000 on PyPI
statsdA Python client library that sends metrics to a…
permissive · top 5,000 on PyPI
statsd-tagsA Python client for sending metrics to…
permissive · top 15,000 on PyPI
datadogProvides a Python client library to send…
permissive · top 1,000 on PyPI
django-statsd-mozillaProvides Django integration with statsd for…
permissive · top 15,000 on PyPI
aiodogstatsdAn asyncio-based client for sending metrics to…
permissive · top 15,000 on PyPI
python-statsdA client library for sending metrics to Etsy's…
permissive · top 15,000 on PyPI
Flask-DatadogFlask-Datadog provides a Flask extension to…
permissive · top 15,000 on PyPI
graphytegraphyte sends metrics to a Graphite/Carbon…
permissive · top 15,000 on PyPI
datadog-loggerSends Python log messages to Datadog as Events…
permissive · top 15,000 on PyPI