click
– Elegant CLI toolkitfire
– Auto-generate CLIs from Python objectsargparse
– Built-in argument parsing (standard library)typer
– Modern CLI with type hints (built onclick
)
rich
– Beautiful terminal formatting & loggingtextual
– Interactive TUI framework (like GUI but in terminal)prompt-toolkit
– Advanced CLI input & interactive promptsblessed
– Terminal styling & keyboard input
streamlit
– Fast web-based data appstkinter
– Built-in GUI toolkit (standard library)PyQt
/PySide
– Qt-based GUI frameworksDear PyGui
– Lightweight GPU-accelerated GUIKivy
– Cross-platform GUI for touch/mobile
- Frameworks:
FastAPI
– Modern async API frameworkFlask
– Lightweight WSGI web frameworkDjango
– Full-featured web framework (batteries included)Sanic
– Async web server & framework
- Templating:
Jinja2
– HTML/XML templating engine
- ASGI/WSGI Servers:
uvicorn
– ASGI server (FastAPI default)gunicorn
– WSGI server (for Flask/Django)Waitress
– Production WSGI server
torch
/PyTorch
– Deep learning frameworktensorflow
– Google’s ML frameworktransformers
(Hugging Face) – NLP modelslangchain
– LLM application frameworkollama
– Local LLM runnerscikit-learn
– Classic ML algorithmsnumpy
/pandas
– Numerical & data processing
- Formatting & Linting:
black
– Uncompromising code formatterruff
– Extremely fast linter (replacesflake8
,pylint
)flake8
– PEP 8 style checkerpylint
– Static code analysismypy
– Static type checkingisort
-
- Testing:
pytest
– Powerful testing frameworkhypothesis
– Property-based testing
- Git Hooks:
pre-commit
– Manage Git hooks (pre-commit-config
)
- Security:
bandit
– Security lintersafety
– Dependency vulnerability scanner
nginx
– High-performance web server (reverse proxy)uvicorn
– ASGI server (FastAPI)gunicorn
– WSGI server (Flask/Django)Waitress
– Production-ready WSGI server
tqdm
– Progress barsloguru
– Simplified loggingrequests
– HTTP clientaiohttp
– Async HTTP client/serveruv
(Ultra-Velocity) – Faster alternative topip