Skip to main content

Python libraries

atoti, Cookiecutter Poetry & AllenAI templates seem nice. Robyn seems like a nice web library.

Web

  • Quart - Async Python micro framework for building web applications.
  • Robyn - Async python web server written in rust.
  • Xpresso - Composable Python ASGI web framework.
  • aiosonic - Very fast Python asyncio http client.
  • BlackSheep - Fast ASGI web framework and HTTP client for Python asyncio.
  • urllib3 - Python HTTP library with thread-safe connection pooling, file post support, user friendly, and more.
  • Bottle - Fast and simple micro-framework for python web-applications. (Docs)
  • Pyramid - Small, fast, down-to-earth, open source Python web framework.
  • Dash - Analytical Web Apps for Python. No JavaScript Required. (Web) (Awesome)
  • web.py - Web framework for python that is as simple as it is powerful.
  • HTTPX - Next generation HTTP client for Python.
  • baseplate.py - Reddit's python service framework. (Docs)
  • Nameko - Microservices framework for Python that lets service developers concentrate on application logic and encourages testability.
  • Kore - Easy to use web platform for C and Python.
  • uvicorn - Lightning-fast ASGI server. (Docs)
  • Flask - Python micro framework for building web applications. (Docs) (Flask Admin) (Building a Full Stack Flask HTMx Application) (HN) (Mega Tutorial) (HN)
  • Impacket - Collection of Python classes for working with network protocols.
  • instant_api - Instantly create an HTTP API with automatic type conversions, JSON RPC, and a Swagger UI. Just add methods.
  • Flask-Marshmallow - Thin integration layer for Flask and marshmallow.
  • python-proxy - HTTP/Socks4/Socks5/Shadowsocks/ShadowsocksR/SSH/Redirect/Pf TCP/UDP asynchronous tunnel proxy implemented in Python3 asyncio.
  • Strawberry GraphQL - Python GraphQL library based on dataclasses. (Web) (Playground) (Tweet)
  • EasyAuth - Create a centralized Authentication and Authorization token server.
  • FastAPI Cloud Auth - Simple integration between FastAPI and cloud authentication services (AWS Cognito, Auth0, Firebase Authentication).
  • FastAPI Users - Ready-to-use and customizable users management for FastAPI.
  • fastapi-cache - Tool to cache fastapi response and function result, with backends support redis and memcache.
  • Frappe - Full-stack web application framework that uses Python and MariaDB on the server side and a tightly integrated client side library.
  • Tornado - Python web framework and asynchronous networking library. (Docs)
  • Sanic - Async Python 3.6+ web server/framework | Build fast. Run fast. (Web) (Awesome)
  • IDOM - Create highly interactive web pages purely in Python.
  • apischema - JSON (de)serialization, GraphQL and JSON schema generation through python typing.
  • Proxy.py - Lightweight, single file HTTP proxy server in Python.
  • Ariadne - Python library for implementing GraphQL servers using schema-first approach. (Web)
  • fastapi-gino-arq-uvicorn - High-performance Async REST API, in Python. FastAPI + GINO + Arq + Uvicorn (w/ Redis and PostgreSQL).
  • HTTP Core - Minimal HTTP client.
  • GraphQL-core 3 - Python 3.6+ port of the GraphQL.js reference implementation of GraphQL.
  • Pyre - Fast asyncronous HTTP server and framework written in Rust for Python.
  • PyJWT - JSON Web Token implementation in Python.
  • httptools - Fast HTTP parser.
  • Hip - New Python HTTP client for everybody. It supports synchronous Python (just like requests does), but also Trio, asyncio and Curio.
  • Molten - Minimal, extensible, fast and productive framework for building HTTP APIs with Python 3.6 and later. (Docs)
  • Lona - Web application framework, designed to write responsive web apps in full Python.
  • AIOHTTP - Asynchronous HTTP client/server framework for asyncio and Python. (Docs)
  • aiohttp-client-cache - Async persistent cache for aiohttp requests.
  • GQL - GraphQL client in Python.
  • FastWSGI - Ultra fast WSGI server for Python 3. (HN)
  • Starlite - Light, opinionated and flexible ASGI API framework built on top of pydantic and Starlette.
  • pook - HTTP traffic mocking and testing made easy in Python.
  • Faster-than-Requests - Faster requests on Python 3.
  • Minos - Framework which helps you create reactive microservices in Python.
  • py_webauthn - Pythonic WebAuthn.
  • PyWebIO - Write interactive web app in script way.
  • aiolimiter - Efficient implementation of a rate limiter for asyncio.
  • OpenAPI Python Client - Generate modern Python clients from OpenAPI.
  • WARCIO - Streaming WARC/ARC library for fast web archive IO.
  • Warctools - Command line tools and libraries for handling and manipulating WARC files (and HTTP contents).
  • OpenAPI Spec validator
  • Uplink - Declarative HTTP Client for Python.
  • aiorwlock - Read/Write Lock - synchronization primitive for asyncio.
  • Nitro - Simplest way to build web apps using Python. No JavaScript/HTML/CSS coding.
  • HTTPX OAuth - Async OAuth client using HTTPX.

ML

  • JAX - GPU- and TPU-backed NumPy with differentiation and JIT compilation. (HN) (Docs) (JAX: accelerated machine learning research via composable function transformations in Python (2020)) (Intro to JAX)
  • Autograd - Efficiently computes derivatives of numpy code.
  • GluonTS - Probabilistic time series modeling in Python.
  • GPy - Gaussian processes framework in python.
  • Chaospy - Toolbox for performing uncertainty quantification.
  • Categorical Encoding Methods - Library of sklearn compatible categorical variable encoders.
  • Pyodide - Python with the scientific stack, compiled to WebAssembly. (Docs) (Tweet)
  • AtsPy - Automated Time Series Models in Python.
  • iterative-stratification - scikit-learn cross validators for iterative stratification of multilabel data.
  • PyMeasure - Scientific measurement library for instruments, experiments, and live-plotting.
  • siuba - Scrappy data analysis, with seamless support for pandas and SQL.
  • Python Outlier Detection (PyOD) - Python Toolbox for Scalable Outlier Detection (Anomaly Detection).
  • SymPy - Computer algebra system written in pure Python. (Web) (Web Code)
  • many_requests - Dead easy interface for executing many HTTP requests asynchronously. Also provides helper functions for executing embarrassingly parallel async coroutines.
  • scikit-mobility - Mobility analysis in Python.
  • data-science-types - Mypy stubs, i.e., type information, for numpy, pandas and matplotlib.
  • Tigramite - Time series analysis python module for causal discovery.
  • SciPy - Provides many user-friendly and efficient numerical routines, such as routines for numerical integration, interpolation, optimization, linear algebra, and statistics. (Web) (SciPy Lecture Notes) (HN)
  • whylogs - Profile and monitor your ML data pipeline end-to-end.
  • jaxlie - Lie groups for rigid transformations & optimization in JAX.
  • Time Series Feature Extraction - Intuitive library to extract features from time series.
  • Kalepy - Kernel Density Estimation and (re)sampling.
  • Bodywork - Python framework that helps machine learning engineers run batch jobs, serve models and deploy machine learning pipelines, in containers on Kubernetes.
  • Stheno - Gaussian process modelling in Python.
  • dabl - Data Analysis Baseline Library.
  • pandas-ml - pandas, scikit-learn, xgboost and seaborn integration.
  • wavetorch - Numerically solving and backpropagating through the wave equation.
  • ennemi - Easy Nearest Neighbor Estimation of Mutual Information.
  • Knock Knock - Get notified when your training ends with only two additional lines of code.
  • Orion - Asynchronous Distributed Hyperparameter Optimization. (Docs)
  • ProbNum - Probabilistic Numerics in Python.
  • OpenL3 - Open-source deep audio and image embeddings.
  • xitorch - Differentiable scientific computing library.
  • randopt - Python package for machine learning experiment management, hyper-parameter optimization, and results visualization.
  • Kats - Toolkit to analyze time series data, a lightweight, easy-to-use, and generalizable framework to perform time series analysis. (Web)
  • pymdp - Python implementation of active inference for Markov Decision Processes.
  • pypc - Predictive coding in Python.
  • PyNN - Python package for simulator-independent specification of neuronal network models.
  • JAX-CFD - Computational Fluid Dynamics in JAX.
  • pomegranate - Fast, flexible and easy to use probabilistic modelling in Python.
  • sklearn-expertsys - Highly interpretable classifiers for scikit learn, producing easily understood decision rules instead of black box models.
  • TensorAnnotations - Annotating tensor shapes using Python types.
  • AgentPy - Open-source framework for the development and analysis of agent-based models in Python.
  • autotst - AutoML Two-Sample Test. (Tweet)
  • Roerich - Python library of change point detection algorithms for time series.
  • tftb - Python module for time-frequency analysis.
  • PyPOTS - Python Toolbox for Data Mining on Partially-Observed Time Series.
  • SKOPS - Python library helping you share your scikit-learn based models and put them in production.
  • HDDM - Python module that implements Hierarchical Bayesian parameter estimation of Drift Diffusion Models (via PyMC).

