Datadog Checks Base
Overview
This package provides the Python bits needed by the Datadog Agent to run Agent-based Integrations (also known as Checks).
This package is used in two scenarios:
-
When used from within the Python interpreter embedded in the Agent, it provides all the base classes and utilities needed by any Check.
-
When installed in a local environment with a regular Python interpreter, it mocks the presence of a running Agent so checks can work in standalone mode, mostly useful for testing and development.
Please refer to the docs for details.
Installation
Checks from integrations-core already use the toolkit in a transparent way when you run the tests but you can install the toolkit locally and play with it:
pip install datadog-checks-base
Performance Optimizations
We strive to balance lean resource usage with a "batteries included" user experience. We employ a few tricks to achieve this.
One of them is the lazy-loader library that allows us to expose a nice API (simple, short imports) without the baseline memory overhead of importing everything all the time.
Another trick is to import some of our dependencies inside functions that use them instead of the more conventional import section at the top of the file. We rely on this the most in the AgentCheck base class.
Troubleshooting
Need help? Contact Datadog support.
Metadata
Release files for datadog-checks-base 38.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| datadog_checks_base-38.4.0-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Release files / datadog_checks_base-38.4.0-py2.py3-none-any.whl
| Download URL | datadog_checks_base-38.4.0-py2.py3-none-any.whl |
|---|---|
| Size | 331.6 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
b4691b4d737c773bc330405284e22c4d69b254198bdb60b36cc2cda7a29e6ba3
|
|
BLAKE2b-256 checksum How to use checksums |
4935af3321c3f90c04174dd3d8fd62be7519791fe8d677c3db89a7f7628b397d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 1, 2026.
Transparency log