Utilities & Language Tools
General purpose utility libraries, functional programming helpers, collections, decorators, caching, retries and Python language extensions.
General purpose utility libraries, functional programming helpers, collections, decorators, caching, retries and Python language extensions.
696 packages
A fast and thorough lazy object proxy.
Compress tool outputs, logs, JSON and chat history before each LLM call. Fewer input tokens, same answers; in-process, no API key. Library, proxy and MCP server.
Mock data generation factories
A task runner that works well with poetry and uv.
Calculate prices for calling LLM inference APIs.
Make your functions return something meaningful, typed, and safe!
Time expression parser
Utils for streaming large files (S3, HDFS, GCS, SFTP, Azure Blob Storage, gzip, bz2, zst...)
A simple immutable dictionary
Nearest Neighbor Descent
Production-grade retries made easy.
Pre-compiled tree-sitter grammars for 371 programming languages
RestrictedPython is a defined subset of the Python language which allows to provide a program input into a trusted environment.
An Enum that inherits from str.
Mimesis: Fake Data Generator.
Python rate limiter with pluggable algorithms and backends
jq is a lightweight and flexible JSON processor.
The set of adapter protocols and base functionality that supports integration with dbt-core
Simple construction, analysis and modification of binary data: bit arrays, bitfields and unaligned binary formats.
Fast Base64 encoding/decoding
HogQL parser for internal PostHog use
Multi-Objective Optimization in Python
Python wrapper for the arXiv API
Python module to handle standardized numbers and codes
Tree is a library for working with nested data structures.
Manage calls to calloc/free through Cython
Python's missing debug print command, and more.
CLI for openapi generator
Library for handling efficiently sorted integer sets.
Hunt down social media accounts by username across social networks