Biology

  • Biopython - International association of developers of freely available Python tools for computational molecular biology.
  • cobrapy - Constraint-Based Reconstruction and Analysis in Python.

CLI

  • Tap - Typed modernization of Python's argparse library.
  • Appeal - Command-line parsing library for Python 3.
  • SimpleParsing - Simple, Elegant, Typed Argument Parsing with argparse.
  • Typer - Build great CLIs. Easy to code. Based on Python type hints.
  • Python Fire - Library for automatically generating command line interfaces (CLIs) from absolutely any Python object.
  • Rich - Python library for rendering rich text and beautiful formatting to the terminal. (HN) (HN thread on Rich tables) (HN)
  • questionary - Easy to use python library to build pretty command line user prompts.
  • Cutie - Command line User Tools for Input Easification.
  • bullet - Beautiful Python Prompts Made Simple.
  • alive-progress - New kind of Progress Bar, with real time throughput, eta and cool animations.
  • python-nubia - Lightweight framework for building command-line applications with Python.
  • argcomplete - Python and tab completion, better together.
  • docopt-ng - Humane command line arguments parser. Now with maintenance, typehints, and complete test coverage.
  • Plotext - Python Plotting on the Terminal. (HN)
  • shpyX - Configurable shell command execution in Python.
  • survey - Simple library for creating beautiful interactive prompts.
  • Piou - CLI tool to build beautiful command-line interfaces with type validation.
  • progress - Easy progress reporting for Python.
  • minydra - Minimal Python command-line parser inspired by Facebook's Hydra + dot-accessible nested dictionaries.
  • ptyprocess - Launch a subprocess in a pseudo terminal (pty), and interact with both the process and its pty.
  • Pexpect - Python module for controlling interactive programs in a pseudo-terminal.
  • PyTermGUI - Simple yet powerful TUI framework for your Python (3.7+) applications.
  • Colorama - Simple cross-platform colored terminal text in Python.
  • jsonargparse - Parsing of command line options, yaml/jsonnet config files and/or environment variables based on argparse.
  • ArgBind - Build CLIs via docstrings and type annotations, with YAML support.
  • targ - Build a Python CLI for your app, just using type hints and docstrings.
  • rich-click - Format click help output nicely with Rich.
  • Rich CLI - Command line toolbox for fancy output in the terminal.
  • click-params - Bunch of click parameters to use.

DB

  • Danio - ORM for python asyncio world.
  • GINO - Not ORM - is a lightweight asynchronous ORM built on top of SQLAlchemy core for Python asyncio. (Web)
  • SQLModel - SQL databases in Python, designed for simplicity, compatibility, and robustness.
  • SQLAlchemy - Python SQL Toolkit and Object Relational Mapper.
  • sqlacodegen - Automatic model code generator for SQLAlchemy.
  • marshmallow - Lightweight library for converting complex objects to and from simple Python datatypes. (Docs)
  • marshmallow-dataclass - Automatic generation of marshmallow schemas from dataclasses.
  • psycopg2 - Python-PostgreSQL Database Adapter. (Web)
  • Psycopg 3 - Modern implementation of a PostgreSQL adapter for Python.
  • Databases - Gives you simple asyncio support for a range of databases.
  • aiosql - Simple SQL in Python.
  • Plyvel - Fast and feature-rich Python interface to LevelDB.
  • ormar - Async mini ORM for Python, with support for Postgres, MySQL, and SQLite.
  • yoyo-migrations - Database schema migration tool. Database migrations can be written as SQL files or Python scripts.
  • PyPika - Python API for building SQL queries. Excels at all sorts of SQL queries but is especially useful for data analysis.
  • Tortoise ORM - Easy-to-use asyncio ORM inspired by Django.
  • Vinum - SQL query processor for Python, designed for data analysis workflows and in-memory analytics.
  • aiosqlite - Friendly, async interface to sqlite databases.
  • ORM - Async ORM for Python, with support for Postgres, MySQL, and SQLite.
  • ConnectorX - Fastest library to load data from DB to DataFrames in Rust and Python. (Lobsters)
  • dataset - Easy-to-use data handling for SQL data stores with support for implicit table creation, bulk loading, and transactions. (Docs)
  • Piccolo - Fast, user friendly ORM and query builder which supports asyncio. (Web)
  • Alembic - Database migrations tool for SQLAlchemy.
  • data_algebra - Codd method-chained SQL generator and Pandas data processing in Python.
  • pytest-postgresql - Pytest plugin, that enables you to test your code that relies on a running PostgreSQL Database.
  • omniduct - Uniform interfaces for connecting to and extracting data from a wide variety of (potentially remote) data stores.
  • PugSQL - HugSQL-inspired database library for Python.
  • PyStow - Easily pick a place to store data for your Python code.
  • CogDB - Graph Database for Python.
  • SQLAlchemy adapter for CockroachDB
  • pgspecial - API to execute meta-commands (AKA "special", or "backslash commands") on PostgreSQL.
  • DuckDB Foreign Data Wrapper for PostgreSQL
  • Ibis BigQuery - BigQuery backend for Ibis.
  • Arrowdantic - Small Python library backed by a mature Rust implementation of Apache Arrow.
  • static_ondisk_kv - Simple and fast implementation of a static on disk kv, in python.
  • SQLGlot - Python SQL Parser and Transpiler. (HN)
  • sqlakeyset - Keyset-based paging for SQLAlchemy (both ORM and core).
  • datamodel-code-generator - Pydantic model generator for easy conversion of JSON, OpenAPI, JSON Schema, and YAML data sources.
  • sqlvalidator - SQL queries formatting, syntactic and semantic validation.
  • pg8000 - Pure-Python PostgreSQL Driver.
  • iopath - Python library that provides common I/O interface across different storage backends.
  • cloudpathlib - Python pathlib-style classes for cloud storage services such as Amazon S3, Azure Blob Storage, and Google Cloud Storage.
  • sql-metadata - Uses tokenized query returned by python-sqlparse and generates query metadata.
  • redis-pydict - Python dictionary that uses Redis as in-memory storage backend to facilitate distributed computing applications development.
  • Redis OM - Objecting mapping, and more, for Redis and Python.

GUI

  • Toga - Python native, OS native GUI toolkit.
  • Guietta - Python module to create simple GUIs. (HN) (Lobsters)
  • PySimpleGUI - Transforms UI into People-Friendly Pythonic Interfaces. (HN)
  • Dear PyGui - Simple to use (but powerful) Python GUI framework. (HN)
  • pyimgui - Cython-based Python bindings for dear imgui.
  • wxPython Phoenix - Cross-Platform GUI Library.
  • pywebview - Build GUI for your Python program with JavaScript, HTML, and CSS. (Web)
  • Flexx - Write desktop and web apps in pure Python.
  • PyAutoGUI - Cross-platform GUI automation Python module for human beings.
  • Tkinter Designer - Create Beautiful Tkinter GUIs by Drag and Drop.
  • Textual - TUI (Text User Interface) framework for Python inspired by modern web development.
  • Briefcase - Tools to support converting a Python project into a standalone native application. (Briefcase macOS App Template)

Graphics

  • pygmsh - Provides useful abstractions from Gmsh's own Python interface so you can create complex geometries more easily.
  • PyQtGraph - Fast data visualization and GUI tools for scientific / engineering applications.
  • mesh_to_sdf - Calculate signed distance fields for arbitrary meshes.

Crypto

  • fastecdsa - Python library for fast elliptic curve crypto.
  • PyCryptodome - Self-contained cryptographic library for Python.
  • eciespy - Elliptic Curve Integrated Encryption Scheme for secp256k1 in Python.

macOS

  • numbers-parser - Python module for parsing Apple Numbers .numbers files. (HN)
  • Python Apple Support - Meta-package for building a version of Python that can be embedded into a macOS, iOS, tvOS or watchOS project.

