Packages
Compel lets you re-weight different parts of text prompts to control how much influence each part has on the embedding tensor produced by diffusion models, using an intuitive syntax like `word++` or `word--`.
Install it if you need to adjust the relative importance of different parts of your prompts; skip it if you're happy with flat prompt strings.
Generates Clang JSON compilation databases from GNU make-based build systems without requiring a clean rebuild, using make's dry-run mode to extract compile commands.
Calculates cognitive complexity scores for Python code to measure how hard code is to understand by humans, accounting for nesting depth and control flow patterns.
Compliance-trestle manages, validates, and transforms OSCAL (NIST's compliance standard format) documents, splitting large structures into editable pieces while enforcing schema compliance and supporting markdown-to-OSCAL conversion.
Composio provides a Python SDK that connects AI agents to 1000+ pre-authenticated third-party app toolkits, managing per-user sessions, OAuth flows, event triggers, and sandboxed execution.
A Python client library for the Composio REST API, providing synchronous and asynchronous access to tool execution and API operations with full type hints and error handling.
Install it if you need to call the Composio API from Python; the typing and error handling will save integration time.
Composio-core bridges AI agents to external tools and services, providing a framework to integrate actions from platforms like GitHub, Slack, and Gmail with LLM-based agents.
However, no for new projects—the package is explicitly deprecated and the maintainers recommend using 'composio' instead.
Bridges Composio's 1000+ app integrations into LangChain agents by wrapping them as StructuredTools, letting an LLM-powered agent call external services through a single Composio session.
Bridges Composio's tool ecosystem to OpenAI's function calling APIs, enabling LLM-driven tool execution through both the Responses API and Chat Completions.
Bridges Composio's tool catalog to OpenAI's Agents framework, letting agents execute actions across 1000+ integrated apps through a unified interface.
Reads and parses Microsoft Compound File Binary format (CFB), OLE Compound Documents, and related legacy binary file formats used in older Office documents and scientific applications.
Wraps Python's standard pickle serialization with transparent compression using gzip, bz2, lzma, zipfile, or optionally lz4, reducing storage size for pickled objects.
Install only if your use case is stable and you do not expect future Python or compression library changes to break it.
Compresses and decompresses Rich Text Format (RTF) data using the LZFu compression algorithm, implementing the Microsoft RTF Compression format.
However, maintenance is aging with no recent updates; verify that it meets your RTF variant requirements before relying on it for new projects.
Provides a unified format for storing and loading compressed neural network tensors, supporting multiple quantization and sparsity schemes like GPTQ, AWQ, SmoothQuant, INT8, and FP8.
Renders CommonMark and GitHub Flavored Markdown to HTML or normalized CommonMark via Python bindings to the Rust Comrak parser.
Install it if you need CommonMark/GFM parsing with performance or advanced rendering control; skip it if you need only basic markdown-to-HTML conversion and are…
comtypes is a pure Python library for defining, calling, and implementing COM (Component Object Model) interfaces on Windows using the ctypes foreign function interface.
Conan is a decentralized, open-source package manager for C and C++ that manages binaries, dependencies, and build system integration across platforms including Linux, macOS, Windows, and embedded systems.
Install it if you manage C/C++ dependencies across multiple platforms or need decentralized binary package distribution.
Runs unittest test suites concurrently across multiple worker processes, distributing tests via round-robin or class-local partitioning to speed up test execution.
Provides thread-safe and process-safe logging handlers for Python's standard logging module, enabling multiple processes to write concurrently to a single log file with built-in size-based and time-based rotation.
Injects a conda environment's packages into the current Python process by modifying sys.path, without changing the active conda environment.
However, verify the undeclared license for your use case, and be aware that no active maintenance means no bug fixes or updates.
conda-pack creates relocatable conda environments as compressed archives that can be deployed and extracted on other machines without requiring conda or Python to be pre-installed.
Install it if you need to distribute conda environments across machines or into restricted environments.
Create, extract, and convert conda packages in various formats (.conda, .tar.bz2, and others) via a Python API or command-line tool.
Install it if you're building conda packages, automating package workflows, or need format conversion capabilities.
Reads conda package metadata and contents from .conda and .tar.bz2 files without downloading entire packages, using efficient range requests or streaming to fetch only what you need.
Install it if you need efficient metadata extraction from conda packages.
Condense JSON by replacing repeated strings and structural patterns with compact references, then expand them back to their original form.
Conditionally apply a context manager to a code block based on a boolean condition, eliminating the need to duplicate the block's body in if/else branches.
Provides an executable hook that fetches HTCondor configuration files from a git repository and dynamically includes them in HTCondor config files via the `include command` syntax.
A typed Python client for the Conductor API that provides real-time access to QuickBooks Desktop data—fetch, create, or update any QuickBooks Desktop object type with full type safety and both sync and async support.
Install it if you are building on the Conductor platform; avoid it if you do not have a Conductor API account or need to work with QuickBooks Online instead.
Build durable Conductor agents, workflows, and workers in Python, with the Conductor server managing retries, state, and observability across distributed execution.
Confection is a configuration system for Python that parses INI-style `.cfg` files into nested dictionaries, with support for JSON values, cross-section references, and registry-based function instantiation.
Install it if you are building systems where configuration complexity and versioning matter; skip it for simple flat-file or environment-variable configuration.
Provides hierarchical configuration management with support for mappings, sequences, cross-references, environment variable integration, and simple expression evaluation.
However, do not use it if you require active maintenance, support for recent Python versions, or security updates.
Automatically formats .ini and .cfg configuration files with consistent indentation, spacing, and value assignment syntax while preserving comments.
Merges configuration from YAML/JSON files, environment variables, and runtime arguments into a single parsed configuration object, applying them in a fixed precedence order.
Extends Python's argparse to parse command-line arguments, config files, and environment variables in a single unified interface with a priority hierarchy.
A Python SDK for integrating ConfigCat's feature flag and configuration management service, allowing you to toggle features remotely and target users based on custom attributes.
Install it if you need remote feature flag management or configuration control.
ConfigObj reads, writes, and validates INI-format configuration files with support for nested sections, list values, string interpolation, and automatic type checking.
Install it if your application needs configuration file support; the lack of dependencies makes it a lightweight choice.
Provides an updated ConfigParser implementation for Python 3.9+ that backports enhancements from later Python standard library versions.
However, if your project already supports a recent Python version, the built-in stdlib ConfigParser may be sufficient—verify whether the backported enhancements…
Backport of Python 3's configparser module to Python 2.6–3.5, allowing unified INI-file parsing across versions without naming conflicts with the built-in standard library.
Install only if you are maintaining legacy code on Python 2.6–3.5 and cannot upgrade; for any new project, use the built-in configparser instead.
ConfigSpace defines and manipulates configuration spaces for hyperparameter optimization and algorithm configuration, supporting continuous, discrete, and categorical parameters with sampling and constraint handling.
Install it if you are working on AutoML, hyperparameter tuning, or algorithm configuration tasks and need a structured way to define and sample parameter spaces.
ConfigUpdater reads and modifies INI configuration files while preserving comments, section order, key order, and original casing—changes only what you explicitly update.
Builds a configuration store by layering multiple sources (files, environment variables, command-line arguments) with support for YAML, TOML, and JSON formats, exposing the result as nested Python data types.