skillfed

statsd-python

statsd-python v0.6.1 394.5K downloads/30d#6,991 on PyPI3
Permissive license MIT DORMANT released

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

uv

uv add statsd-python

poetry

poetry add statsd-python

Installing 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

Development Status :: 4 - BetaIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseNatural Language :: EnglishOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Software Development :: LibrariesTopic :: Software Development :: Libraries :: Python ModulesTyping :: Typed

Tags

statsd client pythonsend metrics to statsdstatsd tags supportmetrics collection librarystatsd monitoring clientgeneric statsd implementationapplication metrics
metrics-collectionstatsd-clientmonitoring

More Libraries packages