Math

  • copt - Python library for mathematical optimization.
  • GoodPoints - Python package for generating concise, high-quality summaries of a probability distribution.
  • PyCircStat - Toolbox for circular statistics with Python.
  • miceforest - Multiple Imputation with Random Forests in Python.
  • PyStan - Python interface to Stan, a package for Bayesian inference.
  • Statsmodels - Statistical modeling and econometrics in Python.
  • TriMap - Large-scale Dimensionality Reduction Using Triplets.

Physics

  • solid_dmft - Versatile python wrapper to perform DFT+DMFT calculations utilizing the TRIQS software library.
  • scikit-ued - Collection of algorithms and routines for (ultrafast) electron diffraction and scattering.
  • crystals - Data structures, algorithms, and parsing for crystallography.

Linux

  • packet - Provides access to Linux packet sockets (AF_PACKET).

Test

  • scripttest - Library to help you test your interactive command-line applications.
  • Coverage.py - Code coverage measurement for Python.
  • pytest - Makes it easy to write small tests, yet scales to support complex functional testing.
  • pytest-cookies - Pytest plugin for your Cookiecutter templates.
  • pytest-plugins - Grab-bag of nifty pytest plugins.
  • mutmut - Mutation testing system for Python, with a strong focus on ease of use.
  • FreezeGun - Allows your Python tests to travel through time by mocking the datetime module.
  • datatest - Test driven data-wrangling and data validation.
  • Precisely - Better assertions for Python tests. (HN)
  • Ward - Modern test framework for Python with a focus on productivity and readability.
  • Pynguin – Generate Python unit tests automatically. (HN)
  • Parameterized - Parameterized testing for nose, parameterized testing for py.test, parameterized testing for unittest.
  • hyppo - Python package for multivariate hypothesis testing.
  • pytest-instafail - Plugin for pytest that shows failures and errors instantly instead of waiting until the end of test session.
  • pytest-mock - Thin-wrapper around the mock package for easier use with pytest.
  • Responses - Utility for mocking out the Python Requests library.
  • pytest-timeout - Time each test and terminate it when it takes too long.
  • Syrupy - Sweeter pytest snapshot plugin.
  • Pydantic-Factories - Pydantic based mock data generation.
  • flake8-assertive - Flake8 unittest assert method checker.
  • Klara - Automatic test case generation for python and static analysis library.
  • detect-test-pollution - Tool to detect test pollution.
  • pytest-cov - Coverage plugin for pytest.
  • pytest-parallel - Pytest plugin for parallel and concurrent testing.
  • pytest_httpserver - HTTP server for pytest.
  • testing.postgresql - Automatically setups a postgresql instance in a temporary directory, and destroys it after testing.
  • pytest-insta - Practical snapshot testing plugin for pytest.
  • pytest-split - Pytest plugin which splits the test suite to equally sized "sub suites" based on test execution time.
  • async-solipsism - Provide a Python asyncio event loop that does not interact with the outside world at all.
  • pytest-docker-compose - Spin up Docker containers during your integration tests automatically.
  • pytest-memray - Pytest plugin for easy integration of memray.
  • marbles - Read better test failures.
  • better-exceptions - Pretty and useful exceptions in Python, automatically.
  • ReFrame - Powerful Python framework for writing and running portable regression tests and benchmarks for HPC systems.
  • Pretend - Library to make stubbing with Python easier.
  • Nox - Flexible test automation for Python.
  • PyTruth - Assertion framework for Python unit tests.

Error

  • rescue - Type-safe exceptions for Python.
  • python-tblib - Serialization library for Exceptions and Tracebacks.

Embedded

  • Atmel AVR - Development platform for PlatformIO.

