52 libraries — pip install, PyPI version, mirror commands.
Python Libraries — pip install reference
| Library | Category | Version | Install | Description |
|---|---|---|---|---|
| numpy | Data Science | 1.26 | pip install numpy | Array math, linear algebra, FFT |
| pandas | Data Science | 2.2 | pip install pandas | DataFrames, CSV/Excel/SQL I/O, groupby |
| scipy | Data Science | 1.13 | pip install scipy | Scientific algorithms, stats, signal, optimize |
| statsmodels | Data Science | 0.14 | pip install statsmodels | Statistical models, econometrics, time series |
| polars | Data Science | 0.20 | pip install polars | Blazing-fast DataFrame (Rust-backed) |
| scikit-learn | Machine Learning | 1.4 | pip install scikit-learn | Classical ML: SVM, trees, clustering, pipelines |
| xgboost | Machine Learning | 2.0 | pip install xgboost | Gradient boosted trees (tabular SOTA) |
| lightgbm | Machine Learning | 4.3 | pip install lightgbm | Fast GBDT, low memory, Microsoft |
| catboost | Machine Learning | 1.2 | pip install catboost | Gradient boosting for categorical features |
| optuna | Machine Learning | 3.6 | pip install optuna | Hyperparameter optimization framework |
| torch | Deep Learning | 2.3 | pip install torch | PyTorch — autograd, NN, GPU (Meta) |
| tensorflow | Deep Learning | 2.16 | pip install tensorflow | TF + Keras — end-to-end DL platform (Google) |
| keras | Deep Learning | 3.3 | pip install keras | High-level DL API (multi-backend) |
| jax | Deep Learning | 0.4 | pip install jax | Autograd + XLA JIT, NumPy-compatible (Google) |
| onnx | Deep Learning | 1.16 | pip install onnxruntime | Open Neural Network Exchange format + runtime |
| transformers | LLM / AI Agents | 4.40 | pip install transformers | HuggingFace — 500+ pretrained models |
| langchain | LLM / AI Agents | 0.2 | pip install langchain | LLM chains, agents, RAG pipelines |
| openai | LLM / AI Agents | 1.30 | pip install openai | OpenAI API client (GPT, DALL-E, Whisper) |
| anthropic | LLM / AI Agents | 0.26 | pip install anthropic | Anthropic Claude API client |
| llama-index | LLM / AI Agents | 0.10 | pip install llama-index | Data framework for LLM applications (RAG) |
| sentence-transformers | LLM / AI Agents | 2.7 | pip install sentence-transformers | Sentence embeddings, semantic similarity |
| fastapi | Web Frameworks | 0.111 | pip install fastapi | Async REST APIs, auto OpenAPI docs, Pydantic |
| django | Web Frameworks | 5.0 | pip install django | Full-stack web framework, ORM, admin, batteries |
| flask | Web Frameworks | 3.0 | pip install flask | Micro web framework, WSGI, extensible |
| starlette | Web Frameworks | 0.37 | pip install starlette | ASGI toolkit (base for FastAPI) |
| aiohttp | Web Frameworks | 3.9 | pip install aiohttp | Async HTTP client + server |
| requests | HTTP & Networking | 2.32 | pip install requests | Simple HTTP client, sessions, auth |
| httpx | HTTP & Networking | 0.27 | pip install httpx | Modern HTTP client, async support |
| paramiko | HTTP & Networking | 3.4 | pip install paramiko | SSH2 client/server, SCP, SFTP |
| websockets | HTTP & Networking | 12.0 | pip install websockets | WebSocket client + server (async) |
| scapy | HTTP & Networking | 2.5 | pip install scapy | Packet crafting, network analysis |
| matplotlib | Visualization | 3.9 | pip install matplotlib | 2D/3D plots, publication-quality figures |
| seaborn | Visualization | 0.13 | pip install seaborn | Statistical visualization on top of matplotlib |
| plotly | Visualization | 5.22 | pip install plotly | Interactive charts, Dash web apps |
| bokeh | Visualization | 3.4 | pip install bokeh | Interactive web visualizations |
| altair | Visualization | 5.3 | pip install altair | Declarative Vega-Lite visualization |
| sqlalchemy | Database & ORM | 2.0 | pip install sqlalchemy | SQL toolkit + ORM, supports all major DBs |
| psycopg2 | Database & ORM | 2.9 | pip install psycopg2-binary | PostgreSQL adapter (C-based) |
| pymongo | Database & ORM | 4.7 | pip install pymongo | MongoDB driver |
| redis | Database & ORM | 5.0 | pip install redis | Redis client (sync + async) |
| motor | Database & ORM | 3.4 | pip install motor | Async MongoDB driver (asyncio) |
| tortoise-orm | Database & ORM | 0.21 | pip install tortoise-orm | Async ORM inspired by Django |
| click | CLI & Output | 8.1 | pip install click | Command-line interface toolkit |
| typer | CLI & Output | 0.12 | pip install typer | FastAPI-style CLI from type hints |
| rich | CLI & Output | 13.7 | pip install rich | Rich text, tables, progress in terminal |
| textual | CLI & Output | 0.61 | pip install textual | TUI framework (terminal apps) |
| pydantic | Utilities | 2.7 | pip install pydantic | Data validation via Python type hints |
| loguru | Utilities | 0.7 | pip install loguru | Easy logging with colors and rotation |
| python-dotenv | Utilities | 1.0 | pip install python-dotenv | Load .env files into os.environ |
| pillow | Utilities | 10.3 | pip install Pillow | Image processing (PIL fork) |
| opencv-python | Utilities | 4.9 | pip install opencv-python | Computer vision, video, image processing |
| pytest | Utilities | 8.2 | pip install pytest | Testing framework, fixtures, plugins |
Mirror / Offline Install
For environments without internet access:
| Method | Command |
|---|---|
| Download wheel first | pip download numpy -d ./wheels |
| Install from wheel dir | pip install --no-index --find-links=./wheels numpy |
| Iran PyPI mirror (Arvan) | pip install -i https://mirror.arvancloud.ir/pypi/simple/ numpy |
| Tsinghua mirror (China) | pip install -i https://pypi.tuna.tsinghua.edu.cn/simple numpy |
| USTC mirror (China) | pip install -i https://pypi.mirrors.ustc.edu.cn/simple/ numpy |
| Aliyun mirror (China) | pip install -i https://mirrors.aliyun.com/pypi/simple/ numpy |
| requirements.txt | pip install -r requirements.txt |