dt
Dynatrace API Python client
Decision gist · record as of 2026-08-14
Yes, if you are actively using Dynatrace and need programmatic access to its APIs. The package has low install friction, permissive licensing, and no known vulnerabilities. However, note the aging maintenance status (288 days since last release) — verify that its API coverage and compatibility align with your Dynatrace version before committing to it for production automation.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires a valid Dynatrace environment URL and API token to authenticate with the REST API.
- Low install friction with a single runtime dependency (requests).
- Last commit was 2025-10-30 and the project shows aging maintenance status with 288 days since the latest release, though it remains unarchived and has 70 repository stars.
License · maintenance · safety
permissive license (permissive) — Licensed under Apache Software License (permissive), which permits commercial and private use with minimal restrictions.
last release 2025-10-30 (288 days) · last repo commit 2025-10-30 · 70 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 90,661 downloads/mo, #13,569 on PyPI
Alternatives
Verify before relying
pip install dt
from dt import Dynatrace
dt = Dynatrace("environment_url", "api_token")
for entity in dt.entities.list('type("HOST")', fields="properties.memoryTotal"):
print(entity.entity_id, entity.display_name)- Whether the aging maintenance status (288 days since latest release) affects API compatibility with recent Dynatrace versions.
- Coverage level for newer Dynatrace API endpoints not listed in the implementation progress table.
- Whether the package's type hints and ease-of-use claims are validated for all supported Python versions (3.6 through 3.14).
What it is and what it does
dt is a Python wrapper around the Dynatrace REST API designed to make programmatic access to Dynatrace monitoring data straightforward. It provides typed interfaces to query entities, retrieve metrics, manage API tokens, configure settings, and interact with ActiveGates and other infrastructure components. The client handles common HTTP concerns like retries, rate-limit backoff, and custom timeouts, and includes bindings for both Environment API V2 and V1 endpoints.
The package is intended for developers who need to automate Dynatrace operations, extract monitoring data for external analysis, or build workflows. It abstracts away raw HTTP details and provides Python objects with sensible defaults, making it practical for quick scripts and integration work. The implementation covers most major Dynatrace APIs, though some endpoints remain partially implemented or unimplemented.
Use it for
- Query host metrics and entity properties to build custom dashboards or export monitoring data for analysis.
- Automate API token lifecycle management, including creation, rotation, and cleanup of unused tokens.
- Retrieve and manage Dynatrace settings, anomaly detection rules, and credential vault entries programmatically.
- Monitor ActiveGate status and configuration across your Dynatrace infrastructure.
- Extract problem and event data for integration with external incident management or alerting systems.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you are actively using Dynatrace and need programmatic access to its APIs.
The package has low install friction, permissive licensing, and no known vulnerabilities. However, note the aging maintenance status (288 days since last release) — verify that its API coverage and compatibility align with your Dynatrace version before committing to it for production automation.
Install
dt on PyPI
Before you install
Low install friction with a single runtime dependency (requests). Last commit was 2025-10-30 and the project shows aging maintenance status with 288 days since the latest release, though it remains unarchived and has 70 repository stars.
Requires a valid Dynatrace environment URL and API token to authenticate with the REST API.
License in practice
Licensed under Apache Software License (permissive), which permits commercial and private use with minimal restrictions.
Quickstart
pip install dt
from dt import Dynatrace
dt = Dynatrace("environment_url", "api_token")
for entity in dt.entities.list('type("HOST")', fields="properties.memoryTotal"):
print(entity.entity_id, entity.display_name)
Verify before relying
- Whether the aging maintenance status (288 days since latest release) affects API compatibility with recent Dynatrace versions.
- Coverage level for newer Dynatrace API endpoints not listed in the implementation progress table.
- Whether the package's type hints and ease-of-use claims are validated for all supported Python versions (3.6 through 3.14).
Package facts
| License | permissive license permissive |
| Python support | Supports the current Python release >=3.6 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 1 packagerequests |
| Maintenance | Aging 288 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 90,661 / month, #13,569 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI ApprovedLicense :: OSI Approved :: Apache Software LicenseOperating System :: MacOSOperating System :: Microsoft :: WindowsOperating System :: POSIX :: LinuxProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Programming Language :: Python :: Implementation :: CPythonTopic :: Software Development |
Evidence: dt-1.2.1-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “dynatrace api client”
- dtA Python client for the Dynatrace REST API with type hints and a…
- oneagent-sdkExtends Dynatrace monitoring into Python applications by providing…
- autodynatraceAutodynatrace wraps the Dynatrace OneAgent SDK to automatically…
Give your agent the search over MCP, or paste the wish link into any chat.
More Software Development packages
Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.
NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.
Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.
Install it if you are building CLIs in Python.
Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.
See also oneagent-sdk · autodynatrace · prelude-python-sdk · prometheus-api-client · glean-api-client · datadog · appdynamics · signalfx · pysignalclirestapi · prometheus-client