--- id: dt version: "1.2.1" license: unclear license_treatment: permissive maintenance: aging --- # dt — Dynatrace API Python client License: permissive · Maintenance: aging · Downloads: 90.7K/mo ## 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 above — verify before relying. A Python client for the Dynatrace REST API with type hints and a focus on ease of use for exploring the API and writing quick scripts. 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 pip install dt uv add dt poetry add dt ## Installing dt 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. 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) Requires a valid Dynatrace environment URL and API token to authenticate with the REST API. 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: not declared (permissive) - Python support: supports_current - Install friction: low - Maintenance: aging - Downloads: 90.7K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags dynatrace api client, dynatrace python sdk, monitoring api integration, dynatrace rest client, application performance monitoring api, apm api client python, api-client, monitoring [View on SkillFed](https://skillfed.io/packages/dt) · [View on PyPI](https://pypi.org/project/dt/)