An opinionated list of Python frameworks, libraries, tools, and resources.
-
- 🌎 pyr**: Zero-config Python project manager. Bootstraps its own runtime, app-convention, and working imports - out the box.
The #10 most-starred repo on GitHub. Put your product in front of Python developers. Become a sponsor.
AI & ML
- AI and Agents
- Deep Learning
- Machine Learning
- Natural Language Processing
- Computer Vision
- Recommender Systems
Web Development
- Web Frameworks
- Web APIs
- Web Servers
- WebSocket
- Template Engines
- Web Asset Management
- Authentication
- Admin Panels
- CMS
- Static Site Generators
HTTP & Scraping
Database & Storage
Data & Science
Developer Tools
- Algorithms and Design Patterns
- Interactive Interpreter
- Code Analysis
- Testing
- Debugging Tools
- Build Tools
- Documentation
DevOps
- DevOps Tools
- Distributed Computing
- Task Queues
- Messaging
- Job Schedulers
- Logging
- Network Virtualization
CLI & GUI
Text & Documents
Media
Python Language
- Implementations
- Built-in Classes Enhancement
- Functional Programming
- Asynchronous Programming
- Date and Time
Python Toolchain
Security
Miscellaneous
AI & ML
Libraries for building AI applications, LLM integrations, and autonomous agents.
- Agent Skills
53⭐4🍴django-ai-plugins) - Django backend agent skills for Django, DRF, Celery, and Django-specific code review.641⭐36🍴sentry-skills) - Python-focused engineering skills for code review, debugging, and backend workflows.4844⭐420🍴trailofbits-skills) - Python-friendly security skills for auditing, testing, and safer backend development. Also376⭐18🍴skills-curated).
- Orchestration
4453⭐595🍴ag2) - An open-source AgentOS for multi-agent orchestration and building agentic AI systems.57504⭐8665🍴autogen) - A programming framework for building agentic AI applications.1300⭐123🍴bub) - A lightweight, hook-first Python framework for channel-native agents that live alongside people.50098⭐6895🍴crewai) - A framework for orchestrating role-playing autonomous AI agents for collaborative task solving.34029⭐2845🍴dspy) - A framework for programming, not prompting, language models.120681⭐17955🍴hermes-agent) - An adaptive AI agent framework that grows with you.135149⭐22351🍴langchain) - Building applications with LLMs through composability.25427⭐3882🍴openai-agents) - OpenAI's framework for building and managing AI agents.1593⭐113🍴OpenChronicle) - Open-source, local-first memory for any tool-capable LLM agent.16684⭐1991🍴pydantic-ai) - A Python agent framework for building generative AI applications with structured schemas.53820⭐9777🍴TradingAgents) - A multi-agents LLM financial trading framework.
- Data Layer
12838⭐1028🍴instructor) - A library for extracting structured data from LLMs, powered by Pydantic.48987⭐7324🍴llama-index) - A data framework for your LLM application.54235⭐6105🍴mem0) - An intelligent memory layer for AI agents enabling personalized interactions.
- Pre-trained Models and Inference
33474⭐6950🍴diffusers) - A library that provides pre-trained diffusion models for generating and editing images, audio, and video.5049⭐623🍴mlx-lm) - Run and fine-tune large language models on Apple Silicon with MLX.26576⭐5593🍴sglang) - A high-performance serving framework for large language models and multimodal models.160004⭐33035🍴transformers) - A framework that lets you easily use pre-trained transformer models for NLP, vision, and audio tasks.63119⭐5525🍴unsloth) - A library for faster LLM fine-tuning and training with reduced memory usage.78349⭐16173🍴vllm) - A high-throughput and memory-efficient inference and serving engine for LLMs.
- Speech
98522⭐12110🍴openai-whisper) - A general-purpose automatic speech recognition model trained on 680k hours of multilingual and multitask supervised data.43146⭐4894🍴vibevoice) - A family of open-source voice AI models from Microsoft for text-to-speech and long-form speech recognition.16087⭐1899🍴voxcpm) - A tokenizer-free text-to-speech foundation model for multilingual speech generation and voice cloning.
Frameworks for Neural Networks and Deep Learning. Also see 27980⭐ 6299🍴 awesome-deep-learning).
35494⭐3542🍴jax) - A library for high-performance numerical computing with automatic differentiation and JIT compilation.64048⭐19762🍴keras) - A high-level deep learning library with support for JAX, TensorFlow, and PyTorch backends.31089⭐3710🍴pytorch-lightning) - Deep learning framework to train, deploy, and ship AI products Lightning fast.99486⭐27607🍴pytorch) - Tensors and Dynamic neural networks in Python with strong GPU acceleration.13174⭐2118🍴stable-baselines3) - PyTorch implementations of Stable Baselines (deep) reinforcement learning algorithms.194917⭐75290🍴tensorflow) - The most popular Deep Learning framework created by Google.
Libraries for Machine Learning. Also see 72314⭐ 15423🍴 awesome-machine-learning).
8919⭐1287🍴catboost) - A fast, scalable, high performance gradient boosting on decision trees library.2231⭐341🍴feature_engine) - sklearn compatible API with the widest toolset for feature engineering and selection.7487⭐2032🍴h2o) - Open Source Fast Scalable Machine Learning Platform.18299⭐4006🍴lightgbm) - A fast, distributed, high performance gradient boosting framework.39065⭐6193🍴mindsdb) - MindsDB is an open source AI layer for existing databases that allows you to effortlessly develop, train and deploy state-of-the-art machine learning models using standard queries.3263⭐1124🍴pgmpy) - A Python library for probabilistic graphical models and Bayesian networks.65933⭐26979🍴scikit-learn) - The most popular Python library for Machine Learning with extensive documentation and community support.43204⭐29162🍴spark.ml) - 🌎 Apache Spark's scalable 🌎 Machine Learning library for distributed computing.568⭐83🍴TabGAN) - Synthetic tabular data generation using GANs, Diffusion Models, and LLMs.18744⭐1821🍴timesfm) - A pretrained foundation model from Google Research for time-series forecasting.28321⭐8865🍴xgboost) - A scalable, portable, and distributed gradient boosting library.
Libraries for working with human languages.
- General
16399⭐4411🍴gensim) - Topic Modeling for Humans.14597⭐3004🍴nltk) - A leading platform for building Python programs to work with human language data.33519⭐4675🍴spacy) - A library for industrial-strength natural language processing in Python and Cython.7783⭐943🍴stanza) - The Stanford NLP Group's official Python library, supporting 60+ languages.
- Chinese
Libraries for Computer Vision.
29362⭐3562🍴easyocr) - Ready-to-use OCR with 40+ languages supported.?⭐?🍴kornia) - Open Source Differentiable Computer Vision Library for PyTorch.5247⭐1008🍴opencv) - Open Source Computer Vision Library.6333⭐752🍴pytesseract) - A wrapper for Google Tesseract OCR.
Libraries for building recommender systems.
14230⭐1219🍴annoy) - Approximate Nearest Neighbors in C++/Python optimized for memory usage.3785⭐628🍴implicit) - A fast Python implementation of collaborative filtering for implicit datasets.6775⭐1053🍴scikit-surprise) - A scikit for building and analyzing recommender systems.
Web Development
Traditional full stack web frameworks. Also see Web APIs.
- Synchronous
8754⭐1497🍴bottle) - A fast and simple micro-framework distributed as a single file with no dependencies.87345⭐33833🍴django) - The most popular web framework in Python.1915⭐288🍴awesome-django)
71454⭐16819🍴flask) - A microframework for Python.12718⭐1579🍴awesome-flask)
4081⭐894🍴pyramid) - A small, fast, down-to-earth, open source Python web framework.570⭐56🍴awesome-pyramid)
6922⭐306🍴fasthtml) - The fastest way to create an HTML app.78⭐8🍴awesome-fasthtml)
2364⭐137🍴masonite) - The modern and developer centric Python web framework.
- Asynchronous
8179⭐543🍴litestar) - Production-ready, capable and extensible ASGI Web framework.2107⭐154🍴microdot) - The impossibly small web framework for Python and MicroPython.28313⭐1707🍴reflex) - A framework for building reactive, full-stack web applications entirely with Python.7223⭐328🍴robyn) - A high-performance async Python web framework with a Rust runtime.12243⭐1162🍴starlette) - A lightweight ASGI framework and toolkit for building high-performance async services.22222⭐5540🍴tornado) - A web framework and asynchronous networking library.
Libraries for building RESTful and GraphQL APIs.
- Django
1161⭐115🍴django-modern-rest) - Modern REST with speed, types, async,msgspec,pydanticand other goodies!9030⭐571🍴django-ninja) - Fast, Django REST framework based on type hints and Pydantic.29991⭐7067🍴django-rest-framework) - A powerful and flexible toolkit to build web APIs.493⭐149🍴strawberry-django) - Strawberry GraphQL integration with Django.
- Flask
1128⭐140🍴apiflask) - A lightweight Python web API framework based on Flask and Marshmallow.
- Framework Agnostic
4581⭐783🍴connexion) - A spec-first framework that automatically handles requests based on your OpenAPI specification.9797⭐996🍴falcon) - A high-performance framework for building cloud APIs and web app backends.97705⭐9164🍴fastapi) - A modern, fast, web framework for building APIs with standard Python type hints.18643⭐1588🍴sanic) - A Python 3.6+ web server and web framework that's written to go fast.4650⭐635🍴strawberry) - A GraphQL library that leverages Python type annotations for schema definition.1407⭐164🍴webargs) - A friendly library for parsing HTTP request arguments with built-in support for popular web frameworks.
ASGI and WSGI compatible web servers.
- ASGI
2664⭐286🍴daphne) - An HTTP, HTTP/2 and WebSocket protocol server for ASGI and ASGI-HTTP.5310⭐149🍴granian) - A Rust HTTP server for Python applications built on top of Hyper and Tokio, supporting WSGI/ASGI/RSGI.1560⭐142🍴hypercorn) - An ASGI and WSGI Server based on Hyper libraries and inspired by Gunicorn.10622⭐934🍴uvicorn) - A lightning-fast ASGI server implementation, using uvloop and httptools.
- WSGI
- RPC
Libraries for working with WebSocket.
2536⭐765🍴autobahn-python) - WebSocket & WAMP for Python on Twisted and 🌎 asyncio.6348⭐822🍴channels) - Developer-friendly asynchrony for Django.5507⭐898🍴flask-socketio) - Socket.IO integration for Flask applications.265⭐18🍴picows) - Fastest WebSocket clients and servers with a frame level interface for the most demanding use-cases.5671⭐591🍴websockets) - A library for building WebSocket servers and clients with a focus on correctness and simplicity.
Libraries and tools for templating and lexing.
11596⭐1728🍴jinja) - A modern and designer friendly templating language.433⭐72🍴mako) - Hyperfast and lightweight templating for the Python platform.
Tools for managing, compressing and minifying website assets.
2871⭐609🍴django-compressor) - Compresses linked and inline JavaScript or CSS into a single cached file.2949⭐887🍴django-storages) - A collection of custom storage back ends for Django.
Libraries for implementing authentication schemes.
- OAuth
5287⭐530🍴authlib) - JavaScript Object Signing and Encryption draft implementation.10327⭐3112🍴django-allauth) - Authentication app for Django that "just works."3321⭐841🍴django-oauth-toolkit) - OAuth 2 goodies for Django.2965⭐507🍴oauthlib) - A generic and thorough implementation of the OAuth request-signing logic.
- JWT
5647⭐752🍴pyjwt) - JSON Web Token implementation in Python.
- Permissions
3900⭐587🍴django-guardian) - Implementation of per object permissions for Django 1.2+1975⭐152🍴django-rules) - A tiny but powerful app providing object-level permissions to Django, without requiring a database.
Libraries for administrative interfaces.
7924⭐868🍴ajenti) - The admin panel your servers deserve.3931⭐655🍴django-grappelli) - A jazzy skin for the Django Admin-Interface.3431⭐346🍴django-unfold) - Elevate your Django admin with a stunning modern interface, powerful features, and seamless user experience.6056⭐1634🍴flask-admin) - Simple and extensible administrative interface framework for Flask.7159⭐1141🍴flower) - Real-time monitor and web admin for Celery.405⭐20🍴func-to-web) - Instantly create web UIs from Python functions using type hints. Zero frontend code required.1794⭐168🍴jet-bridge) - Admin panel framework for any application with nice UI (ex Jet Django).
Content Management Systems.
10640⭐3199🍴django-cms) - The easy-to-use and developer-friendly enterprise CMS powered by Django.2063⭐525🍴indico) - A feature-rich event management system, made @ 🌎 CERN.20309⭐4516🍴wagtail) - A Django content management system.
Static site generator is a software that takes some text + templates as input and produces HTML files on the output.
3936⭐316🍴lektor) - An easy to use static CMS and blog engine.2729⭐466🍴nikola) - A static website and blog generator.13287⭐1834🍴pelican) - Static site generator that supports Markdown and reST syntax.
HTTP & Scraping
Libraries for working with HTTP.
16423⭐2260🍴aiohttp) - Asynchronous HTTP client/server framework for asyncio and Python.2798⭐159🍴furl) - A small Python library that makes parsing and manipulating URLs easy.489⭐22🍴httptap) - Dissects an HTTP request into DNS, TCP, TLS, wait, and transfer phases and renders the timings as a waterfall.15244⭐1134🍴httpx) - A next generation HTTP client for Python.53931⭐9876🍴requests) - HTTP Requests for Humans.4017⭐1321🍴urllib3) - A HTTP library with thread-safe connection pooling, file post support, sanity friendly.
Libraries to automate web scraping and extract web content.
- Frameworks
90781⭐10350🍴browser-use) - Make websites accessible for AI agents with easy browser automation.64670⭐6620🍴crawl4ai) - An open-source, LLM-friendly web crawler that provides lightning-fast, structured data extraction specifically designed for AI agents.4854⭐389🍴mechanicalsoup) - A Python library for automating interaction with websites.61474⭐11505🍴scrapy) - A fast high-level screen scraping and web crawling framework.
- Content Extraction
2359⭐359🍴feedparser) - Universal feed parser.2147⭐292🍴html2text) - Convert HTML to Markdown-formatted text.674⭐89🍴micawber) - A small library for extracting rich content from URLs.3680⭐545🍴sumy) - A module for automatic summarization of text documents and HTML pages.5817⭐359🍴trafilatura) - A tool for gathering text and metadata from the web, with built-in content filtering.
Libraries for sending and parsing email, and mail server management.
3479⭐463🍴modoboa) - A mail hosting and management platform including a modern Web UI.2725⭐267🍴yagmail) - Yet another Gmail/SMTP client.
Database & Storage
Libraries that implement Object-Relational Mapping or data mapping techniques.
- Relational Databases
87345⭐33833🍴django.db.models) - The Django 🌎 ORM.11800⭐1677🍴sqlalchemy) - The Python SQL Toolkit and Object Relational Mapper.3044⭐160🍴awesome-sqlalchemy)
4860⭐299🍴dataset) - Store Python dicts in a database - works with SQLite, MySQL, and PostgreSQL.11960⭐1386🍴peewee) - A small, expressive ORM.?⭐?🍴pony) - ORM that provides a generator-oriented interface to SQL.17875⭐845🍴sqlmodel) - SQLModel is based on Python type annotations, and powered by Pydantic and SQLAlchemy.5563⭐480🍴tortoise-orm) - An easy-to-use asyncio ORM inspired by Django, with relations support.
- NoSQL Databases
2674⭐285🍴beanie) - An asynchronous Python object-document mapper (ODM) for MongoDB.4351⭐1232🍴mongoengine) - A Python Object-Document-Mapper for working with MongoDB.2649⭐429🍴pynamodb) - A Pythonic interface for 🌎 Amazon DynamoDB.
Libraries for connecting and operating databases.
- MySQL -
2565⭐404🍴awesome-mysql)2526⭐445🍴mysqlclient) - MySQL connector with Python 3 support 🌎 mysql-python fork).7831⭐1440🍴pymysql) - A pure Python MySQL driver compatible to mysql-python.
- PostgreSQL -
11867⭐955🍴awesome-postgres)2374⭐240🍴psycopg) - The most popular PostgreSQL adapter for Python.
- SQLite -
394⭐47🍴awesome-sqlite)2045⭐135🍴sqlite-utils) - Python CLI utility and library for manipulating SQLite databases.- 🌎 sqlite3 - (Python standard library) SQLite interface compliant with DB-API 2.0.
- Other Relational Databases
1293⭐230🍴clickhouse-driver) - Python driver with native interface for ClickHouse.416⭐48🍴mssql-python) - Official Microsoft driver for SQL Server and Azure SQL, built on ODBC for high performance and low memory usage.
- NoSQL Databases
1428⭐576🍴cassandra-driver) - The Python Driver for Apache Cassandra.221⭐32🍴django-mongodb-backend) - Official MongoDB database backend for Django.4341⭐1139🍴pymongo) - The official Python client for MongoDB.13526⭐2674🍴redis-py) - The Python client for Redis.
Databases implemented in Python.
27656⭐2219🍴chromadb) - An open-source embedding database for building AI applications with embeddings and semantic search.37771⭐3181🍴duckdb) - An in-process SQL OLAP database management system; optimized for analytics and fast queries, similar to SQLite but for analytical workloads.1071⭐133🍴pickledb) - A simple and lightweight key-value store for Python.7500⭐608🍴tinydb) - A tiny, document-oriented database.753⭐100🍴ZODB) - A native object database for Python. A key-value and object graph database.
Libraries for caching data.
2723⭐192🍴cachetools) - Extensible memoizing collections and decorators.2268⭐238🍴django-cacheops) - A slick ORM cache with automatic granular event-driven invalidation.294⭐49🍴dogpile.cache) - dogpile.cache is a next generation replacement for Beaker made by the same authors.2872⭐164🍴python-diskcache) - SQLite and file backed cache backend with faster lookups than memcached and redis.
Libraries and software for indexing and performing search queries on data.
3754⭐1312🍴django-haystack) - Modular search for Django.4367⭐1204🍴elasticsearch-py) - The official low-level Python client for 🌎 Elasticsearch.698⭐337🍴pysolr) - A lightweight Python wrapper for 🌎 Apache Solr.
Libraries for serializing complex data types.
7231⭐691🍴marshmallow) - A lightweight library for converting complex objects to and from simple Python datatypes.2082⭐244🍴msgpack) - MessagePack serializer implementation for Python.8042⭐303🍴orjson) - Fast, correct JSON library.
Data & Science
Libraries for data analysis.
- General
4106⭐726🍴aws-sdk-pandas) - Pandas on AWS.11008⭐827🍴datasette) - An open source multi-tool for exploring and publishing data.13532⭐1787🍴data-profiling) - Generate detailed data profiling reports for pandas DataFrames.?⭐?🍴desbordante) - An open source data profiler for complex pattern discovery.6519⭐713🍴ibis) - A portable Python dataframe library with a single API for 20+ backends.10382⭐673🍴modin) - A drop-in pandas replacement that scales workflows by changing a single line of code.48590⭐19881🍴pandas) - A library providing high-performance, easy-to-use data structures and data analysis tools.63394⭐1632🍴pathway) - Real-time data processing framework for Python with reactive dataflows.38321⭐2790🍴polars) - A fast DataFrame library implemented in Rust with a Python API.
- Financial Data
18632⭐3099🍴akshare) - A financial data interface library, built for human beings!2058⭐345🍴edgartools) - Library for downloading structured data from SEC EDGAR filings and XBRL financial statements.1367⭐272🍴lumibot) - Algorithmic trading framework for backtesting and live deployment across stocks, options, crypto, futures, and forex.66619⭐6656🍴openbb) - A financial data platform for analysts, quants and AI agents.23236⭐3211🍴yfinance) - Easy Pythonic way to download market and financial data from Yahoo Finance.
Libraries for validating data. Used for forms in many cases.
3276⭐242🍴cerberus) - A lightweight and extensible data validation library.4947⭐616🍴jsonschema) - An implementation of JSON Schema for Python.4316⭐394🍴pandera) - A data validation library for dataframes, with support for pandas, polars, and Spark.27612⭐2570🍴pydantic) - Data validation using Python type hints.1848⭐222🍴voluptuous) - A Python data validation library primarily intended for validating data from untrusted sources.
Libraries for visualizing data. Also see 34953⭐ 4533🍴 awesome-javascript).
- Plotting
10341⭐845🍴altair) - Declarative statistical visualization library for Python.20376⭐4253🍴bokeh) - Interactive Web Plotting for Python.3688⭐482🍴bqplot) - Interactive Plotting Library for the Jupyter Notebook.22744⭐8325🍴matplotlib) - A Python 2D plotting library.18483⭐2804🍴plotly) - Interactive graphing library for Python.4554⭐246🍴plotnine) - A grammar of graphics for Python based on ggplot2.2757⭐418🍴pygal) - A Python SVG Charts Creator.4334⭐1151🍴pyqtgraph) - Interactive and realtime 2D/3D/Image plotting and science/engineering widgets.13829⭐2103🍴seaborn) - Statistical data visualization using Matplotlib.292⭐24🍴ultraplot) - Matplotlib wrapper for publication-ready scientific figures with minimal code. Includes advanced subplot management, panel layouts, and batteries-included geoscience plotting.3568⭐629🍴vispy) - High-performance scientific visualization based on OpenGL.
- Specialized
1598⭐395🍴cartopy) - A cartographic python library with matplotlib support.?⭐?🍴pygraphviz) - Python interface to Graphviz.
- Dashboards and Apps
Libraries for geocoding addresses and working with latitudes and longitudes.
1526⭐302🍴django-countries) - A Django app that provides a country field for models and forms.87345⭐33833🍴geodjango) - A world-class geographic web framework that is part of 🌎 Django.985⭐129🍴geojson) - Python bindings and utilities for GeoJSON.5111⭐1013🍴geopandas) - Python tools for geographic data (GeoSeries/GeoDataFrame) built on pandas.4806⭐665🍴geopy) - Python Geocoding Toolbox.
Libraries for scientific computing. Also see 358⭐ 48🍴 Python-for-Scientists).
- Core
10995⭐1254🍴numba) - Python JIT compiler to LLVM aimed at scientific Python.31915⭐12318🍴numpy) - A fundamental package for scientific computing with Python.14645⭐5714🍴scipy) - A Python-based ecosystem of open-source software for mathematics, science, and engineering.11382⭐3329🍴statsmodels) - Statistical modeling and econometrics in Python.14586⭐5267🍴sympy) - A Python library for symbolic mathematics.
- Biology and Chemistry
4991⭐1889🍴biopython) - Biopython is a set of freely available tools for biological computation.404⭐179🍴cclib) - A library for parsing and interpreting the results of computational chemistry packages.1313⭐470🍴openbabel) - A chemical toolbox designed to speak the many languages of chemical data.3406⭐1008🍴rdkit) - Cheminformatics and Machine Learning Software.
- Physics and Engineering
5134⭐2079🍴astropy) - A community Python library for Astronomy.1296⭐562🍴obspy) - A Python toolbox for seismology.411⭐119🍴pydy) - Short for Python Dynamics, used to assist with workflow in the modeling of dynamic motion.29268⭐7256🍴PythonRobotics) - This is a compilation of various robotics algorithms with visualizations.
- Simulation and Modeling
- Other
2566⭐290🍴colour) - Implementing a comprehensive number of colour theory transformations and algorithms.37983⭐2793🍴manim) - An animation engine for explanatory math videos.16858⭐3503🍴networkx) - A high-productivity software for complex networks.4426⭐612🍴shapely) - Manipulation and analysis of geometric objects in the Cartesian plane.
Libraries for quantum computing.
4940⭐1210🍴Cirq) — A Google-developed framework focused on hardware-aware quantum circuit design for NISQ devices.3179⭐775🍴pennylane) — A hybrid quantum-classical machine learning library with automatic differentiation support.7313⭐2858🍴qiskit) — An IBM-backed quantum SDK for building, simulating, and running circuits on real quantum hardware.2003⭐754🍴qutip) - Quantum Toolbox in Python.
Developer Tools
Python implementation of data structures, algorithms and design patterns. Also see 25046⭐ 2952🍴 awesome-algorithms).
- Algorithms
25428⭐4732🍴algorithms) - Minimal examples of data structures and algorithms.3933⭐228🍴sortedcontainers) - Fast and pure-Python implementation of sorted collections.220313⭐50446🍴thealgorithms) - All Algorithms implemented in Python.
- Design Patterns
42718⭐7036🍴python-patterns) - A collection of design patterns in Python.6495⭐569🍴transitions) - A lightweight, object-oriented finite state machine implementation.
Interactive Python interpreters (REPL).
13119⭐5653🍴jupyter) - A rich toolkit to help you make the most out of using Python interactively.4596⭐455🍴awesome-jupyter)
20665⭐1056🍴marimo) - Transform data and train models, feels like a next-gen notebook, stored as Git-friendly Python.5425⭐290🍴ptpython) - Advanced Python REPL built on top of the10425⭐781🍴python-prompt-toolkit).
Tools of static analysis, linters and code quality checkers. Also see 14513⭐ 1461🍴 awesome-static-analysis).
- Code Analysis
4569⭐327🍴code2flow) - Turn your Python and JavaScript code into DOT flowcharts.2075⭐180🍴prospector) - A tool to analyze Python code.1273⭐196🍴repowise) - Codebase intelligence that indexes repos into dependency graphs, git history, and auto-generated docs with dead code detection.4554⭐185🍴vulture) - A tool for finding and analyzing dead Python code.
- Code Linters
7976⭐754🍴bandit) - A tool designed to find common security issues in Python code.3780⭐342🍴flake8) - A wrapper aroundpycodestyle,pyflakesand McCabe.1274⭐51🍴awesome-flake8-extensions)
5675⭐1240🍴pylint) - A fully customizable source code analyzer.47272⭐2029🍴ruff) - An extremely fast Python linter and code formatter.
- Code Formatters
- Refactoring
2204⭐184🍴rope) - Rope is a python refactoring library.
- Type Checkers -
1955⭐78🍴awesome-python-typing) - Type Annotations Generators
4998⭐203🍴monkeytype) - A system for Python that generates static type annotations by collecting runtime types.5033⭐290🍴pytype) - Pytype checks and infers types for Python code - without requiring type annotations.
Libraries for testing codebases and generating test data.
- Frameworks
8597⭐643🍴hypothesis) - Hypothesis is an advanced Quickcheck style property based testing library.13806⭐3104🍴pytest) - A mature full-featured Python testing tool.11601⭐2543🍴robotframework) - A generic test automation framework.1487⭐104🍴scanapi) - Automated Testing and Documentation for your REST API.- 🌎 unittest - (Python standard library) Unit testing framework.
- Test Runners
- GUI / Web Testing
27739⭐3205🍴locust) - Scalable user load testing tool written in Python.14562⭐1145🍴playwright-python) - Python version of the Playwright testing and automation library.12457⭐1407🍴pyautogui) - PyAutoGUI is a cross-platform GUI automation Python module for human beings.3244⭐207🍴schemathesis) - A tool for automatic property-based testing of web applications built with Open API / Swagger specifications.34067⭐8676🍴selenium) - Python bindings for 🌎 Selenium 🌎 WebDriver.
- Mock
4501⭐297🍴freezegun) - Travel through time by mocking the datetime module.- 🌎 mock - (Python standard library) A mocking and patching library.
309⭐50🍴mocket) - A socket mock framework with gevent/asyncio/SSL support.4340⭐365🍴responses) - A utility library for mocking out the requests Python library.792⭐55🍴respx) - Mock HTTPX with awesome request patterns and response side effects.2961⭐425🍴vcrpy) - Record and replay HTTP interactions on your tests.
- Object Factories
3788⭐415🍴factory_boy) - A test fixtures replacement for Python.1456⭐113🍴polyfactory) - mock data generation library with support to classes (continuation ofpydantic-factories)
- Code Coverage
3362⭐478🍴coverage) - Code coverage measurement.
- Fake Data
Libraries for debugging code.
- pdb-like Debugger
- Tracing
402⭐25🍴manhole) - Debugging UNIX socket connections and present the stacktraces for all threads and an interactive prompt.866⭐51🍴python-hunter) - A flexible code tracing toolkit.
- Profiler
- Others
8359⭐1083🍴django-debug-toolbar) - Display various debug information for Django.978⭐149🍴flask-debugtoolbar) - A port of the django-debug-toolbar to flask.10044⭐218🍴icecream) - Inspect variables, expressions, and program execution with a single, simple function call.876⭐63🍴memory_graph) - Visualize Python data at runtime to debug references, mutability, and aliasing.
Compile software from source code.
513⭐284🍴bitbake) - A make-like build tool for embedded Linux.4743⭐392🍴invoke) - A tool for managing shell-oriented subprocesses and organizing executable Python code into CLI-invokable tasks.9054⭐864🍴platformio) - A console tool to build code with different development platforms.1978⭐273🍴pybuilder) - A continuous build tool written in pure Python.2043⭐188🍴doit) - A task runner and build tool.2370⭐341🍴scons) - A software construction tool.
Libraries for generating project documentation.
?⭐?🍴sphinx) - Python Documentation generator.973⭐75🍴awesome-sphinxdoc)
42222⭐2726🍴diagrams) - Diagram as Code.?⭐?🍴mkdocs) - Markdown friendly documentation generator.2498⭐222🍴pdoc) - Epydoc replacement to auto generate API documentation for Python libraries.
DevOps
Software and libraries for DevOps.
- Cloud Providers
- Configuration Management
68430⭐24155🍴ansible) - A radically simple IT automation platform.3671⭐1060🍴cloudinit) - A multi-distribution package that handles early initialization of a cloud instance.5893⭐1620🍴openstack) - Open source software for building private and public clouds.4968⭐482🍴pyinfra) - A versatile CLI tools and python libraries to automate infrastructure.15359⭐5587🍴saltstack) - Infrastructure automation and management system.
- Deployment
- Monitoring and Processes
11150⭐1477🍴psutil) - A cross-platform process and system utilities module.2174⭐609🍴sentry-python) - Sentry SDK for Python.7233⭐506🍴sh) - A full-fledged subprocess replacement for Python.9037⭐1267🍴supervisor) - Supervisor process control system for UNIX.
- Other
13248⭐844🍴borg) - A deduplicating archiver with compression and encryption.2006⭐201🍴chaostoolkit) - A Chaos Engineering toolkit & Orchestration for Developers.15208⭐957🍴pre-commit) - A framework for managing and maintaining multi-language pre-commit hooks.
Frameworks and libraries for Distributed Computing.
- Batch Processing
13808⭐1867🍴dask) - A flexible parallel computing library for analytic computing.18708⭐2449🍴luigi) - A module that helps you build complex pipelines of batch jobs.907⭐134🍴mpi4py) - Python bindings for MPI.43204⭐29162🍴pyspark) - 🌎 Apache Spark Python API.4341⭐451🍴joblib) - A set of tools to provide lightweight pipelining in Python.?⭐?🍴ray) - A system for parallel and distributed Python that unifies the machine learning ecosystem.
Libraries for working with task queues.
28415⭐5024🍴celery) - An asynchronous task queue/job queue based on distributed message passing.5216⭐359🍴dramatiq) - A fast and reliable background task processing library for Python 3.5937⭐395🍴huey) - Little multi-threaded task queue.10627⭐1467🍴rq) - Simple job queues for Python.
Libraries for working with message brokers and event streaming.
5130⭐342🍴faststream) - A framework for building asynchronous services over Apache Kafka, RabbitMQ, NATS, MQTT and Redis.
Libraries for scheduling jobs.
45216⭐16942🍴airflow) - Airflow is a platform to programmatically author, schedule and monitor workflows.7458⭐759🍴apscheduler) - A light but powerful in-process task scheduler that lets you schedule functions.15398⭐2102🍴dagster) - An orchestration platform for the development, production, and observation of data assets.22260⭐2278🍴prefect) - A modern workflow orchestration framework that makes it easy to build, schedule and monitor robust data pipelines.12246⭐998🍴schedule) - Python job scheduling for humans.1877⭐337🍴SpiffWorkflow) - A powerful workflow engine implemented in pure Python.
Libraries for generating and working with logs.
105⭐11🍴logfmter) - A standard library compatible logfmt formatter.- 🌎 logging - (Python standard library) Logging facility for Python.
23834⭐789🍴loguru) - Library which aims to bring enjoyable logging in Python.4740⭐276🍴structlog) - Structured logging made easy.
Tools and libraries for Virtual Networking and SDN (Software Defined Networking).
5798⭐1796🍴mininet) - A popular network emulator and API written in Python.2450⭐585🍴napalm) - Cross-vendor API to manipulate network devices.12247⭐2210🍴scapy) - A brilliant packet manipulation library.
CLI & GUI
Libraries for building command-line applications.
- CLI Development
- 🌎 argparse - (Python standard library) Command-line option and argument parsing.
1343⭐119🍴cement) - CLI Application Framework for Python.?⭐?🍴click) - A package for creating beautiful command line interfaces in a composable way.28185⭐1477🍴python-fire) - A library for creating command line interfaces from absolutely any Python object.10425⭐781🍴python-prompt-toolkit) - A library for building powerful interactive command lines.19297⭐885🍴typer) - Modern CLI framework that uses Python type hints. Built on Click and Pydantic.
- Terminal Rendering
6265⭐233🍴alive-progress) - A new kind of Progress Bar, with real-time throughput, eta and very cool animations.4275⭐264🍴asciimatics) - A package to create full-screen text UIs (from interactive forms to ASCII animations).3778⭐272🍴colorama) - Cross-platform colored terminal text.56211⭐2123🍴rich) - Python library for rich text and beautiful formatting in the terminal. Also provides a greatRichHandlerlog handler.35611⭐1184🍴textual) - A framework for building interactive user interfaces that run in the terminal and the browser.31139⭐1448🍴tqdm) - Fast, extensible progress bar for loops and CLI.
Useful CLI-based tools for productivity.
- Productivity Tools
24838⭐2226🍴cookiecutter) - A command-line utility that creates projects from cookiecutters (project templates).3312⭐254🍴copier) - A library and command-line utility for rendering projects templates.3560⭐100🍴doitlive) - A tool for live presentations in the terminal.96721⭐3932🍴thefuck) - Correcting your previous console command.4490⭐238🍴tmuxp) - A44920⭐2589🍴tmux) session manager.?⭐?🍴xonsh) - A Python-powered shell. Full-featured and cross-platform.158933⭐13151🍴yt-dlp) - A command-line program to download videos from YouTube and other video sites, a fork of youtube-dl.
- CLI Enhancements
38010⭐3926🍴httpie) - A command line HTTP client, a user-friendly cURL replacement.2731⭐117🍴iredis) - Redis CLI with autocompletion and syntax highlighting.3232⭐91🍴litecli) - SQLite CLI with autocompletion and syntax highlighting.11907⭐689🍴mycli) - MySQL CLI with autocompletion and syntax highlighting.13128⭐589🍴pgcli) - PostgreSQL CLI with autocompletion and syntax highlighting.
Libraries for working with graphical user interface applications.
- Desktop
13322⭐1163🍴customtkinter) - A modern and customizable python UI-library based on Tkinter.15392⭐782🍴dearpygui) - A Simple GPU accelerated Python GUI framework1575⭐132🍴enaml) - Creating beautiful user-interfaces with Declarative Syntax like QML.18918⭐3144🍴kivy) - A library for creating NUI applications, running on Windows, Linux, Mac OS X, Android and iOS.2190⭐333🍴pyglet) - A cross-platform windowing and multimedia library for Python.156⭐30🍴pygobject) - Python Bindings for GLib/GObject/GIO/GTK+ (GTK+3).- 🌎 PyQt - Python bindings for the 🌎 Qt cross-platform application and UI framework.
116⭐25🍴pyside) - Qt for Python offers the official Python bindings for 🌎 Qt, this is same as PyQt but it's the official binding with different licensing.- 🌎 tkinter - (Python standard library) The standard Python interface to the Tcl/Tk GUI toolkit.
5340⭐799🍴toga) - A Python native, OS native GUI toolkit.2602⭐558🍴wxPython) - A blending of the wxWidgets C++ class library with the Python.
- Web-based
- Terminal
- Wrappers
21909⭐1047🍴gooey) - Turn command line programs into a full GUI application with one line.
Text & Documents
Libraries for parsing and manipulating plain texts.
- General
1441⭐467🍴babel) - An internationalization library for Python.2613⭐297🍴chardet) - Python 2/3 compatible character encoding detector.- 🌎 difflib - (Python standard library) Helpers for computing deltas.
4034⭐125🍴ftfy) - Makes Unicode text less broken and more consistent automagically.273⭐25🍴pangu.py) - Paranoid text spacing.1555⭐151🍴pyfiglet) - An implementation of figlet written in Python.5289⭐630🍴pypinyin) - Convert Chinese hanzi (漢字) to pinyin (拼音).1605⭐118🍴python-slugify) - A Python slugify library that translates unicode to ASCII.3526⭐258🍴textdistance) - Compute distance between sequences with 30+ algorithms.605⭐67🍴unidecode) - ASCII transliterations of Unicode text.
- Unique identifiers
- Parser
2150⭐797🍴pygments) - A generic syntax highlighter.2466⭐310🍴pyparsing) - A general purpose framework for generating parsers.706⭐105🍴python-nameparser) - Parsing human names into their individual components.3733⭐439🍴python-phonenumbers) - Parsing, formatting, storing and validating international phone numbers.1515⭐194🍴python-user-agents) - Browser user agent parser.4004⭐722🍴sqlparse) - A non-validating SQL parser.
Libraries for working with HTML and XML.
- 🌎 beautifulsoup - Providing Pythonic idioms for iterating, searching, and modifying HTML or XML.
?⭐?🍴justhtml) - A pure Python HTML5 parser that just works.3018⭐611🍴lxml) - A very fast, easy-to-use and versatile library for handling HTML and XML.687⭐178🍴markupsafe) - Implements a XML/HTML/XHTML Markup safe string for Python.2380⭐187🍴pyquery) - A jQuery-like library for parsing HTML.184⭐24🍴tinycss2) - A low-level CSS parser and generator written in Python.5734⭐470🍴xmltodict) - Working with XML feel like you are working with JSON.
Libraries for parsing and manipulating specific text formats.
- General
58673⭐4025🍴docling) - Library for converting documents into structured data.8096⭐450🍴kreuzberg) - High-performance document extraction library with a Rust core, supporting 62+ formats including PDF, Office, images with OCR, HTML, email, and archives.2232⭐538🍴pyelftools) - Parsing and analyzing ELF files and DWARF debugging information.4750⭐594🍴tablib) - A module for Tabular Datasets in XLS, CSV, JSON, YAML.
- MS Office
2625⭐433🍴docxtpl) - Editing a docx document by jinja2 template- 🌎 openpyxl - A library for reading and writing Excel 2010 xlsx/xlsm/xltx/xltm files.
1280⭐168🍴pyexcel) - Providing one API for reading, manipulating and writing csv, ods, xls, xlsx and xlsm files.5546⭐1273🍴python-docx) - Reads, queries and modifies Microsoft Word 2007/2008 docx files.3318⭐700🍴python-pptx) - Python library for creating and updating PowerPoint (.pptx) files.3933⭐663🍴xlsxwriter) - A Python module for creating Excel .xlsx files.3340⭐530🍴xlwings) - A BSD-licensed library that makes it easy to call Python from Excel and vice versa.
- PDF
696⭐77🍴pdf_oxide) - A fast PDF library for text extraction, image extraction, and markdown conversion, powered by Rust.6960⭐1024🍴pdfminer.six) - Pdfminer.six is a community maintained fork of the original PDFMiner.2704⭐221🍴pikepdf) - A powerful library for reading and editing PDF files, based on qpdf.9963⭐1561🍴pypdf) - A library capable of splitting, merging, cropping, and transforming PDF pages.- 🌎 reportlab - Allowing Rapid creation of rich PDF documents.
8910⭐802🍴weasyprint) - A visual rendering engine for HTML and CSS that can export to PDF.
- Markdown
1292⭐100🍴markdown-it-py) - Markdown parser with 100% CommonMark support, extensions, and syntax plugins.4198⭐900🍴markdown) - A Python implementation of John Gruber’s Markdown.117957⭐7757🍴markitdown) - Python tool for converting files and office documents to Markdown.3020⭐281🍴mistune) - Fastest and full featured pure Python parsers of Markdown.
- Data Formats
Libraries for file manipulation.
- 🌎 mimetypes - (Python standard library) Map filenames to MIME types.
- 🌎 pathlib - (Python standard library) A cross-platform, object-oriented path library.
2905⭐303🍴python-magic) - A Python interface to the libmagic file type identification library.7326⭐748🍴watchdog) - API and shell utilities to monitor file system events.2467⭐132🍴watchfiles) - Simple, modern and fast file watching and code reload in python.
Media
Libraries for manipulating images.
13535⭐2430🍴pillow) - Pillow is the friendly 🌎 PIL fork.1898⭐226🍴pymatting) - A library for alpha matting.654⭐135🍴python-barcode) - Create barcodes in Python with no extra dependencies.4890⭐726🍴python-qrcode) - A pure Python QR Code generator.797⭐56🍴pyvips) - A fast image processing library with low memory needs.6504⭐2371🍴scikit-image) - A Python library for (scientific) image processing.10474⭐864🍴thumbor) - A smart imaging service. It enables on-demand crop, re-sizing and flipping of images.1483⭐200🍴wand) - Python bindings for 🌎 MagickWand, C API for ImageMagick.
Libraries for manipulating audio, video, and their metadata.
- Audio
2606⭐383🍴gtts) - Python library and CLI tool for converting text to speech using Google Translate TTS.8358⭐1049🍴librosa) - Python library for audio and music analysis.2498⭐267🍴matchering) - A library for automated reference audio mastering.9757⭐1126🍴pydub) - Manipulate audio with a simple and easy high level interface.
- Video
- Metadata
15042⭐2016🍴beets) - A music library manager and 🌎 MusicBrainz tagger.1889⭐188🍴mutagen) - A Python module to handle audio metadata.812⭐104🍴tinytag) - A library for reading music meta data of MP3, OGG, FLAC and Wave files.
Awesome game development libraries.
2016⭐366🍴arcade) - Arcade is a modern Python framework for crafting games with compelling graphics and sound.5110⭐869🍴panda3d) - 3D game engine developed by Disney.339⭐52🍴py-sdl2) - A ctypes based wrapper for the SDL2 library.8736⭐4093🍴pygame) - Pygame is a set of Python modules designed for writing games.404⭐126🍴pyopengl) - Python ctypes bindings for OpenGL and it's related APIs.6434⭐876🍴renpy) - A Visual Novel engine.
Python Language
Implementations of Python.
72487⭐34499🍴cpython) - Default, most widely used implementation of the Python programming language written in C.10711⭐1612🍴cython) - Optimizing Static Compiler for Python.2739⭐311🍴ironpython) - Implementation of the Python programming language written in C#.21661⭐8810🍴micropython) - A lean and efficient Python programming language implementation.14549⭐1012🍴pyodide) - Python distribution for the browser and Node.js based on WebAssembly.1714⭐112🍴pypy) - A very fast and compliant implementation of the Python language.
Libraries for enhancing Python built-in classes.
5773⭐430🍴attrs) - Replacement for__init__,__eq__,__repr__, etc. boilerplate in class definitions.1577⭐65🍴bidict) - Efficient, Pythonic bidirectional map data structures and related functionality.2819⭐121🍴box) - Python dictionaries with advanced dot notation access.
Functional Programming with Python.
4325⭐141🍴coconut) - A variant of Python built for simple, elegant, Pythonic functional programming.- 🌎 functools - (Python standard library) Higher-order functions and operations on callable objects.
3500⭐151🍴funcy) - A fancy and practical functional tools.4058⭐316🍴more-itertools) - More routines for operating on iterables, beyonditertools.4271⭐147🍴returns) - A set of type-safe monads, transformers, and composition utilities.5140⭐270🍴toolz) - A collection of functional utilities for iterators, functions, and dictionaries. Also available as?⭐?🍴cytoolz) for Cython-accelerated performance.
Libraries for asynchronous, concurrent and parallel execution. Also see 5047⭐ 348🍴 awesome-asyncio).
2447⭐201🍴anyio) - A high-level async concurrency and networking framework that works on top of asyncio or trio.- 🌎 asyncio - (Python standard library) Asynchronous I/O, event loop, coroutines and tasks.
5047⭐348🍴awesome-asyncio)
- 🌎 concurrent.futures - (Python standard library) A high-level interface for asynchronously executing callables.
6443⭐964🍴gevent) - A coroutine-based Python networking library that uses1826⭐265🍴greenlet).- 🌎 multiprocessing - (Python standard library) Process-based parallelism.
7249⭐393🍴trio) - A friendly library for async concurrency and I/O.5960⭐1209🍴twisted) - An event-driven networking engine.11775⭐604🍴uvloop) - Ultra fast asyncio event loop.
Libraries for working with dates and times.
2804⭐493🍴dateparser) - A Python parser for human-readable dates in dozens of languages.2613⭐543🍴dateutil) - Extensions to the standard Python 🌎 datetime module.6660⭐426🍴pendulum) - Python datetimes made easy.- 🌎 zoneinfo - (Python standard library) IANA time zone support. Brings the 🌎 tz database into Python.
Python Toolchain
Libraries for Python version and virtual environment management.
109⭐3🍴KillPy) - Analyze, detect, and clean unused Python environments and pipx packages.44674⭐3249🍴pyenv) - Simple Python version management.7194⭐579🍴pyenv-win) - Pyenv for Windows.84030⭐3008🍴uv) - An extremely fast Python version, package and project manager, written in Rust.5034⭐1089🍴virtualenv) - A tool to create isolated Python environments.
Libraries for package and dependency management.
?⭐?🍴conda) - Cross-platform, Python-agnostic binary package manager.10182⭐3261🍴pip) - The package installer for Python.12757⭐558🍴pipx) - Install and Run Python Applications in Isolated Environments. Likenpxin Node.js.34279⭐2435🍴poetry) - Python dependency management and packaging made easy.84030⭐3008🍴uv) - An extremely fast Python version, package and project manager, written in Rust.
Local PyPI repository server and proxies.
?⭐?🍴bandersnatch) - PyPI mirroring tool provided by Python Packaging Authority (PyPA).1167⭐145🍴devpi) - PyPI server and packaging/testing/release tool.4009⭐1149🍴warehouse) - Next generation Python Package Repository (PyPI).
Libraries to create packaged executables for release distribution.
1536⭐238🍴cx-Freeze) - It is a Python tool that converts Python scripts into standalone executables and installers for Windows, macOS, and Linux.14777⭐771🍴Nuitka) - Compiles Python programs into high-performance standalone executables (cross-platform, supports all Python versions).5056⭐355🍴pyarmor) - A tool used to obfuscate python scripts, bind obfuscated scripts to fixed machine or expire obfuscated scripts.12966⭐2020🍴pyinstaller) - Converts Python programs into stand-alone executables (cross-platform).1927⭐110🍴shiv) - A command line utility for building fully self-contained zipapps (PEP 441), but with all their dependencies included.
Libraries for storing and parsing configuration options.
- 🌎 configparser - (Python standard library) INI file parser.
4290⭐320🍴dynaconf) - Dynaconf is a configuration manager with plugins for Django, Flask and FastAPI.10337⭐831🍴hydra) - Hydra is a framework for elegantly configuring complex applications.3031⭐216🍴python-decouple) - Strict separation of settings from code.8743⭐522🍴python-dotenv) - Reads key-value pairs from a.envfile and sets them as environment variables.
Security
7565⭐1740🍴cryptography) - A package designed to expose cryptographic primitives and recipes to Python developers.9738⭐2048🍴paramiko) - The leading native Python SSHv2 protocol library.1193⭐255🍴pynacl) - Python binding to the Networking and Cryptography (NaCl) library.
Frameworks and tools for penetration testing.
43289⭐4532🍴mitmproxy) - An interactive TLS-capable intercepting HTTP proxy for penetration testers and software developers.14817⭐3345🍴setoolkit) - A toolkit for social engineering.82554⭐9628🍴sherlock) - Hunt down social media accounts by username across social networks.37158⭐6237🍴sqlmap) - Automatic SQL injection and database takeover tool.
Libraries for application-layer web security.
991⭐31🍴secure) - HTTP security headers for Python web applications with ASGI and WSGI middleware.
Miscellaneous
Libraries for programming with hardware.
2392⭐350🍴bleak) - A cross platform Bluetooth Low Energy Client for Python using asyncio.2138⭐285🍴pynput) - A library to control and monitor input devices.
Python programming on Microsoft Windows.
5450⭐773🍴pythonnet) - Python Integration with the .NET Common Language Runtime (CLR).5552⭐851🍴pywin32) - Python Extensions for Windows.2260⭐351🍴winpython) - Portable development environment for Windows 10/11.
Useful libraries or tools that don't fit in the categories above.
2049⭐192🍴blinker) - A fast Python in-process signal/event dispatching system.6878⭐391🍴boltons) - A set of pure-Python utilities.3112⭐236🍴itsdangerous) - Various helpers to pass trusted data to untrusted environments.183⭐66🍴tryton) - A general-purpose business framework.
Where to discover learning resources or new Python libraries.
- 🌎 Python Developer Tooling Handbook - Comprehensive guide to modern Python developer tools covering package management, linting, type checking, testing, and more.
Your contributions are always welcome! Please take a look at the contribution guidelines first.
If you have any question about this opinionated list, do not hesitate to contact 🌎 @vinta on X (Twitter).
294718⭐ 27785🍴 vinta/awesome-python)