Skip to main content

Python Statsd Client

:construction: WIP :construction:

This is an implementation of a Statsd client for Python.

For usage see documentation.

Motivation

I was looking for a generic Statsd client with tags support to interact with various statsd servers for an application that I distribute but don't operate, so there could be high variability in the statsd implementations used (I know one uses Telegraf and InfluxDB and one Datadog and they both have different tag formats).

  • pystatsd exists and works, but it intentionally does not support tags.
  • The docs point to an alternative supporting tags, but at the time of writing the repository leads to a 404 for me.
  • There a are a few more available on PyPi that likely work, but most of the ones I've checked haven't been updated in a while, are not documented and don't support tags.
  • datadogpy could be a solid solution, but I'd rather avoind pulling the full Datadog client library in projects where I don't use datadog. It also exposes some non standard metric types, and while I can always not use them I'd prefer a generic solution (ignoring tags which, while not standardized, are supported by most statsd servers).

Development

  • All development dependencies are defined in requirements-dev.txt.
  • All tests and linting steps are defined in tox.ini, you can run the all the checks with tox.
  • Code is expected to be formatted with black and isort, you can run the formatters with tox -e fmt.

Metadata

Release files for statsd-python 0.6.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for statsd-python 0.6.1
File Size Uploaded Provenance Actions
statsd_python-0.6.1.tar.gz 515.6 kB Without provenance Details for statsd_python-0.6.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for statsd-python 0.6.1
File Interpreter ABI Platform Actions
statsd_python-0.6.1-py3-none-any.whl Python 3 none any Details for statsd_python-0.6.1-py3-none-any.whl

Total release size: 526.6 kB

Release files / statsd_python-0.6.1.tar.gz

Download URL statsd_python-0.6.1.tar.gz
Size 515.6 kB
Tags Source
SHA-256 checksum
How to use checksums
aae1e87565745ac8f1ae5ffa3286648c5c4c8db6c65144b56165bf857612d40d
BLAKE2b-256 checksum
How to use checksums
d4c49f8726660c7a83c97cf289dfadcf513e90555f90caa3d2e772e65fb0af2b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.2

Release files / statsd_python-0.6.1-py3-none-any.whl

Download URL statsd_python-0.6.1-py3-none-any.whl
Size 11.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
30f84925a7c71792d56f738c5186c142e40ed5274b4257fb9b1e5d59708a49bd
BLAKE2b-256 checksum
How to use checksums
9cee4987147e502885f37f9b9a91578dac640f83e22e89ed1765d868b6b45408
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.2

Security for statsd-python 0.6.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page