Packages
dill extends Python's pickle module to serialize and deserialize a much wider range of Python objects, including functions, lambdas, classes, and interpreter sessions, to byte streams for storage or network transmission.
dimod provides classes and interfaces for defining and solving binary quadratic models (BQMs), including Ising and QUBO formulations, along with reference samplers and abstract base classes for building custom solvers.
Install it if you need a standard interface for BQM solvers or plan to use quantum annealing tools.
Python SDK for building DingTalk chatbots and event handlers using Stream Mode, which connects to DingTalk's messaging and callback APIs via WebSocket.
The main gotcha is that you must obtain DingTalk credentials and understand that Stream Mode requires a persistent WebSocket connection rather than stateless HTTP…
Computes Hartigan's dip test statistic and p-value to detect multimodality in a sample, measuring how far an empirical distribution deviates from unimodality.
DIPY is a Python library for analyzing diffusion MRI data, providing tools for tractography, fiber tracking, registration, and microstructural analysis of brain diffusion imaging.
Solves unconstrained and linearly constrained nonlinear minimization problems without computing derivatives, using direct search methods that work well when objective function evaluations are expensive or noisy.
Asynchronous Python client for controlling and monitoring DirecTV receivers via the SHEF protocol over a network connection.
However, verify first that the SHEF protocol implementation works with your receiver's firmware version, and be aware that no updates are forthcoming if compatibility…
Computes a single hash value for an entire directory based on its files' structure and content, supporting all hashlib algorithms and glob-style filtering.
Watches a local directory, indexes structured files into an in-memory SQLite database, and exposes a SQL query interface with real-time change tracking.
Synchronizes, updates, or reports differences between two directory trees, with support for filtering by regex patterns and bidirectional sync.
Install it if you need reliable sync, diff, or mirror operations in scripts or applications.
Provides custom equality matchers that make unit test assertions more declarative by allowing flexible comparisons of complex data structures without modifying the values being tested.
Parses JSON-like data from files containing syntax violations—single quotes, comments, unquoted keys, dangling commas, and hex/octal numbers—while tracking line and column positions for each element.
However, do not install if you require active bug fixes, security updates, or support for future Python versions—the last commit was 2022-11-28 and the project shows…
A Python client library for querying and modifying data in the Discogs music database via its REST API, supporting artist, release, label, and user information lookups as well as OAuth 1.0a authentication.
A Python API wrapper for Discord that provides async-ready access to Discord's bot and client functionality with modern async/await syntax.
However, the summary explicitly states 'Please install that instead,' suggesting this is a mirror or redirect package.
Provides Python bindings for Discord's protocol buffer definitions, enabling serialization and deserialization of Discord user settings and related data structures.
However, be aware that reverse-engineered protobufs may change without notice as Discord updates its client, and you should verify compatibility with your use case…
discord.py is an async-ready Python wrapper for the Discord API that lets you build bots and client applications to interact with Discord servers, channels, and users.
Install it if you need to build Discord bots or integrate Discord API functionality into a Python application.
An async Python wrapper for Discord's user account API, enabling programmatic control of user accounts with support for sessions, relationships, billing, and interactions.
Send messages to Discord channels via webhooks, with support for embeds, files, threads, rate-limit handling, and async operations.
dishka is an IoC container that manages dependency injection with support for multiple scopes and resource finalization, letting you define how and when dependencies are created and released.
DiskCache provides a pure-Python disk-backed cache library that stores key-value pairs using SQLite and the filesystem, offering an alternative to in-memory caching systems like Memcached or Redis.
However, two known vulnerabilities are flagged in the security record—verify whether they affect version 5.6.3 or your use case before deploying to production.
Provides type hints and stubs for the diskcache library to enable static type checking in projects that use disk-based caching.
Disk-backed cache library that stores key-value pairs on disk and in files, providing a pure-Python alternative to in-memory caching systems like Memcached.
Provides a Python set of known disposable email domains for validation and filtering purposes.
Install it if you need to filter disposable email domains; skip it only if your application has no email validation requirements.
Parse binary data using C-like structure definitions, converting raw bytes into typed Python objects and back again.
Parses hypervisor disk, backup, and configuration files from various virtualization platforms, extracting structured data for forensic analysis and system inspection.
Parses and reads NTFS file systems, the primary file system used by Windows operating systems, enabling programmatic access to NTFS structures and data.
dissect.target provides a unified API and command-line tools to parse and query data from disk images, file collections, and forensic evidence formats, abstracting away the complexity of multiple underlying Dissect modules.
Provides utility functions and decompression algorithms (LZ4, LZO) for the Dissect forensic analysis framework, with optional native Rust implementations for performance.
Parses disk volume and partition systems including LVM2, GPT, and MBR to extract partition metadata and structure.
However, the AGPL-3.0-or-later license requires careful review if you plan to use it in proprietary software.
Parse and create Python distribution metadata from dist-info directories and related sources, handling package metadata standards for PyPI and distribution workflows.
Computes distance metrics (Levenshtein, Hamming, Jaccard, Sorensen) between arbitrary sequences, with pure Python implementations and optional C extensions for performance.
Generates lists of visually distinct colors of any length, with each new color maximally different from existing ones, and provides utilities to work with those colors including colorblind simulation.
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.
Distrax provides JAX-native probability distributions and bijectors (invertible functions with Jacobian computation) as a lightweight reimplementation of a subset of TensorFlow Probability, designed for extensibility and readability.
Install it if you need probability distributions in JAX and value extensibility and mathematical clarity over a comprehensive feature set.
Distribute is a legacy compatibility wrapper that installs Setuptools 0.7+ as a drop-in replacement for the older distribute package.
Distributed provides a scheduler and runtime for parallel and distributed computation using Dask, enabling you to scale Python workloads across multiple machines or cores.
Provides a high-performance UCX communication backend for Dask Distributed, enabling GPU-to-GPU communication via NVLink, InfiniBand, and other high-speed interconnects.
Distro provides a reliable, machine-readable API to query the Linux or BSD distribution name, version, codename, and other OS platform details, replacing Python's deprecated `platform.linux_distribution` function.
Install it if you need to detect or report the Linux/BSD distribution your code runs on.
Generates a Software Bill of Materials (SBOM) for installed packages or complete system distributions in SPDX and CycloneDX formats, identifying all dependent components.
Parses DATABASE_URL environment variables into Django database configuration dictionaries, supporting PostgreSQL, MySQL, Oracle, SQLite, and other backends with optional connection pooling.
Install it if you use Django and want to follow 12factor principles for database configuration.