A curated list of awesome Python frameworks, libraries, tools, and resources for building production-grade systems.
- Django โ high-level web framework that encourages rapid development and clean, pragmatic design.
- Falcon โ minimalist WSGI/ASGI library for building high-performance APIs.
- FastAPI โ modern, fast web framework for building APIs with Python type hints.
- Flask โ lightweight WSGI micro web framework.
- Litestar โ performant, flexible ASGI framework with first-class OpenAPI support.
- Starlette โ lightweight ASGI framework/toolkit used as the foundation for FastAPI.
- Tornado โ web framework and asynchronous networking library.
- Ariadne โ schema-first GraphQL Python library.
- Django REST Framework โ powerful and flexible toolkit for building Web APIs on top of Django.
- djangorestframework-simplejwt โ JWT authentication plugin for Django REST Framework.
- FastAPI โ automatic OpenAPI/JSON Schema generation with dependency injection.
- graphene โ GraphQL framework for Python.
- Strawberry โ code-first GraphQL library using type annotations.
- aiofiles โ async file support for asyncio.
- aiohttp โ async HTTP client/server framework.
- anyio โ asynchronous networking and concurrency library working on top of asyncio or trio.
- asyncio โ standard library asynchronous I/O framework.
- asyncpg โ high-performance async PostgreSQL client library.
- trio โ friendly Python library for async concurrency and I/O.
- uvloop โ ultra fast asyncio event loop built on libuv.
- Arrow โ cross-language development platform for in-memory data.
- Dask โ parallel computing library that scales pandas, NumPy, and scikit-learn.
- DuckDB โ in-process analytical database with Python API.
- NumPy โ fundamental package for scientific computing.
- pandas โ powerful data structures for data analysis and manipulation.
- Polars โ lightning-fast DataFrame library written in Rust.
- SciPy โ fundamental algorithms for scientific computing.
- Vaex โ out-of-core DataFrames for big data.
- CatBoost โ fast, scalable gradient boosting with native categorical features support.
- Keras โ high-level neural networks API.
- LightGBM โ fast, distributed, high-performance gradient boosting framework.
- ONNX Runtime โ cross-platform ML model inferencing accelerator.
- PyTorch โ open source machine learning framework.
- scikit-learn โ simple and efficient tools for predictive data analysis.
- TensorFlow โ end-to-end open source ML platform.
- Transformers โ state-of-the-art ML for PyTorch, TensorFlow, and JAX.
- XGBoost โ scalable and flexible gradient boosting.
- anthropic โ official Python SDK for the Anthropic API.
- Haystack โ end-to-end NLP framework for building production-ready AI pipelines.
- Instructor โ structured outputs from LLMs using Pydantic.
- LangChain โ framework for developing applications powered by language models.
- LlamaIndex โ data framework for LLM-based applications.
- Mirascope โ library for building LLM-powered applications.
- openai โ official Python SDK for the OpenAI API.
- Outlines โ guided text generation with LLMs.
- Alembic โ database migration tool for SQLAlchemy.
- asyncpg โ high-performance async PostgreSQL client.
- Beanie โ async Python ODM for MongoDB.
- motor โ async Python driver for MongoDB.
- Peewee โ small, expressive ORM.
- psycopg โ PostgreSQL adapter for Python.
- redis-py โ Python client for Redis.
- SQLAlchemy โ Python SQL toolkit and ORM.
- SQLModel โ library for interacting with SQL databases using Python objects and Pydantic.
- Tortoise ORM โ easy-to-use asyncio ORM for Python.
- aiocache โ caching library with multiple backends for asyncio.
- cachetools โ extensible memoizing collections and decorators.
- diskcache โ disk and file-backed cache library.
- dogpile.cache โ caching front-end with dogpile locking.
- redis-py โ Python client for Redis with full-featured caching support.
- aio-pika โ async AMQP framework built on top of aiormq.
- aiormq โ pure Python asyncio AMQP client library.
- Celery โ distributed task queue.
- confluent-kafka โ Confluent's Apache Kafka client for Python.
- dramatiq โ fast and reliable background task processing library.
- kafka-python โ Python client for Apache Kafka.
- RQ โ simple job queues for Python.
- Click โ composable command line interface toolkit.
- docopt โ Pythonic command-line interface description language.
- prompt_toolkit โ library for building powerful interactive command lines.
- Questionary โ Python library for beautiful interactive prompts.
- Rich โ library for rich text and beautiful formatting in the terminal.
- Textual โ TUI (Text User Interface) framework.
- tqdm โ fast, extensible progress bar.
- Typer โ build great CLIs based on Python type hints.
- Factory Boy โ test fixtures replacement.
- Faker โ generate fake data for testing.
- freezegun โ mock datetime for testing.
- Hypothesis โ property-based testing.
- httpx โ HTTP client with async support, used for API testing.
- Locust โ load testing framework.
- pytest โ full-featured testing framework.
- pytest-asyncio โ async test support for pytest.
- pytest-cov โ coverage reporting for pytest.
- responses โ mock library for the
requestslibrary. - time-machine โ travel through time in your tests.
- bandit โ security linter for Python code.
- Black โ uncompromising Python code formatter.
- flake8 โ linting tool wrapping pycodestyle, pyflakes, and mccabe.
- isort โ sort Python imports.
- mypy โ static type checker for Python.
- pre-commit โ framework for managing git pre-commit hooks.
- pylint โ source code analyzer.
- pyright โ fast type checker from Microsoft.
- Ruff โ extremely fast Python linter and code formatter.
- vulture โ find dead Python code.
- bandit โ finds common security issues in Python code.
- certifi โ Mozilla's CA bundle for SSL certificate verification.
- cryptography โ package for cryptographic recipes and primitives.
- passlib โ comprehensive password hashing library.
- pip-audit โ audit Python packages for known vulnerabilities.
- PyJWT โ JSON Web Token implementation.
- pyOpenSSL โ Python wrapper around OpenSSL.
- safety โ checks dependencies for known security vulnerabilities.
- attrs โ Python classes without boilerplate.
- cattrs โ complex custom class converters for attrs.
- marshmallow โ ORM/ODM/framework-agnostic library for object serialization.
- msgspec โ fast serialization and validation library.
- orjson โ fast, correct Python JSON library.
- protobuf โ Protocol Buffers serialization.
- Pydantic โ data validation using Python type annotations.
- ujson โ ultra fast JSON encoder and decoder.
- aiohttp โ async HTTP client/server framework.
- grpcio โ gRPC for Python.
- httpx โ fully featured HTTP client with both sync and async APIs.
- requests โ simple, elegant HTTP library.
- urllib3 โ powerful HTTP client with thread safety.
- authlib โ library for building OAuth and OpenID Connect servers.
- casbin โ authorization library supporting ACL, RBAC, ABAC.
- fastapi-users โ user management for FastAPI.
- python-jose โ JOSE (JWT, JWS, JWE, JWK) implementation.
- python-keycloak โ Python package for Keycloak.
- Elastic APM โ Python agent for Elastic APM.
- loguru โ library that aims to bring enjoyable logging to Python.
- OpenTelemetry โ vendor-neutral observability framework.
- prometheus-client โ Prometheus instrumentation for Python.
- py-spy โ sampling profiler for Python programs.
- pyinstrument โ Python profiler.
- Sentry SDK โ error tracking and performance monitoring.
- structlog โ structured logging.
- griffe โ signatures and sources collector for Python.
- MkDocs โ static site generator for project documentation.
- MkDocs Material โ Material Design theme for MkDocs.
- pdoc โ auto-generate API documentation from Python docstrings.
- pydoc-markdown โ generate Markdown from Python docstrings.
- Sphinx โ documentation generator.
- Hatch โ modern, extensible Python project management.
- pip โ standard Python package installer.
- pip-tools โ pin your dependencies for reproducible builds.
- pipenv โ Python virtualenv management tool.
- Poetry โ dependency management and packaging tool.
- pyenv โ manage multiple Python versions.
- uv โ extremely fast Python package and project manager.
- Ansible โ IT automation platform.
- azure-sdk-for-python โ Azure SDK for Python.
- boto3 โ AWS SDK for Python.
- docker-py โ Docker SDK for Python.
- Fabric โ streamline use of SSH for application deployment.
- google-cloud-python โ Google Cloud client libraries.
- Invoke โ task execution tool and library.
- kubernetes โ official Kubernetes Python client.
- Pulumi โ infrastructure as code in Python.
- configparser โ standard library INI configuration file parser.
- dynaconf โ configuration management with environment-based layered settings.
- Hydra โ framework for elegantly configuring complex applications.
- omegaconf โ YAML-based hierarchical configuration system.
- pydantic-settings โ settings management using Pydantic.
- python-dotenv โ read key-value pairs from
.envfiles.
- Airflow โ platform to programmatically author, schedule, and monitor workflows.
- APScheduler โ advanced Python Scheduler.
- Celery โ distributed task queue with scheduling support.
- Prefect โ modern workflow orchestration.
- Rocketry โ modern scheduling framework.
- schedule โ Python job scheduling for humans.
- lxml โ powerful XML and HTML processing.
- openpyxl โ read/write Excel 2010 xlsx/xlsm/xltx/xltm files.
- Pillow โ Python Imaging Library fork.
- pypdf โ PDF library for reading, writing and splitting PDF files.
- python-docx โ create and update Microsoft Word files.
- python-pptx โ create and update PowerPoint files.
- PyYAML โ YAML parser and emitter.
- toml โ standard library TOML parser (Python 3.11+).
- dnspython โ DNS toolkit.
- paramiko โ SSHv2 protocol library.
- pyserial โ Python serial port access library.
- pyzmq โ Python bindings for ZeroMQ.
- Scapy โ packet manipulation library.
- websockets โ WebSockets client and server.
Official
- Python Docs โ official Python documentation.
- PyPI โ Python Package Index.
- Python Enhancement Proposals โ PEPs index.
Learning
- Real Python โ tutorials for Python developers of all skill levels.
- Python Weekly โ weekly Python newsletter.
- PyCoder's Weekly โ weekly Python news and articles.
Community
- Python Discord โ active Python community on Discord.
- r/Python โ Python subreddit.
- EuroPython โ largest Python conference in Europe.
- PyCon โ Python Conference.
Style Guides
- PEP 8 โ Style Guide for Python Code.
- Google Python Style Guide โ Google's Python style guide.
- The Hitchhiker's Guide to Python โ best practices for Python development.
See CONTRIBUTING.md for guidelines.
MIT ยฉ Think Cube