Python Package Hub

Installation guides and error fixes for 227+ Python packages.

Find the right pip install command and fix common import errors — fast.

Popular Packages

aiofiles
File support for asyncio.
Async & Networking
aiohttp
Async http client/server framework (asyncio)
Web & HTTP
aiosignal
aiosignal: a list of registered asynchronous callbacks
Async & Networking
alembic
A database migration tool for SQLAlchemy.
CLI & Utilities
altair
Vega-Altair: A declarative statistical visualization library for Python.
CLI & Utilities
ansible
Radically simple IT automation
CLI & Utilities
anthropic
The official Python library for the anthropic API
General Purpose
anyio
High-level concurrency and networking framework on top of asyncio or Trio
General Purpose
apache-airflow
Programmatically author, schedule and monitor data pipelines
CLI & Utilities
APScheduler
In-process task scheduler with Cron-like capabilities
General Purpose
arch
ARCH for Python
Data & Science
arrow
Better dates & times for Python
General Purpose
async-timeout
Timeout context manager for asyncio programs
Async & Networking
asyncpg
An asyncio PostgreSQL driver
Async & Networking
attrs
Classes Without Boilerplate
General Purpose
azure-identity
Microsoft Azure Identity Library for Python
General Purpose
azure-storage-blob
Microsoft Azure Blob Storage Client Library for Python
General Purpose
babel
Internationalization utilities
General Purpose
backoff
Function decoration for backoff and retry
Web & HTTP
barcode
Design and test NGS barcodes.
Data & Science
beautifulsoup4
Screen-scraping library
General Purpose
black
The uncompromising code formatter.
CLI & Utilities
bokeh
Interactive plots and applications in the browser from Python
Data & Science
boto
Amazon Web Services Library
General Purpose
boto3
The AWS SDK for Python
General Purpose
botocore
Low-level, data-driven core of boto 3.
General Purpose
cachetools
Extensible memoizing collections and decorators
General Purpose
catboost
CatBoost Python Package
Data & Science
celery
Distributed Task Queue.
General Purpose
certifi
Python package for providing Mozilla's CA Bundle.
General Purpose
cffi
Foreign Function Interface for Python calling C code.
General Purpose
charset-normalizer
The Real First Universal Charset Detector. Open, modern and actively maintained …
CLI & Utilities
chromadb
Chroma.
General Purpose
click
Composable command line interface toolkit
CLI & Utilities
clipboard
A cross platform clipboard operation library of Python. Works for Windows, Mac a…
General Purpose
colorama
Cross-platform colored terminal text.
CLI & Utilities
coverage
Code coverage measurement for Python
Testing & QA
cryptography
cryptography is a package which provides cryptographic recipes and primitives to…
General Purpose
ctypes
create and manipulate C data types in Python, call functions in shared libraries
General Purpose
Cython
The Cython compiler for writing C extensions in the Python language.
General Purpose
dagster
Dagster is an orchestration platform for the development, production, and observ…
CLI & Utilities
dash
A Python framework for building reactive web-apps. Developed by Plotly.
Web & HTTP
dask
Parallel PyData with Task Scheduling
Data & Science
dataset
Toolkit for Python-based database access.
General Purpose
docker
A Python library for the Docker Engine API.
CLI & Utilities
duckdb
DuckDB in-process database
Data & Science
elasticsearch
Python client for Elasticsearch
General Purpose
fabric
High level SSH command execution
CLI & Utilities
faiss-cpu
A library for efficient similarity search and clustering of dense vectors.
Data & Science
Faker
Faker is a Python package that generates fake data for you.
Testing & QA
fastapi
FastAPI framework, high performance, easy to learn, fast to code, ready for prod…
Web & HTTP
filelock
A platform independent file lock.
General Purpose
fiona
Fiona reads and writes spatial data files
Data & Science
flake8
the modular source code checker: pep8 pyflakes and co
CLI & Utilities
Flask
A simple framework for building complex web applications.
Web & HTTP
folium
Make beautiful maps with Leaflet.js & Python
Data & Science
freezegun
Let your Python tests travel through time
General Purpose
frozenlist
A list-like structure which implements collections.abc.MutableSequence
General Purpose
gensim
Python framework for fast Vector Space Modelling
Data & Science
geopandas
Geographic pandas extensions
Data & Science
geopy
Python Geocoding Toolbox
Data & Science
google-api-core
Google API client core library
General Purpose
google-auth
Google Authentication Library
Web & HTTP
google-cloud-bigquery
Google BigQuery API client library
General Purpose
google-cloud-pubsub
Google Cloud Pub/Sub API client library
General Purpose
google-cloud-storage
Google Cloud Storage API client library
General Purpose
gradio
Python library for easily interacting with trained machine learning models
Data & Science
great-expectations
Always know what to expect from your data.
Data & Science
grpcio
HTTP/2-based RPC framework
General Purpose
h11
A pure-Python, bring-your-own-I/O implementation of HTTP/1.1
Web & HTTP
httpcore
A minimal low-level HTTP client.
Web & HTTP
httpretty
HTTP client mock for Python
Web & HTTP
httpx
The next generation HTTP client.
Web & HTTP
huggingface-hub
Client library to download and publish models, datasets and other repos on the h…
Data & Science
humanize
Python humanize utilities
General Purpose
hyperopt
Distributed Asynchronous Hyperparameter Optimization
Data & Science
hypothesis
The property-based testing library for Python
Testing & QA
idna
Internationalized Domain Names in Applications (IDNA)
CLI & Utilities
ImageIO
Read and write images and video across all major formats. Supports scientific an…
General Purpose
invoke
Pythonic task execution
CLI & Utilities
isort
A Python utility / library to sort Python imports.
CLI & Utilities
itsdangerous
Safely pass data to untrusted environments and back.
General Purpose
Jinja2
A very fast and expressive template engine.
Web & HTTP
joblib
Lightweight pipelining with Python functions
Data & Science
keyboard
Hook and simulate keyboard events on Windows and Linux
CLI & Utilities
Kivy
An open-source Python framework for developing GUI apps that work cross-platform…
Data & Science
kombu
Messaging library for Python.
General Purpose
kubernetes
Kubernetes python client
CLI & Utilities
langchain
Building applications with LLMs through composability
Data & Science
lightgbm
LightGBM Python-package
Machine Learning & AI
loguru
Python logging made (stupidly) simple
CLI & Utilities
lxml
Powerful and Pythonic XML processing library combining libxml2/libxslt with the …
General Purpose
mahotas
Mahotas: Computer Vision Library
Data & Science
MarkupSafe
Safely add untrusted strings to HTML/XML markup.
Web & HTTP
matplotlib
Python plotting package
Data & Science
mlflow
MLflow is an open source platform for the complete machine learning lifecycle
Data & Science
mock
Rolling backport of unittest.mock for all Pythons
Testing & QA
moto
A library that allows you to easily mock out tests based on AWS infrastructure
Testing & QA
motor
Non-blocking MongoDB driver for Tornado or asyncio
General Purpose
mouse
Hook and simulate mouse events on Windows and Linux
CLI & Utilities
msrest
AutoRest swagger generator Python client runtime.
General Purpose
multidict
multidict implementation
General Purpose
mypy
Optional static typing for Python
CLI & Utilities
networkx
Python package for creating and manipulating graphs and networks
Data & Science
nltk
Natural Language Toolkit
Data & Science
nox
Flexible test automation.
Testing & QA
numba
compiling Python code using LLVM
General Purpose
numpy
Fundamental package for array computing in Python
Data & Science
openai
The official Python library for the openai API
General Purpose
opencv-python
Wrapper package for OpenCV python bindings.
Data & Science
openpyxl
A Python library to read/write Excel 2010 xlsx/xlsm files
General Purpose
opensearch-py
Python client for OpenSearch
General Purpose
optuna
A hyperparameter optimization framework
Data & Science
packaging
Core utilities for Python packages
General Purpose
pandas
Powerful data structures for data analysis, time series, and statistics
Data & Science
panel
The powerful data exploration & web app framework for Python.
Data & Science
parameterized
Parameterized testing with any Python test framework
General Purpose
paramiko
SSH2 protocol library
General Purpose
peewee
a little orm
General Purpose
pendulum
Python datetimes made easy
General Purpose
pexpect
Pexpect allows easy control of interactive console applications.
Testing & QA
pillow
Python Imaging Library (fork)
General Purpose
pip
The PyPA recommended tool for installing Python packages.
General Purpose
playsound
Pure Python, cross platform, single function module with no dependencies for pla…
General Purpose
playwright
A high-level API to automate web browsers
Web & HTTP
plotly
An open-source interactive data visualization library for Python
Data & Science
polars
Blazingly fast DataFrame library
Data & Science
prefect
Workflow orchestration and management.
General Purpose
prophet
Automatic Forecasting Procedure
General Purpose
protobuf
General Purpose
psutil
Cross-platform lib for process and system monitoring.
CLI & Utilities
psycopg2-binary
psycopg2 - Python-PostgreSQL Database Adapter
General Purpose
ptyprocess
Run a subprocess in a pseudo terminal
CLI & Utilities
py-cpuinfo
Get CPU info with pure Python
CLI & Utilities
pyarrow
Python library for Apache Arrow
General Purpose
pyasn1-modules
A collection of ASN.1-based protocols modules
CLI & Utilities
pyasn1
Pure-Python implementation of ASN.1 types and DER/BER/CER codecs (X.208)
CLI & Utilities
PyAudio
Cross-platform audio I/O with PortAudio
General Purpose
PyAutoGUI
PyAutoGUI lets Python control the mouse and keyboard, and other GUI automation t…
General Purpose
pycparser
C parser in Python
General Purpose
pydantic-settings
Settings management using Pydantic
CLI & Utilities
pydantic
Data validation using Python type hints
General Purpose
pygame
Python Game Development
General Purpose
PyGetWindow
A simple, cross-platform module for obtaining GUI information on application's w…
General Purpose
pyglet
pyglet is a cross-platform games and multimedia package.
General Purpose
pylint
python code static checker
Testing & QA
pymongo
PyMongo - the Official MongoDB Python driver
General Purpose
PyMuPDF
A high performance Python library for data extraction, analysis, conversion & ma…
CLI & Utilities
pynput
Monitor and control user input devices
General Purpose
PyPDF2
A pure-python PDF library capable of splitting, merging, cropping, and transform…
General Purpose
pyperclip
A cross-platform clipboard module for Python. (Only handles plain text for now.)
General Purpose
pyproj
Python interface to PROJ (cartographic projections and coordinate transformation…
Data & Science
PyQt5
Python bindings for the Qt cross platform application toolkit
General Purpose
PyQt6
Python bindings for the Qt cross platform application toolkit
General Purpose
PySide6
Python bindings for the Qt cross-platform application and UI framework
CLI & Utilities
pyspark
Apache Spark Python API
General Purpose
pytablewriter
pytablewriter is a Python library to write a table in various formats: AsciiDoc …
General Purpose
pytesseract
Python-tesseract is a python wrapper for Google's Tesseract-OCR
General Purpose
pytest-asyncio
Pytest support for asyncio
Testing & QA
pytest-cov
Pytest plugin for measuring coverage.
Testing & QA
pytest-mock
Thin-wrapper around the mock package for easier use with pytest
Testing & QA
pytest-xdist
pytest xdist plugin for distributed testing, most importantly across multiple CP…
Testing & QA
pytest
pytest: simple powerful testing with Python
Testing & QA
python-barcode
Create standard barcodes with Python. No external modules needed. (optional Pill…
CLI & Utilities
python-dateutil
Extensions to the standard Python datetime module
General Purpose
python-docx
Create, read, and update Microsoft Word .docx files.
CLI & Utilities
python-dotenv
Read key-value pairs from a .env file and set them as environment variables
CLI & Utilities
pytz
World timezone definitions, modern and historical
General Purpose
pywin32
Python for Window Extensions
General Purpose
PyYAML
YAML parser and emitter for Python
General Purpose
pyzbar
Read one-dimensional barcodes and QR codes from Python 2 and 3.
CLI & Utilities
qrcode
QR Code image generator
General Purpose
rasterio
Fast and direct raster I/O for use with NumPy
Data & Science
ray
Ray provides a simple, universal API for building distributed applications.
General Purpose
redis
Python client for Redis database and key-value store
CLI & Utilities
reportlab
The Reportlab Toolkit
General Purpose
requests
Python HTTP for Humans.
Web & HTTP
responses
A utility library for mocking out the `requests` Python library.
General Purpose
retry
Easy to use retry decorator.
General Purpose
rich
Render rich text, tables, progress bars, syntax highlighting, markdown and more …
CLI & Utilities
rsa
Pure-Python RSA implementation
General Purpose
s3transfer
An Amazon S3 Transfer Manager
General Purpose
schedule
Job scheduling for humans.
General Purpose
scikit-image
Image processing in Python
Data & Science
scikit-learn
A set of python modules for machine learning and data mining
Data & Science
scipy
Fundamental algorithms for scientific computing in Python
Data & Science
Scrapy
A high-level Web Crawling and Web Scraping framework
Web & HTTP
seaborn
Statistical data visualization
Data & Science
selenium
Official Python bindings for Selenium WebDriver
Testing & QA
sendgrid
Twilio SendGrid library for Python
General Purpose
sentence-transformers
Embeddings, Retrieval, and Reranking
Machine Learning & AI
setuptools
Most extensible Python build backend with support for C/C++ extension modules
CLI & Utilities
shapely
Manipulation and analysis of geometric objects
Data & Science
six
Python 2 and 3 compatibility utilities
CLI & Utilities
snowflake-connector-python
Snowflake Connector for Python
Data & Science
spacy
Industrial-strength Natural Language Processing (NLP) in Python
Data & Science
SQLAlchemy
Database Abstraction Library
General Purpose
sqlite-utils
CLI tool and Python library for manipulating SQLite databases
General Purpose
starlette
The little ASGI library that shines.
Web & HTTP
statsmodels
Statistical computations and models for Python
Data & Science
streamlit
A faster way to build and share data apps
Data & Science
stripe
Python bindings for the Stripe API
General Purpose
sympy
Computer algebra system (CAS) in Python
Data & Science
tabulate
Pretty-print tabular data
CLI & Utilities
tenacity
Retry code until it succeeds
CLI & Utilities
textblob
Simple, Pythonic text processing. Sentiment analysis, part-of-speech tagging, no…
General Purpose
threadpoolctl
threadpoolctl
General Purpose
tiktoken
tiktoken is a fast BPE tokeniser for use with OpenAI's models
General Purpose
tokenizers
Data & Science
torch
Tensors and Dynamic neural networks in Python with strong GPU acceleration
Machine Learning & AI
tortoise-orm
Easy async ORM for python, built with relations in mind
Async & Networking
tox
tox is a generic virtualenv management and test command line tool
Testing & QA
tqdm
Fast, Extensible Progress Meter
CLI & Utilities
transformers
Transformers: the model-definition framework for state-of-the-art machine learni…
Machine Learning & AI
twilio
Twilio API client and TwiML generator
General Purpose
typer
Typer, build great CLIs. Easy to code. Based on Python type hints.
CLI & Utilities
typing-extensions
Backported and Experimental Type Hints for Python 3.9+
CLI & Utilities
urllib3
HTTP library with thread-safe connection pooling, file post, and more.
Web & HTTP
uvicorn
The lightning-fast ASGI server.
Web & HTTP
websockets
An implementation of the WebSocket Protocol (RFC 6455 & 7692)
Async & Networking
Werkzeug
The comprehensive WSGI web application library.
Web & HTTP
wordcloud
A little word cloud generator
General Purpose
wxPython
Cross platform GUI toolkit for Python, "Phoenix" version
General Purpose
xgboost
XGBoost Python Package
Machine Learning & AI
xlrd
Library for developers to extract data from Microsoft Excel (tm) .xls spreadshee…
General Purpose
xlwt
Library to create spreadsheet files compatible with MS Excel 97/2000/XP/2003 XLS…
Web & HTTP
yarl
Yet another URL library
Web & HTTP

About Python Package Hub

Python Package Hub provides clear, up-to-date installation guides for Python packages. Every page covers:

  • pip, conda, and poetry install commands
  • Virtual environment setup
  • How to verify the installation
  • Fixes for the most common errors

Package data is sourced directly from PyPI.