Other

  • Click - Create beautiful command line interfaces in a composable way with as little code as necessary. (click-man - Create man pages for click applications) (Code) (Article)
  • Hypertools - Python toolbox for gaining geometric insights into high-dimensional data.
  • Flit - Simple way to put Python packages and modules on PyPI.
  • Photon - Lightning fast web crawler which extracts URLs, files, intel & endpoints from a target.
  • Snowy - Tiny Python 3 module for manipulating and generating images.
  • Trio - Pythonic async I/O for humans and snake people.
  • Responder - Familiar HTTP Service Framework for Python.
  • Loguru - Python logging made (stupidly) simple.
  • Blaze - Translates a subset of modified NumPy and Pandas-like syntax to databases and other computing systems.
  • Dash Table - First-Class Interactive DataTable for Dash.
  • Kombu - Messaging library for Python.
  • FastAPI - Modern, fast (high-performance), web framework for building APIs with Python 3.6+ based on standard Python type hints. (Modern APIs with FastAPI course) (FastAPI Code Generator) (FastAPI Auth) (Getting started with GraphQL in Python with FastAPI and Ariadne) (JWT Auth) (FastAPI Real World App) (MeiliSearch FastAPI)
  • Starlette - Little ASGI framework that shines. (Docs)
  • Poetry - Python dependency management and packaging made easy.
  • POT: Python Optimal Transport - Provide several solvers for optimization problems related to Optimal Transport for signal, image processing and machine learning.
  • Pampy - Pattern Matching for Python you always dreamed of.
  • StrictYAML - Type-safe YAML parser and validator.
  • coconut - Simple, elegant, Pythonic functional programming. (Web) (HN)
  • Hydra - Framework for elegantly configuring complex applications.
  • Toolz - Set of utility functions for iterators, functions, and dictionaries. (HN)
  • PeachPy - x86-64 assembler embedded in Python.
  • Peewee - Small, expressive orm -- supports postgresql, mysql and sqlite.
  • Curio - Library for Python systems programming involving concurrent I/O with network sockets, files, subprocesses, and similar constructs.
  • Hyperopt - Python library for serial and parallel optimization over awkward search spaces, which may include real-valued, discrete, and conditional dimensions.
  • pyfolio - Python library for performance and risk analysis of financial portfolios.
  • heartrate - Simple real time visualisation of the execution of a Python program.
  • sorcery - Dark magic delights in Python.
  • sktime - scikit-learn compatible Python toolbox for learning with time series and panel data.
  • Incremental - Library for versioning your Python projects.
  • Modin - Speed up your Pandas workflows by changing a single line of code.
  • Thorn - Webhook framework for Python, focusing on flexibility and ease of use, both when getting started and when maintaining a production system.
  • gevent - Coroutine-based concurrency library for Python. (How to use Flask with gevent (uWSGI and Gunicorn editions))
  • Meshio - I/O for mesh files.
  • Streamz - Real-time stream processing for python.
  • Hypothesis - Powerful, flexible, and easy to use library for property-based testing. (How Hypothesis Works) (Web) (Lobsters)
  • kombu - Messaging library for Python.
  • GPUtil - Python module for getting the GPU status from NVIDA GPUs using nvidia-smi programmically in Python.
  • anosql - Easy SQL in Python.
  • Adaptive - Parallel active learning of mathematical functions.
  • Cachew - Persistent cache/serialization powered by type hints.
  • rq - Simple job queues for Python.
  • ftfy - Fixes mojibake and other glitches in Unicode text, after the fact.
  • CleverCSV - Python package for handling messy CSV files.
  • Camelot - Python library to extract tabular data from PDFs.
  • gif - Better way to build animated Matplotlib gifs.
  • pynamical - Python package for modeling and visualizing discrete nonlinear dynamical systems, chaos, and fractals.
  • Inline C - Effortlessly write inline C functions in Python.
  • rst2pdf - Use a text editor. Make a PDF.
  • schedule - Python job scheduling for humans.
  • asyncpg - Fast PostgreSQL Database Client Library for Python/asyncio.
  • Newspaper3k - News, full-text, and article metadata extraction in Python 3.
  • orjson - Fast, correct JSON library for Python.
  • daiquiri - Python logging setup helper.
  • Pifpaf - Python fixtures and daemon managing tools for functional testing.
  • einops - Deep learning operations reinvented (for pytorch, tensorflow, chainer, gluon and others).
  • Python libraries for Google Colaboratory
  • PandasVault - Advanced Pandas Functions and Code Snippets.
  • returns - Make your functions return something meaningful, typed, and safe.
  • Koda - Type-safe functional tools for Python. (HN)
  • baikal - Graph-based functional API for building complex scikit-learn pipelines.
  • missingno - Missing data visualization module for Python.
  • STPyV8 - Allows interop between Python 3 and JavaScript running Google's V8 engine.
  • LibCST - Concrete syntax tree parser and serializer library for Python that preserves many aspects of Python's abstract syntax tree.
  • Matplotlib - Comprehensive library for creating static, animated, and interactive visualizations in Python. (Cheat Sheets) (Web) (Gallery)
  • Jug - Parallel programming with Python.
  • Pingouin - Open-source statistical package written in Python 3 and based mostly on Pandas and NumPy.
  • rpy2 - Interface to use R from Python.
  • Forbidden Fruit - Allows Python code to extend built-in types.
  • PandaPy - Has the speed of NumPy and the usability of Pandas (10x to 50x faster).
  • dramatiq - Fast and reliable background task processing library for Python 3.
  • More Itertools - More routines for operating on iterables, beyond itertools.
  • awkward-array - Manipulate arrays of complex data structures as easily as Numpy.
  • pydantic - Data parsing and validation using Python type hints. (Docs)
  • Goodconf - Transparently load variables from environment or JSON/YAML file.
  • graphene-pydantic - Integrate GraphQL with your Pydantic models.
  • Python Sorted Containers - Sorted List, Sorted Dict, and Sorted Set.
  • MacroPy3 - Provides a mechanism for user-defined functions (macros) to perform transformations on the abstract syntax tree (AST) of a Python program at import time.
  • Joblib - Computing with Python functions. (Docs) (Tweet)
  • Little Ball of Fur - NetworkX extension library for graph sampling. (HN)
  • aiojobs - Jobs scheduler for managing background task (asyncio).
  • sqlitedict - Persistent dict, backed-up by SQLite and pickle.
  • gensim - Topic Modelling in Python.
  • mistletoe - Fast, extensible and spec-compliant Markdown parser in pure Python.
  • Pypeln - Concurrent data pipelines in Python.
  • Science Plots - Matplotlib styles for scientific plotting.
  • Typeshed - Collection of library stubs for Python, with static types.
  • Dominate - Python library for creating and manipulating HTML documents using an elegant DOM API.
  • Watchdog - Python API and shell utilities to monitor file system events.
  • Rope - Python refactoring library.
  • PyVISA - Python package with bindings to the "Virtual Instrument Software Architecture" VISA library, in order to control measurement devices and test equipment via GPIB, RS232, or USB.
  • hyperjson - Hyper-fast Python module for reading/writing JSON data using Rust's serde-json.
  • Invoke - Pythonic task management & command execution.
  • Invocations - Reusable Invoke tasks.
  • Texthero - Python toolkit to work with text-based dataset quickly and effortlessly. (Web)
  • Pymanopt - Python toolbox for optimization on manifolds, that computes gradients and Hessians automatically.
  • Wily - Python application for tracking, reporting on timing and complexity in Python code.
  • PyNaCl - Python binding to the Networking and Cryptography (NaCl) library.
  • pyca/cryptography - Package designed to expose cryptographic primitives and recipes to Python developers.
  • bcrypt - Modern(-ish) password hashing for your software and your servers.
  • oscrypto - Compiler-free Python crypto library backed by the OS, supporting CPython and PyPy.
  • flupy - Fluent data pipelines for python and your shell.
  • fastcore - Python goodies to make your coding faster, easier, and more maintainable. (Article) (HN)
  • cadCAD - Design, simulate, validate, and operate within complex systems.
  • asyncio-buffered-pipeline - Parallelise pipelines of Python async iterables/generators. (HN)
  • quickle - Fast and small serialization format for a subset of Python types. (Docs)
  • Boltons - Set of over 230 pure-Python utilities.
  • catalogue - Tiny, zero-dependencies library that makes it easy to add function (or object) registries to your code.
  • Hask - Haskell language features and standard libraries in pure Python. (HN)
  • Fabric - Simple, Pythonic remote execution and deployment.
  • environs - Python library for parsing environment variables.
  • Zappa - Serverless Python.
  • Falkon - Python implementation of the Falkon algorithm for large-scale, approximate kernel ridge regression.
  • tomotopy - Python extension of tomoto (Topic Modeling Tool) which is a Gibbs-sampling based topic model library written in C++.
  • magicimport.py - Python code that fetches its dependencies without complaining. (HN)
  • pymia - Python package for data handling and evaluation in deep learning-based medical image analysis.
  • pyRiemann - Python package for covariance matrices manipulation and classification through riemannian geometry.
  • DFTimewolf - Framework for orchestrating forensic collection, processing and data export.
  • attrs - Python Classes Without Boilerplate. (Docs)
  • Morfessor - Tool for unsupervised and semi-supervised morphological segmentation.
  • Construct - Powerful declarative and symmetrical parser and builder for binary data.
  • Python BigQuery - Python Client for Google BigQuery.
  • halo - Beautiful spinners for terminal, IPython and Jupyter.
  • Functions Framework for Python - FaaS (Function as a service) framework for writing portable Python functions.
  • Cachier - Persistent, stale-free, local and cross-machine caching for Python functions.
  • pdpipe - Easy pipelines for pandas DataFrames.
  • Typing Inspect - Runtime inspection utilities for Python typing module.
  • Scalpl - Lightweight wrapper to operate on nested dictionaries seamlessly.
  • JSONStreams - Python library for writing JSON documents as streams.
  • Transducers - Pure Python implementation of Clojure's transducers.
  • TextDistance - Python library for comparing distance between two or more sequences by many algorithms.
  • Deal - Design by contract for Python with many validators support.
  • PFIO - Library to access various filesystems with unified API.
  • Await, What? - Tells you what waits for what in an async/await program.
  • rasterstats - Python module for summarizing geospatial raster datasets based on vector geometries.
  • simanneal - Python module for Simulated Annealing optimization.
  • jsonschema - Implementation of JSON Schema for Python.
  • swifter - Package which efficiently applies any function to a pandas dataframe or series in the fastest available manner.
  • marisa-trie - Static memory-efficient Trie-like structures for Python.
  • DAWG - DAFSA-based dictionary-like read-only objects for Python.
  • dataclassframe - Container for dataclasses with multi-indexing and bulk operations.
  • klio - Smarter data pipelines for audio. (Docs)
  • lambdas - Write short and fully-typed lambdas where you need them.
  • classes - Smart, pythonic, ad-hoc, typed polymorphism for Python.
  • pluggy - Minimalist production ready plugin system.
  • crocs - Introduces the concept of yregex that is a mean of implementing regex patterns using pure python classes. There are python classes for regex operators, these classes are grouped together to form your desired pattern.
  • pydash - Kitchen sink of Python utility libraries for doing "stuff" in a functional way. Based on the Lo-Dash JavaScript library.
  • Googletrans - Free and unlimited python library that implemented Google Translate API.
  • aiomisc - Miscellaneous utils for asyncio.
  • Promise - Ultra-performant Promise implementation in Python.
  • JSON Schema-powered type annotations
  • Awkward Array - Manipulate JSON-like data with NumPy-like idioms.
  • python-qrcode - Python QR Code image generator.
  • Pathy - Path interface for local and cloud bucket storage.
  • MetadataParser - Python module for pulling metadata out of web documents.
  • PyWavelets - Wavelet Transforms in Python.
  • Snowflake Connector for Python
  • nested_lookup - Python functions for working with deeply nested documents (lists and dicts).
  • jsons - Python lib for (de)serializing Python objects to/from JSON.
  • aiosmtpd - Asyncio based SMTP server.
  • Faker - Python package that generates fake data for you.
  • Autoimport - Automatically fixes wrong import statements.
  • Lcapy - Python package for linear circuit analysis. It uses SymPy for symbolic mathematics.
  • Opytimizer - Nature-Inspired Python Optimizer.
  • Futureproof - Bulletproof concurrent.futures.
  • Delocate - Find and copy needed dynamic libraries into python wheels.
  • Result - Simple Rust like Result type for Python 3. Fully type annotated.
  • cu2qu - Cubic-to-quadratic bezier curve conversion.
  • Microdict - High performance python hash table library that is generally faster and consumes significantly less memory than Python Dictionaries.
  • Zarr - Implementation of chunked, compressed, N-dimensional arrays for Python.
  • particles - Sequential Monte Carlo in python.
  • entmax - PyTorch implementation of entmax and entmax losses: a sparse family of probability mappings and corresponding loss functions, generalizing softmax / cross-entropy.
  • RxPY - Reactive Extensions for Python. (Docs)
  • Frictionless - Framework to describe, extract, validate, and transform tabular data. (Web)
  • huey - Little task queue for python.
  • Tree - Library for working with nested data structures. (HN)
  • uvloop - Ultra fast asyncio event loop.
  • cachetools - Extensible memoizing collections and decorators.
  • structlog - Structured Logging for Python.
  • JMESPath.py - Declaratively specify how to extract elements from a JSON document.
  • PrettyErrors - Prettifies Python exception output to make it legible.
  • Alibi Detect - Algorithms for outlier and adversarial instance detection, concept drift and metrics.
  • Shellingham - Tool to Detect Surrounding Shell.
  • Nested-Diff.py - Recursive diff for nested python structures.
  • greenlet - Lightweight in-process concurrent programming.
  • awesome-pattern-matching - Pattern Matching for Python 3.8+ in a simple, yet powerful, extensible manner.
  • OSlash - Functors, Applicatives, And Monads in Python.
  • nodevectors - Implements fast/scalable node embedding algorithms.
  • libpysal - Python Spatial Analysis Library.
  • pandera - Light-weight, flexible, and expressive pandas data validation library.
  • Dynamics and Control - Python library for solving textbook control problems.
  • Plumbum - Shell Combinators.
  • Gradient Free Optimizers - Collection of modern optimization methods in Python. (HN)
  • demandimport - Lazy import python modules for low start-up time.
  • Array - Better Python List. (HN)
  • miditoolkit - Python package for working with MIDI data.
  • bidict - Bidirectional mapping library for Python.
  • Time Series Distances - Library for time series distances (e.g. Dynamic Time Warping).
  • pyamgx - Python interface to NVIDIA's AMGX library.
  • Finite State Machine - Lightweight, decorator-based Python implementation of a Finite State Machine.
  • Spatial Math - Create, manipulate and convert representations of position and orientation in 2D or 3D using Python.
  • Fugue - Unified interface for distributed computing that lets users execute Python, pandas, and SQL code on Spark and Dask without rewrites. (Docs)
  • PyMesh - Geometry Processing Library for Python.
  • Spylls - Pure Python spell-checker.
  • Ring - Python cache interface with clean API and built-in memcache & redis + asyncio support.
  • CSRGraphs - Fast and memory efficient library for large read-only graphs.
  • python-soundfile - Audio library based on libsndfile, CFFI, and NumPy.
  • Luigi - Build complex pipelines of batch jobs in Python.
  • FuzzyWuzzy - Fuzzy String Matching in Python.
  • msgpack-python - MessagePack serializer implementation for Python.
  • Fastmap - Drop-in replacement for map that makes arbitrary Python code run faster locally and in the cloud. (Web)
  • OrderedSet - Mutable data structure that is a hybrid of a list and a set.
  • gusty - Making DAG construction easier.
  • IceCream - Never use print() to debug again.
  • furl - Small Python library that makes parsing and manipulating URLs easy.
  • DiskCache - Python disk-backed cache (Django-compatible). Faster than Redis and Memcached. Pure-Python.
  • hitherdither - Dithering algorithms for arbitrary palettes in PIL.
  • cache.py - Python memoization across program runs.
  • nfcpy - Python module to read/write NFC tags or communicate with another NFC device.
  • Ryven - Flow-based visual scripting for Python. (Web)
  • Timeflake - 128-bit, roughly-ordered, URL-safe UUID.
  • PythonVerbalExpressions - Python regular expressions made easy.
  • AnyIO - High level compatibility layer for multiple asynchronous event loop implementations on Python.
  • PySyncObj - Library for replicating your python class between multiple servers, based on raft protocol.
  • tractor - Structured concurrent, async-native "actor model" built on trio and multiprocessing.
  • Synr - Library that provides a stable Abstract Syntax Tree for Python.
  • Classical Aerodynamics with Python
  • forced-alignment-tools - Collection of links and notes on forced alignment tools.
  • psutil - Cross-platform lib for process and system monitoring in Python.
  • cattrs - Complex custom class converters for attrs.
  • pdoc - Auto-generate API documentation for Python projects.
  • arq - Fast job queuing and RPC in python with asyncio and redis.
  • Import Linter - Allows you to define and enforce rules for the internal and external imports within your Python project.
  • dacite - Simple creation of data classes from dictionaries.
  • DataPrep - Lets you prepare your data using a single library with a few lines of code. (Web)
  • Reloadr - Hot code reloading tool for Python.
  • SimFin - Simple financial data for Python. (Web)
  • pyment - Format and convert Python docstrings and generates patches.
  • squema - Smarter data structures.
  • traces - Python library for unevenly-spaced time series analysis.
  • Succinct - Compact, and compressed data structures for data-intensive applications.
  • Shared Memory Dict
  • Arrow - Better dates & times for Python. (HN)
  • Distex - Distributed process pool for Python.
  • nest_asyncio - Patch asyncio to allow nested event loops.
  • eventkit - Event-driven data pipelines.
  • pystatsd - Python client for statsd.
  • AIOFile - Real asynchronous file operations with asyncio support.
  • Langcodes - Python library for working with and comparing language codes.
  • Python Control Systems - Python module that implements basic operations for analysis and design of feedback control systems.
  • cysimdjson - Fast JSON parsing library for Python.
  • QP Solvers for Python - Quadratic Programming solvers in Python with a unified API.
  • talon - Mailgun library to extract message quotations and signatures.
  • MatchPy - Library for pattern matching on symbolic expressions in Python.
  • DPPy - Sampling Determinantal Point Processes with Python.
  • python devtools - Dev tools for python.
  • aiomultiprocess - Take a modern Python codebase to the next level of performance.
  • xarray-dataclasses - xarray extension for typed DataArray and Dataset creation.
  • printstack - Python package that adds stack trace links to the print function. (HN)
  • DataFusion in Python - Python library that binds to Apache Arrow in-memory query engine DataFusion.
  • Cerberus - Lightweight and extensible data validation library for Python.
  • funcX - High Performance Function Serving for Science. (Web)
  • Clumper - Small python library that can clump lists of data together.
  • Opyrator - Turns your machine learning code into microservices with web API, interactive GUI, and more.
  • Tenacity - Retrying library for Python.
  • Klepto - Persistent caching to memory, disk, or database.
  • Python MSS - Ultra fast cross-platform multiple screenshots module in pure Python using ctypes.
  • rtoml - Better TOML library for python implemented in rust.
  • cache_decorator - Simple decorator to cache the results of computationally heavy functions.
  • Event Sourcing in Python
  • Optimesh - Several mesh smoothing/optimization methods with one simple interface.
  • pyeasyga - Simple and easy-to-use implementation of a Genetic Algorithm library in Python.
  • mimic - Abusing Unicode to create tragedy.
  • zxpy - Shell scripts made simple.
  • polliwog - 2D and 3D computational geometry library which scales from prototyping to production.
  • vg - Linear algebra for humans.
  • soundata - Python library for loading & working with sound datasets.
  • QuickPotato - Profile and test to gain insights into the performance of your beautiful Python code.
  • APScheduler - Task scheduling library for Python.
  • cbor2 - Pure Python CBOR (de)serializer with extensive tag support.
  • Entangle - Lightweight (serverless) native python parallel processing framework based on simple decorators and call graphs.
  • TypeGuard - Run-time type checker for Python.
  • Greykite - Flexible, intuitive and fast forecasting library.
  • plydata - Grammar for data manipulation in Python.
  • memoize - Caching library for asynchronous Python applications.
  • Aesara - Python library that allows one to define, optimize, and efficiently evaluate mathematical expressions involving multi-dimensional arrays.
  • ballet - Lightweight framework for collaborative, open-source data science projects through feature engineering.
  • python-varname - Dark magics about variable names in python.
  • pytransform3d - Python library for transformations in three dimensions.
  • Jellyfish - Python library for doing approximate and phonetic matching of strings.
  • CAC - Clustering Based Classification Algorithm.
  • Lhotse - Python library aiming to make speech and audio data preparation flexible and accessible to a wider community.
  • scikit-network - Python package for the analysis of large graphs.
  • dynaconf - Configuration Management for Python. (Docs)
  • Shillelagh - Making it easy to query APIs via SQL.
  • Chemics - Python package for chemical reactor engineering.
  • Mesa - Agent-based modeling framework in Python. (Docs)
  • Borb - Library for creating and manipulating PDF files in python. (Web) (HN)
  • Patsy - Describing statistical models in Python using symbolic formulas.
  • Twisted - Event-driven networking engine written in Python.
  • ASPIRE - Algorithms for Single Particle Reconstruction.
  • ulid - Universally Unique Lexicographically Sortable Identifier (ULID) in Python 3.
  • Bplustree - On-disk B+tree for Python 3.
  • Hyperlink - Immutable, Pythonic, correct URLs.
  • Paranoid Scientist - Runtime software verification and automated testing for scientific software in Python.
  • xarray - N-D labeled arrays and datasets.
  • pmdarima - Statistical library designed to fill the void in Python's time series analysis capabilities.
  • perfplot - Performance analysis for Python.
  • Bolt - Algorithm for compressing vectors of real-valued data and running mathematical operations directly on the compressed representations. (HN)
  • MPIRE - Python package for easy multiprocessing, but faster than multiprocessing.
  • Pint - Operate and manipulate physical quantities in Python. (Docs) (HN)
  • Audiomentations - Python library for audio data augmentation.
  • executing - Get information about what a Python frame is currently doing, particularly the AST node being executed.
  • ETNA - Easy-to-use time series forecasting framework.
  • Pedalboard - Spotify’s Audio Effects Library for Python. (Article) (HN)
  • Pypandoc - Provides a thin wrapper for pandoc, a universal document converter.
  • Darts - Python library for easy manipulation and forecasting of time series.
  • goto - Function decorator that rewrites the bytecode to enable goto in Python. (HN)
  • Dora - Experiment management framework. It expresses grid searches as pure python files.
  • Dependency Injector - Dependency injection framework for Python.
  • word_cloud - Little word cloud generator in Python.
  • PyCLA - Python Package for Portfolio Optimization using the Critical Line Algorithm.
  • ArviZ - Exploratory analysis of Bayesian models with Python.
  • Scikit-TDA - Topological Data Analysis for Python.
  • petl - Python Extract Transform and Load Tables of Data.
  • Numcodecs - Python package providing buffer compression and transformation codecs for use in data storage and communication applications.
  • simplejson - Simple, fast, extensible JSON encoder/decoder for Python.
  • Lightbus - RPC & event framework for Python 3. (Docs)
  • python-utils - Disorganized collection of useful functions for working with audio and images, especially in the context of machine learning.
  • Runtype - Utilities for run-time type validation and multiple dispatch.
  • YData Quality - Data Quality assessment with one line of code.
  • Emukit - Highly adaptable Python toolkit for enriching decision making under uncertainty.
  • PyContracts - Python package that allows to declare constraints on function parameters and return values.
  • tsfresh - Automatic extraction of relevant features from time series.
  • PyPermut - Python package for permutation tests, for statistics and machine learning.
  • tabmat - Efficient matrix representations for working with tabular data.
  • glum - High performance Python GLMs with all the features.
  • fnn - Embed strange attractors using a regularizer for autoencoders.
  • cloudpickle - Extended pickling support for Python objects.
  • charset_normalizer - Helps you read text from an unknown charset encoding.
  • timemachines - Continuously evaluated, functional, incremental, time-series forecasting.
  • immutables - High-performance immutable mapping type for Python.
  • pydicom - Read, modify and write DICOM files with python code.
  • Hamilton - Micro-framework to create dataframes from functions.
  • python-dbus-next - Next great DBus library for Python.
  • keyring - Provides an easy way to access the system keyring service from python. Can be used in any application that needs safe password storage.
  • Desktop Notifier - Python library for cross-platform desktop notifications.
  • Pyro 5 - Python remote objects for modern python versions.
  • PyNNDescent - Python nearest neighbor descent for approximate nearest neighbors.
  • Boxes.py - Laser cutting boxes and more.
  • Sklearn-pandas - Provides a bridge between Scikit-Learn's machine learning methods and pandas-style Data Frames.
  • Mau - Lightweight markup language heavily inspired by AsciiDoc, Asciidoctor and Markdown.
  • Formulaic - High-performance implementation of Wilkinson formulas for Python.
  • spec_classes - Simple way to incrementally build type-checked specifications.
  • Mensor - Graph-based computation engine for computing measures and metrics.
  • dirty_cat - Encoding methods for dirty categorical variables. (Docs)
  • XState Python
  • construct-typing - Extension of the python package construct, which is a powerful declarative and symmetrical parser and builder for binary data.
  • pyembc - Declarative library for for describing embedded C data types in python.
  • backoff - Python library providing function decorators for configurable backoff and retry.
  • stringparser - Easy to use pattern matching and information extraction for Python.
  • pickle - Python object serialization.
  • zlib - Compression compatible with gzip.
  • Pyappcache - Library for application-level caching.
  • redun - Expressive and efficient workflow framework.
  • retworkx - High performance Python graph library implemented in Rust.
  • ahocorasick_rs - Check for multiple patterns in a single string at the same time: a fast Aho-Corasick algorithm for Python.
  • Eliot - Logging that tells you why it happened.
  • Crochet - Use Twisted anywhere.
  • pytimeparse - Small Python module to parse various kinds of time expressions.
  • pandas-selectable - Adds a select accessor to pandas DataFrames and Series.
  • TheFuzz - Fuzzy String Matching in Python.
  • portion - Python library providing data structure and operations for intervals.
  • TextDescriptives - Python library for calculating a large variety of statistics from text.
  • ijson - Iterative JSON parser with Pythonic interfaces.
  • Rusty results - Rust-inspired Option and Result types. Pattern matching ready.
  • Astroid - Common base representation of python source code for pylint and other projects.
  • Babel - Python library that provides an integrated collection of utilities that assist with internationalizing and localizing Python applications.
  • snoop - Powerful set of Python debugging tools, based on PySnooper.
  • Acoular - Library for acoustic beamforming.
  • whey - Simple Python wheel builder for simple projects.
  • zeus - Python implementation of the Ensemble Slice Sampling method.
  • PyTraits - Traits for Python3. (HN)
  • Transforms3d - 3 dimensional spatial transformations.
  • dill - Extends python's pickle module for serializing and de-serializing python objects to the majority of the built-in python types.
  • mashumaro - Fast and well tested serialization framework on top of dataclasses.
  • msgspec - Fast and friendly MessagePack library for Python. (Docs)
  • Cashews - Cache with async power.
  • Injector - Python dependency injection framework, inspired by Guice.
  • jMetalPy - Framework for single/multi-objective optimization with metaheuristics.
  • Pygal - Dynamic SVG charting library written in python.
  • json2html - Python module to convert JSON into a human readable HTML Table representation.
  • parse - Parse strings using a specification based on the Python format() syntax.
  • Pyserini - Python toolkit for reproducible information retrieval research with sparse and dense representations.
  • Compai - Functional primitives for Python.
  • mpi4jax - Zero-copy MPI communication of JAX arrays, for turbo-charged HPC applications in Python.
  • Plum - Multiple Dispatch in Python.
  • SceneGraphParser - Python toolkit for parsing sentences (in natural language) into scene graphs (as symbolic representation) based on the dependency parsing.
  • python-json-patch - Applying JSON Patches in Python.
  • Gin Config - Lightweight configuration framework for Python.
  • scikit-lego - Extra blocks for scikit-learn pipelines.
  • nanopq - Pure python implementation of product quantization for nearest neighbor search.
  • Rank-BM25 - Collection of algorithms for querying a set of documents and returning the ones most relevant to the query.
  • PyTables - Hierarchical datasets in Python.
  • PyTerrier - Python framework for performing information retrieval experiments.
  • Python-Multipart - Streaming multipart parser for Python.
  • PyHamcrest - Framework for writing matcher objects, allowing you to declaratively define "match" rules.
  • tqdm - Fast, Extensible Progress Bar for Python and CLI. (Docs) (HN)
  • ItsDangerous - Safely pass trusted data to untrusted environments and back. (Docs) (HN)
  • Pandaral·lel - Simple and efficient tool to parallelize Pandas operations on all available CPUs.
  • dataklasses - Library that allows you to quickly define data classes using Python type hints. (Annotated explanation) (HN)
  • anndata - Python package for handling annotated data matrices in memory and on disk, positioned between pandas and xarray.
  • Fiber - Python decorator that enables arbitrarily-deep tail/non-tail recursion. (HN)
  • Rikai - Parquet-based ML data format optimized for working with unstructured data.
  • Recurrent - Natural language parsing of dates and recurring events.
  • Simsity - Super Simple Similarities Service.
  • Implements - Pythonic interfaces using decorators.
  • Pipe - Enabling a sh like infix syntax (using pipes).
  • stackprinter - Debugging-friendly exceptions for Python.
  • outputformater - Python library to decorate and beautify strings.
  • PyFunctional - Python library for creating data pipelines with chain functional programming. (Docs)
  • Typical - Fast, simple, & correct data-validation using Python 3 typing.
  • contextfilter - Easy contextual information logging filter, using ContextVars.
  • hydra-zen - Configurable, reproducible, and scalable workflows in Python, via Hydra.
  • perde - Python serialization framework powered by Rust.
  • climatecontrol - Python library for loading settings and config data from files and environment variables.
  • typingx - Extend typing package functionalities.
  • di - Pythonic dependency injection.
  • TypeSystem - Data validation, serialization, deserialization & form rendering.
  • atomics - Lock-Free Atomics in Python.
  • sketchbook - Template engine built for asyncio with async/await syntax support.
  • quickmunge - Some utilities for manipulating lines of text, numbers, JSON, bencode, and HTML fragments. Intended for use in shell pipes.
  • Iguanas - Fast, flexible and modular Python package for generating a Rules-Based System (RBS) for binary classification use cases.
  • py-filelock - Platform-independent file lock for Python.
  • pytypes - Typing-toolbox for Python 3.
  • pipes - Elixir–style pipes for Python.
  • Lunr.py - Python implementation of Lunr.js.
  • Asyncer - Asyncer, async and await, focused on developer experience. (Lobsters)
  • MeiliSearch Python Async - Async Python client for the MeiliSearch API.
  • Everett - Configuration library for python projects.
  • mpi4py - Python bindings for MPI.
  • DocArray - Library for nested, unstructured data such as text, image, audio, video, 3D mesh.
  • Astro - Your new Airflow DAG writing experience.
  • py-import-tree - Analyze the classes, functions, and the imports they use.
  • GenMotion - Python library for making skeletal animations.
  • celluloid - Matplotlib animations made easy.
  • python-asynchronous-tasks - Asynchronous tasks in Python with Celery + RabbitMQ + Redis.
  • CircuitBreaker - Python "Circuit Breaker" implementation.
  • squarify - Pure Python implementation of the squarify treemap layout algorithm.
  • bitarray - Efficient arrays of booleans.
  • cached-property - Decorator for caching properties in classes.
  • PyJulia - Python interface to Julia.
  • pyhash - Python Non-cryptographic Hash Library.
  • trycast - Parses JSON-like values whose shape is defined by TypedDicts and other standard Python type hints.
  • Pyasmtools - Explores the python bytecode, provides some tools to access it.
  • Pyrallis - Simple Configuration with Dataclasses.
  • retrie - Efficient Trie-based regex unions for blacklist/whitelist filtering and one-pass mapping-based string replacing.
  • PyHeck - Case conversion library (for converting strings to snake_case, camelCase etc). Thin wrapper around the Rust library heck.
  • PipelineDP - Python framework for applying differentially private aggregations to large datasets using batch processing systems such as Apache Spark, Apache Beam, and more.
  • Pooch - Friend to fetch your data files.
  • Panflute - Pythonic Pandoc Filters.
  • Visions - User defined data type systems. (HN)
  • Loky - Reusable Process Pool Executor.
  • python-tabulate - Pretty-print tabular data in Python, a library and a command-line utility.
  • Pebble - Provides a neat API to manage threads and processes within an application.
  • unsync - Unsynchronize asyncio by using an ambient event loop, or executing in separate threads or processes.
  • ctparse - Parse natural language time expressions in python.
  • madbg - Fully-featured remote debugger for python.
  • Class Resolver - Lookup classes and instantiate them with style.
  • Notifiers - Easy way to send notifications.
  • Crowd-Kit - Computational Quality Control for Crowdsourcing.
  • sPyRMSD - Symmetry-corrected RMSD in Python.
  • Bleak - Bluetooth Low Energy platform Agnostic Client for Python.
  • Plost - Deceptively simple plotting library for Streamlit. (HN)
  • pandocfilters - Python module for writing pandoc filters.
  • watermark - IPython magic extension for printing date and time stamps, version numbers, and hardware information.
  • intervaltree - Mutable, self-balancing interval tree. Queries may be by point, by range overlap, or by range containment.
  • griffe - Signatures for entire Python programs.
  • ZIO-py - ZIO for Python.
  • Python TSP Solver - Simple library to solve Traveling Salesperson Problems with pure Python code.
  • pyserde - Serialization library on top of dataclasses, inspired by serde-rs.
  • aioapns - Library designed specifically for sending push-notifications to iOS devices via Apple Push Notification Service.
  • shortuuid - Generator library for concise, unambiguous and URL-safe UUIDs.
  • ThatLib - Faster pathlib for Python.
  • pyvirtualcam - Send frames to a virtual camera from Python.
  • decorator - Decorators for Humans.
  • jsonrpcclient - Generate JSON-RPC requests and parse responses in Python.
  • Python Asyncio Extensions - High performance functions to work with the async IO.
  • humanize - Python humanize functions.
  • OpenTelemetry Python - Observability framework for cloud-native software.
  • AwesomeVersion - One version package to rule them all, One version package to find them, One version package to bring them all, and in the darkness bind them.
  • Deepparse - State-of-the-art library for parsing multinational street addresses using deep learning.
  • Panther - High performance python technical analysis library written in Rust and the Numpy C API.
  • Parsimonious - Fastest arbitrary-lookahead parser written in pure Python.
  • PyMatting - Python Library for Alpha Matting.
  • better-partial - Better partial function application in Python. (HN)
  • Parselmouth - Praat in Python, the Pythonic way.
  • imageio - Python library for reading and writing image data.
  • Fractional Indexing - Fractional indexing is a technique to create an ordering that can be used for Realtime Editing of Ordered Sequences.
  • PyEMD - Python implementation of Empirical Mode Decompoisition (EMD) method.
  • dirty-equals - Doing dirty (but extremely useful) things with equals.
  • overrides - Decorator to automatically detect mismatch when overriding a method.
  • Cachy - Simple yet effective caching library.
  • matplotx - Some useful extensions for Matplotlib.
  • drawSvg - Python 3 library for programmatically generating SVG images (vector drawings) and rendering them or displaying them in a Jupyter notebook.
  • PandasSchema - Validation library for Pandas data frames using user-friendly schemas.
  • pyntcloud - Python library for working with 3D point clouds.
  • TNT - Simple tools for logging and visualizing, loading and training.
  • pyfzf - Python wrapper for fzf.
  • Fountain - 2-dimensional physics engine written in Cairo.
  • Truststore - Verify certificates using OS trust stores.
  • notify-send - Displays a notification suitable for the platform being run on.
  • bytecode - Python module to generate and modify bytecode.
  • dateutil - Useful extensions to the standard Python datetime features.
  • Nurse - Thoughtful dependency injection framework.
  • pangres - SQL upsert using pandas DataFrames for PostgreSQL, SQlite and MySQL with extra features.
  • Automata - Python library for simulating finite automata, pushdown automata, and Turing machines.
  • Visual Automata - Python 3 library built as a wrapper for the Automata library to add more visualization features.
  • UltraDict - Sychronized, streaming Python dictionary that uses shared memory as a backend.
  • Lasier - Sync/async circuit breaker implementation in Python.
  • Tomli - TOML parser.
  • skimpy - Light weight tool for creating summary statistics from dataframes.
  • NoPdb - Non-interactive Python Debugger.
  • Panel - High-level app and dashboarding solution for Python.
  • wasabi - Lightweight console printing and formatting toolkit.
  • pointers.py - Pointers and Memory Management in Python. (HN)
  • transitions - Lightweight, object-oriented finite state machine implementation in Python with many extensions.
  • nrt - Python package for near real time detection of change in spatio-temporal datasets.
  • kLoop - Asyncio event loop using Linux io_uring and kTLS.
  • Tributary - Streaming reactive and dataflow graphs in Python.
  • Atomos - Atomic primitives for Python. (Docs)
  • Jinja - Very fast and expressive template engine.
  • watchfiles - Simple, modern and high performance file watching and code reload in python.
  • Xeger - Library to generate random strings from regular expressions.
  • Affine - Matrices describing affine transformation of the plane.
  • Traits - Observable typed attributes for Python classes.
  • clean-text - Python package for text cleaning.
  • GetPy - Vectorized Python Dict/Set.
  • H3-Pandas - Integration of H3 with GeoPandas and Pandas.
  • Rainbow - Makes Unicorn traces. Generic Side-Channel and Fault Injection simulator.
  • pySerialTransfer - Python package to transfer data in a fast, reliable, and packetized form.
  • PyExifTool - Python library to communicate with an instance of Phil Harvey's excellent ExifTool command-line application.
  • Large Image - Python modules to work with large, multiresolution images.
  • Distributed faiss - Library for building and serving multi-node distributed faiss indices.
  • aiometer - Python concurrency scheduling library, compatible with asyncio and trio.
  • tune-sklearn - Drop-in replacement for Scikit-Learn’s model selection module (GridSearchCV, RandomizedSearchCV) with cutting edge hyperparameter tuning techniques.
  • python-dotenv - Get and set values in your .env file in local and production servers.
  • PILKit - Utilities and processors built for, and on top of PIL.
  • Instakit - Image processors and filters for use with ImageKit.
  • async-stripe - Asynchronous wrapper around Stripe's official python library.
  • lox - Threading and multiprocessing made easy.
  • pydags - Simple, lightweight, extensible DAG framework for Python with a Kubeflow-like API.
  • spaudiopy - Spatial Audio Python Package.
  • Arroyo - Python library for working with streaming data.
  • PyGOD - Python Library for Graph Outlier Detection (Anomaly Detection).
  • deczoo - Zoo for decorators.
  • fingerprints - Make it easier to compare and cross-reference the names of companies and people by applying strong normalisation.
  • DataFusion in Python
  • PrettyTable - Display tabular data in a visually appealing ASCII table format.
  • holpy - Implementation of higher-order logic in Python.
  • Quart-Trio - Extension for Quart to support the Trio event loop.
  • Smart Cache - Python caching library that is persistent and uses bytecode analysis to determine re-evaluation.
  • Squirrel Core - Share, load, and transform data in a collaborative, flexible, and efficient way.
  • pyzbar - Read one-dimensional barcodes and QR codes from Python.
  • Odak - Scientific computing library for optics, computer graphics and visual perception.
  • embedding_reader - Efficiently read embedding in streaming from any filesystem.
  • Parsing - Implements an LR(1) parser generator, as well as the runtime support for using a generated parser, via the Lr and Glr parser drivers.
  • Dictdiffer - Module that helps you to diff and patch dictionaries.
  • Norbert - Painless Wiener filters for audio separation.
  • titus-isolate - Enables the isolated and efficient use of compute resources in a multi-tenant container environment.
  • MDAnalysis - Python library to analyze molecular dynamics simulations.
  • wrapt - Python module for decorators, wrappers and monkey patching.
  • FstStr - Small library providing a string-oriented Python interface to OpenFST.
  • FElupe - Finite Element Analysis.
  • Point Cloud Utils (pcu) - Python library for common tasks on 3D point clouds.
  • pynput - Allows you to control and monitor input devices.
  • Reloadium - Advanced hot reloading for Python. (Web) (HN)
  • Multiformats - Python implementation of multiformat protocols.
  • colorlog - Colored formatter for the python logging module.
  • pydantic-core - Core validation logic for pydantic written in rust.
  • Concepts - Formal Concept Analysis with Python.
  • PecanPy - Fast, parallelized, memory efficient, and cache-optimized Python implementation of node2vec.
  • Phantom types - Help you make illegal states unrepresentable and avoid shotgun parsing by enabling you to practice "Parse, don't validate".
  • Patito - Data modelling layer built on top of polars and pydantic.
  • pyinspect - Find functions when you can't remember their name.
  • fancylog - Fancier logging with python.
  • Netgraph - Drawing utilities for publication quality plots of networks.
  • Lithops - Python multi-cloud distributed computing framework.
  • Barry - Fixed-memory serverless distributed N-dimensional array processing.
  • CDB - Disk based Log Structured Hash Table Store. (Lobsters)
  • lbst - Immutable Log-Balanced Search Tree.
  • parsec.py - Universal Python parser combinator library inspired by Parsec library of Haskell.
  • reparsec - Small parsec-like parser combinators library with semi-automatic error recovery.
  • pydiagrams - Declarative drawing API in Python.
  • ResolveLib - Resolve abstract dependencies into concrete ones.
  • mmh3 - Python wrapper for MurmurHash (MurmurHash3), a set of fast and robust hash functions.
  • Kymatio - Wavelet scattering transforms in Python with GPU acceleration.
  • PrettyPrintTree - Python library to print trees.
  • TypedDataFrame - Typed wrappers over pandas DataFrames with schema validation.
  • timeseries-generator - Library to generate synthetic time series data by easy-to-use factors and generator.
  • StrictYAML - Type-safe YAML parser and validator.
  • gjson-py - Python package that provides a simple way to filter and extract data from JSON-like objects, using the GJSON syntax.
  • thx - Simple, composable command runner for Python projects.
  • m3u8 - Python m3u8 Parser for HTTP Live Streaming (HLS) Transmissions.
  • aiocache - Asyncio cache manager for redis, memcached and memory.
  • csvkit - Suite of utilities for converting to and working with CSV, the king of tabular file formats.
  • Intake - Lightweight package for finding, investigating, loading and disseminating data.
  • wikirepo - Python based Wikidata framework for easy dataframe extraction.
  • tidypolars - Data frame library built on top of the blazingly fast polars library that gives access to methods and functions familiar to R tidyverse users.
  • Markus - Python library for generating metrics.
  • Orderbook - Fast L2/L3 orderbook data structure, in C, for Python.
  • Flor - Bloom filter implementation in Python.
  • QOI - Python wrapper around QOI ("Quite OK Image" image format).
  • Proto Plus for Python - Beautiful, idiomatic protocol buffers in Python.
  • Kuyruk - Simple task queue for Python.
  • TreeValue - Tree-nested data structure.
  • picologging - High-performance logging library for Python.
  • Comma - Python CSV Library for Humans.
  • numerizer - Python module to convert natural language numerics into ints and floats.
  • compose - Classic compose, with all the Pythonic features.
  • snake-egg - Python bindings for egg.
  • Red Engine - Modern scheduling library for Python. (Docs) (HN)
  • Pyslvs-UI - GUI-based (PyQt5) tool used to design 2D linkage mechanism.
  • FlowKit - Intuitive Python toolkit for flow cytometry analysis and visualization, with full support for the GatingML 2.0 standard.
  • Magniv - Python-decorator based job orchestration platform. Avoid responsibility handoffs by abstracting infra and DevOps.
  • k-Medoids - Fast K-Medoids clustering in Python with FasterPAM.
  • python-atomicwrites - Powerful Python library for atomic file writes.
  • Simplemma - Simple multilingual lemmatizer for Python.
  • Sparse - Sparse multi-dimensional arrays for the PyData ecosystem.
  • PyCM - Multi-class confusion matrix library in Python.
  • Pixie - Full-featured 2D graphics library for Python.
  • pyTooling - Collection of arbitrary useful classes, decorators, meta-classes and exceptions.
  • pyloudnorm - Flexible audio loudness meter in Python.
  • datatree - Implementation of a tree-like hierarchical data structure for xarray.
  • pint-xarray - Interface for using pint with xarray, providing convenience accessors.
  • xgcm - General Circulation Model Postprocessing with xarray.
  • addict - Python Dict that's better than heroin.
  • Fast JSON schema - Fast JSON schema validator for Python.
  • Nornir - Pluggable multi-threaded framework with inventory management to help operate collections of devices.
  • MutatorMath - Python library for piecewise linear interpolation in multiple dimensions with multiple, arbitrarily placed, masters.
  • Ubelt - Paths, Progress, Dicts, Downloads, Caching, Hashing.
  • CyToolz - High performance utility functions for iterables, functions, and dictionaries.
  • PyGeM - Python Geometrical Morphing.
  • bdsim - Simulate dynamic systems expressed in block diagram form using Python.
  • RDFLib - Python library for working with RDF, a simple yet powerful language for representing information.
  • unzip-http - Extract individual files from .zip files over http without downloading the entire archive.
  • ferret - Python package for benchmarking interpretability techniques.
  • Etils - Collection of eclectic utils for python.
  • Oxalis - Distributed async task/job queue, like Celery for asyncio world.
  • Kink - Dependency injection container made for Python.
  • Diffractsim - Diffraction simulator for exploring and visualizing physical optics.
  • Laspy - Python library for reading, modifying and creating LAS LiDAR files.
  • python-makefun - Dynamically create python functions with a proper signature.
  • video2numpy - Optimized library for large-scale extraction of frames and audio from video.
  • clip-video-encode - Easily compute clip embeddings from video frames.
  • similaritymeasures - Quantify the difference between two arbitrary curves in space.

Notes