Packages
Detects test pollution—failures caused by side effects from other tests—by bisecting your test suite to isolate the pair of tests that interact.
Detoxify classifies text comments for toxic content using pre-trained transformer models, returning confidence scores across categories like toxicity, obscenity, threats, and identity-based attacks.
However, treat it as a research tool or first-pass filter rather than a production content moderation system—the documentation warns of bias limitations and…
A Python server SDK for DevCycle feature management that evaluates feature flags and variables through local bucketing, integrating with the DevCycle API and supporting OpenFeature.
However, verify the license terms before use (currently unclear in the metadata), and be aware that OpenFeature support is explicitly alpha and may have rough edges.
Fetches Apple's DeveloperDiskImage files (legacy DMG format and newer personalized/cryptex variants) from a GitHub repository and provides a Python API to access them programmatically.
Parses user agent strings and client hints to detect the browser, operating system, device type, brand, and model of client requests.
However, verify the actual license in the repository before use in proprietary or restricted-license contexts, since the package metadata declares no license.
Provides Python libraries for parsing and working with devicetree files, primarily for use with the Zephyr RTOS project.
No, not for new projects.
Send events and files to Devo, query data via REST API, and manage deferred tasks from Python code.
Install it if you need to integrate Devo analytics into a Python application.
Python client library for the devolo Home Control API, enabling communication with devolo Home Control Central Units via websockets and cloud connectivity.
However, the GPL-3.0-or-later copyleft license restricts use in proprietary applications, and the reverse-engineered nature means updates to devolo services may…
Provides a Python API to communicate with devolo PLC (powerline communication) devices over the network using protobuf-formatted messages, supporting both synchronous and asynchronous operations.
devpi-client is a command-line tool for uploading, testing, and installing Python packages from devpi-server indexes, typically used to manage private package repositories and CI/CD workflows.
Install it if you are running devpi-server and need a command-line interface for package uploads, testing, and index management.
Provides shared utility functions for devpi-server and devpi-client, including version handling, tar extraction safety, and legacy package version support.
Install it if you are building on the devpi ecosystem or need its specific version-handling and tar-extraction utilities; otherwise, it is primarily useful as a…
Provides a `debug()` function that prints variables with their names, types, and values in a readable format, replacing ad-hoc print statements during development.
Translates human hand motion to robot hand motion through retargeting optimizers, supporting both video-based and pose-dataset-based workflows.
However, the aging maintenance status and reliance on compiled dependencies like nlopt mean you should verify platform compatibility and be prepared to troubleshoot…
Transfers tabular data between Google Spreadsheets and DataFrames, enabling bidirectional sync of spreadsheet data for analysis and processing.
Python client library for the Dhan trading API, enabling automated order placement, position management, live market data streaming, and historical data retrieval for equity and derivatives trading.
However, v2.2.0 contains breaking changes from v2.1.0, so verify compatibility with your codebase or pin to v2.0.2 if stability is critical.
Sends messages and embeds to Discord channels via webhooks, with automatic retries, timeouts, and support for custom avatars and rich formatting.
Diagrams lets you draw cloud system architecture diagrams programmatically in Python, supporting major cloud providers like AWS, Azure, GCP, Kubernetes, and on-premises infrastructure.
Install it if you need to document or prototype cloud architectures programmatically.
DiastaticMalt performs source-to-source transformations and operator overloading in Python, including overloading of built-in keywords, to convert regular Python code into alternative forms suited for specific purposes like program capture.
diceware generates memorable passphrases by randomly selecting words from wordlists and concatenating them, following the diceware method for creating cryptographically sound passwords.
Install it if you need memorable, high-entropy passphrases for personal accounts or system administration; review the license if you plan to integrate it into…
Converts DICOM medical imaging files to NIfTI format, supporting anatomical CT/MR scans and vendor-specific 4D imaging (fMRI, DTI) with optional resampling and reorientation.
A Python client library for interacting with DICOMweb RESTful services, enabling programmatic access to medical imaging data stored on remote servers.
Install it if you're building healthcare or medical imaging applications that need to communicate with DICOMweb-compliant servers.
Generates consistent hashes for Python dictionaries and supports hashing Pandas, Polars, Numba, and NumPy objects using default hash or cryptographic algorithms like SHA256.
Recursively merges one dictionary into another, updating nested keys while preserving unmodified branches.
dict2css converts Python dictionaries to CSS stylesheets and parses CSS back into dictionaries, with an API modeled on json and toml modules.
Converts Python dictionaries into XML strings with configurable formatting, wrapping, and tag behavior.
Install it if you need straightforward dictionary-to-XML conversion.
Dictdiffer computes and applies diffs and patches to Python dictionaries, letting you identify what changed between two dicts and reconstruct one from another.
Install it if you need to diff or patch dictionaries.
dictknife provides utility functions for manipulating, querying, and transforming Python dictionaries, with optional support for loading data from files and command-line operations.
However, the aging maintenance status (405 days since last release) and sparse documentation suggest checking whether the specific dict operations you need are…
Dictor provides a simplified interface for navigating and extracting values from nested dictionaries and JSON structures using dot-separated path notation, with built-in fallback handling for missing keys.
Converts Python dictionaries and other native data types into valid XML strings, handling nested structures, type attributes, and custom root elements.
Converts Python dictionaries and native data types into valid XML strings with no external runtime dependencies.
However, the GPL-2.0 copyleft license restricts use in proprietary projects, and the package's abandonment since 2022-08-13 means no future maintenance or Python…
Compares test coverage reports against git diffs to identify which new or modified lines lack test coverage, and optionally reports code quality violations in those same lines.
Provides diff, match, and patch algorithms for comparing plain text, finding fuzzy matches, and applying patches—originally built for Google Docs and now maintained as a Python port of Google's Diff Match and Patch library.
Install it if you need robust diff, match, or patch operations for plain text—it's a well-established tool with low friction and proven algorithms.
Parses git diff and .diff files to extract structured metadata about changed files, including filenames, filepaths, source and target hashes, and change type.
However, maintenance is dormant—no updates since 2024-09-09—so evaluate whether the feature set meets your needs and whether you can maintain a fork if required.
Generates Diffie-Hellman key exchange parameters and performs shared secret computation using cryptographically secure operations with Rust-backed performance.
However, note that the project shows aging maintenance (last release 533 days ago) and prebuilt wheels are limited to Linux x64 and Windows x64; other platforms…
DiffQ performs differentiable quantization of PyTorch models using pseudo quantization noise, automatically tuning the number of bits per weight to balance model size and accuracy.
Diffrax provides numerical solvers for ordinary, stochastic, and controlled differential equations in JAX, with automatic differentiation and GPU acceleration built in.
Diffusers provides pretrained diffusion models and pipelines for generating images, audio, and 3D structures, along with interchangeable schedulers and model components for building custom diffusion systems.
Install it if you need to work with diffusion models.
A Python SDK for building plugins that extend Dify with tools, datasources, triggers, and LLM providers.
Dijkstar implements Dijkstra's shortest-path algorithm and A* search, finding optimal paths in weighted graphs with optional cost and heuristic functions.
Install it if you need Dijkstra or A* pathfinding in a graph.
A pure-Python implementation of ML-DSA (FIPS 204) and CRYSTALS-Dilithium post-quantum digital signature algorithms for educational study and experimentation.
However, do not install for production cryptographic use—the package explicitly warns against this and is not designed to resist side-channel attacks.