Python libraries
84 libraries across 5 topics
84 libraries
Requests
The HTTP client that made Python's networking approachable — synchronous, readable, everywhere.
Web & HTTP5 examplesFlask
A deliberately small web framework — routing and request handling, and you choose everything else.
Web & HTTP5 examplesFastAPI
Async web framework that derives validation, serialisation and OpenAPI docs from your type hints.
Web & HTTP6 examplesDjango
The batteries-included framework — ORM, admin, auth, migrations and templates in one coherent package.
Web & HTTP5 examplesPandas
The dataframe library that made Python a serious tool for data analysis.
Data & Analytics5 examplesNumPy
The n-dimensional array that nearly every scientific Python library is built on.
Data & Analytics6 examplesSciPy
SciPy is an open-source Python library used for scientific and technical computing. It builds on NumPy arrays and provides a wide range of algorithms for optimization, integration, interpolation, eigenvalue problems, algebraic equations, differential equations, and signal processing.
Data & Analytics5 examplesMatplotlib
The foundational Python plotting library — verbose, and capable of almost any figure.
Data & Analytics6 examplesSeaborn
Seaborn is a Python data visualization library based on Matplotlib that provides a high-level interface for drawing attractive and informative statistical graphics.
Data & Analytics5 examplesScikit-learn
Classical machine learning with one consistent fit/predict interface across every algorithm.
AI & Machine Learning5 examplesTensorFlow
Google's end-to-end machine learning platform, strongest at production deployment.
AI & Machine Learning6 examplesPyTorch
The deep learning framework that won research, and increasingly production too.
AI & Machine Learning6 examplesKeras
Keras is a high-level neural networks API, written in Python and capable of running on top of TensorFlow, Microsoft Cognitive Toolkit (CNTK), or Theano. It allows for easy and fast prototyping of deep learning models with minimal code.
AI & Machine Learning5 examplesOpenCV-Python
OpenCV-Python is a Python wrapper for the OpenCV C++ library, providing tools for computer vision, image processing, and video analysis. It allows rapid prototyping and deployment of vision applications in Python.
AI & Machine Learning6 examplesBeautiful Soup
Forgiving HTML parser for pulling data out of pages that were never meant to be parsed.
Web & HTTP5 examplesScrapy
A full crawling framework — scheduling, concurrency, retries, pipelines and throttling included.
Web & HTTP6 examplesSQLAlchemy
Python's definitive database toolkit — a query builder and an ORM, usable separately.
Data & Analytics7 examplesPydantic
Validation and settings management driven by type hints — the boundary guard for Python data.
Developer Utilities6 examplesCelery
Distributed task queue for work that should not happen inside a web request.
Developer Utilities5 examplesPillow
Pillow is a modern fork of the Python Imaging Library (PIL) that adds support for opening, manipulating, and saving many different image file formats in Python.
Data & Analytics7 examplesPyPDF
PyPDF is a pure Python library for working with PDF documents. It allows you to read, write, merge, split, and manipulate PDF files programmatically.
Data & Analytics6 examplestox
tox is a Python tool for automated testing in multiple environments. It allows developers to run tests across different Python versions and dependency configurations, ensuring compatibility and reliability.
Developer Utilities5 examplesClick
Click is a Python package for creating command-line interfaces (CLI) with composable commands, automatic help page generation, and support for environment variables and configuration files.
Developer Utilities5 examplesTyper
Command-line interfaces generated from type-hinted function signatures.
Developer Utilities5 examplesRich
Terminal output that does not look like 1985 — tables, progress bars, syntax highlighting, markdown.
Developer Utilities5 examplesPoetry
Dependency management, virtual environments and publishing behind one command.
Developer Utilities7 examplesJupyter
Jupyter is an open-source project that provides interactive notebooks for creating and sharing documents that contain live code, equations, visualizations, and narrative text.
Data & Analytics7 examplesNetworkX
NetworkX is a Python library for the creation, manipulation, and study of complex networks of nodes and edges. It provides tools to analyze the structure and dynamics of graphs and networks.
Data & Analytics6 examplesaiohttp
aiohttp is an asynchronous HTTP client/server framework for Python, built on top of asyncio for high-performance networking.
Web & HTTP2 exampleshttpx
A Requests-compatible HTTP client that also speaks async and HTTP/2.
Web & HTTP5 examplesSanic
Sanic is a Python 3.7+ web server and web framework that’s designed for fast HTTP responses using asynchronous capabilities powered by `asyncio`. It is ideal for building high-performance APIs and web applications.
Web & HTTP5 examplesStarlette
Starlette is a lightweight ASGI framework/toolkit for building high-performance asynchronous web services in Python. It provides routing, middleware, sessions, background tasks, WebSockets, and testing utilities.
Web & HTTP6 examplesDask
Dask is a flexible library for parallel computing in Python. It allows you to scale NumPy, Pandas, and Python functions to multi-core machines or distributed clusters for large-scale data processing.
Data & Analytics5 examplesVaex
Vaex is a high-performance Python library for out-of-core DataFrames, enabling visualization and exploration of datasets larger than memory. It allows fast filtering, grouping, aggregations, and statistical computations without loading the full dataset into RAM.
Data & Analytics6 examplesStatsmodels
Statsmodels is a Python library that provides classes and functions for the estimation of many different statistical models, as well as for conducting statistical tests and statistical data exploration.
Data & Analytics5 examplesOpenpyxl
Openpyxl is a Python library to read, write, and modify Excel 2010 xlsx/xlsm/xltx/xltm files. It allows you to create spreadsheets, read data, and perform operations on Excel files programmatically.
Data & Analytics6 examplesxlrd / xlwt
xlrd and xlwt are Python libraries used for reading (xlrd) and writing (xlwt) Excel files in the old .xls format. They provide tools to extract, manipulate, and create Excel spreadsheets programmatically.
Data & Analytics5 examplesPyArrow
PyArrow is a cross-language development platform for in-memory data, primarily designed for columnar data processing. It provides a Python interface for the Apache Arrow columnar memory format and enables efficient data interchange and analytics.
Data & Analytics6 examplesBokeh
Bokeh is an interactive visualization library for Python that targets modern web browsers for presentation. It allows the creation of interactive plots, dashboards, and data applications with high-performance interactivity over large datasets.
Data & Analytics6 examplesPlotly
Plotly is a Python graphing library that makes interactive, publication-quality graphs online. It supports a wide variety of chart types, including line plots, scatter plots, bar charts, 3D plots, maps, and dashboards.
Data & Analytics6 examplesAltair
Altair is a declarative statistical visualization library for Python. It allows users to create interactive and concise charts based on the Vega and Vega-Lite visualization grammars.
Data & Analytics5 examplesplotnine
plotnine is a Python data visualization library based on the Grammar of Graphics, similar to ggplot2 in R. It allows building complex plots by layering components such as data, aesthetics, and geometric objects.
Data & Analytics6 examplesXGBoost
XGBoost (Extreme Gradient Boosting) is a high-performance, scalable, and flexible library for gradient boosting. It is widely used for supervised learning tasks such as regression, classification, and ranking.
AI & Machine Learning6 examplesLightGBM
LightGBM is a fast, distributed, high-performance gradient boosting framework based on decision tree algorithms. It is designed for efficiency and scalability, supporting large datasets and GPU acceleration.
AI & Machine Learning6 examplesCatBoost
CatBoost is a high-performance gradient boosting library from Yandex that handles categorical features automatically and efficiently. It is designed for classification, regression, and ranking tasks with minimal preprocessing.
AI & Machine Learning6 examplesHugging Face Transformers
Transformers is a Python library developed by Hugging Face that provides state-of-the-art pre-trained models for Natural Language Processing (NLP) tasks such as text classification, translation, summarization, question answering, and more.
AI & Machine Learning6 examplesOpenAI Gym
OpenAI Gym is a toolkit for developing and comparing reinforcement learning (RL) algorithms. It provides a wide variety of environments, from classic control problems and Atari games to robotics simulations, to test and benchmark RL agents.
AI & Machine Learning5 examplesFastAI
FastAI is a high-level deep learning library built on top of PyTorch, designed to make training neural networks fast, accurate, and accessible. It provides abstractions and best practices for vision, text, tabular, and collaborative filtering tasks.
AI & Machine Learning6 examplesscikit-image
scikit-image is a Python library for image processing that provides a collection of algorithms for segmentation, geometric transformations, color space manipulation, filtering, morphology, feature detection, and more.
Data & Analytics6 examplesImageIO
ImageIO is a Python library that provides an easy interface to read and write images in a wide range of formats, including PNG, JPEG, BMP, GIF, TIFF, and more. It also supports reading and writing video files and volumetric data.
Data & Analytics6 examplesdlib
dlib is a modern C++ toolkit with Python bindings for machine learning and computer vision tasks. It includes algorithms for image processing, object detection, facial landmark detection, and general-purpose machine learning.
AI & Machine Learning6 examplesLoguru
Loguru is a Python library that simplifies logging by providing an easy-to-use, flexible, and powerful logging system. It reduces boilerplate code and adds features like sink management, message formatting, and exception catching.
Developer Utilities6 examplesPython Fire
Python Fire is a library for automatically generating command-line interfaces (CLIs) from any Python object, such as functions, classes, or dictionaries. It enables rapid CLI creation without boilerplate code.
Developer Utilities5 examplesInvoke
Invoke is a Python task execution library that provides a clean, high-level API for defining and running shell-oriented tasks from Python scripts. It is designed to help automate repetitive workflows, build processes, and command-line operations.
Developer Utilities6 examplesPyInquirer
PyInquirer is a Python library that enables the creation of beautiful, interactive command-line interfaces with prompts, lists, checkboxes, and other input types inspired by Inquirer.js.
Developer Utilities6 examplesMechanize
Mechanize is a Python library for stateful programmatic web browsing. It allows you to automate interaction with websites, including filling forms, clicking links, and handling cookies and sessions, similar to a web browser.
Web & HTTP6 examplesPlaywright-Python
Playwright-Python is a Python library for automating web browsers. It enables end-to-end testing, web scraping, and browser automation across Chromium, Firefox, and WebKit with a single API.
Web & HTTP6 examplesSelenium
The original browser automation tool — drives a real browser through the WebDriver protocol.
Web & HTTP7 examplesRequests-HTML
Requests-HTML is a Python library that combines the simplicity of the Requests library with powerful HTML parsing, web scraping, and asynchronous capabilities. It allows developers to easily fetch, parse, and manipulate HTML content.
Web & HTTP6 examplesTortoise-ORM
Tortoise-ORM is an easy-to-use, asyncio-supporting Object-Relational Mapper (ORM) for Python, designed to provide a simple, familiar interface similar to Django ORM but fully asynchronous.
Data & Analytics8 examplesPeewee
Peewee is a small, expressive ORM (Object-Relational Mapping) library for Python. It provides a simple and lightweight way to interact with databases using Pythonic models and queries, supporting SQLite, MySQL, and PostgreSQL.
Data & Analytics7 examplesMongoEngine
MongoEngine is an Object-Document Mapper (ODM) for Python that provides a high-level abstraction for working with MongoDB. It allows developers to define schemas and interact with MongoDB documents using Python classes instead of raw queries.
Data & Analytics8 examplesParamiko
Paramiko is a Python library for SSH2 protocol, providing both client and server functionality. It allows you to securely connect to remote machines, execute commands, transfer files over SFTP, and manage SSH sessions programmatically.
Networking & Concurrency5 examplesAsyncio
Asyncio is Python's standard library for writing concurrent code using the async/await syntax. It provides an event loop, coroutines, tasks, and futures to facilitate asynchronous programming and I/O-bound operations.
Developer Utilities6 examplesTwisted
Twisted is an event-driven networking engine written in Python. It provides a robust framework for building asynchronous networked applications, including servers, clients, and protocols for TCP, UDP, SSL/TLS, and more.
Networking & Concurrency5 examplesPathlib
Pathlib is a Python standard library module that provides an object-oriented interface for working with filesystem paths. It simplifies file and directory manipulations across different operating systems.
Developer Utilities8 examplesPendulum
Pendulum is a Python library for handling dates, times, and time zones. It provides a cleaner and more intuitive API than the standard `datetime` module, with precise parsing, formatting, and manipulation of date and time objects.
Developer Utilities8 examplesArrow
Arrow is a Python library that provides a sensible, human-friendly approach to creating, manipulating, formatting, and converting dates and times. It simplifies working with time zones and datetime arithmetic.
Developer Utilities7 examplesPyYAML
PyYAML is a Python library for parsing and writing YAML (YAML Ain’t Markup Language) files. It allows you to read YAML data into Python objects and serialize Python objects back into YAML format.
Developer Utilities6 examplesJSONSchema
JSONSchema is a Python library for validating JSON data against a schema. It allows developers to ensure that JSON objects conform to a defined structure, including types, required properties, and value constraints.
Developer Utilities7 examplesSNScrape
SNScrape is a Python library for scraping social networking services such as Twitter, Facebook, Reddit, and more. It allows fetching posts, comments, tweets, user profiles, and other social data without using official APIs.
Web & HTTP5 examplesSocial Post API
Social Post API is a Python library for interacting with various social media platforms to post updates, retrieve feeds, and manage user content programmatically. It provides a unified interface to handle multiple platforms like Twitter, Facebook, LinkedIn, and Instagram.
Web & HTTP5 examplesTweepy
Tweepy is a Python library for accessing the Twitter API easily. It provides a convenient interface to retrieve tweets, post updates, manage followers, and interact with Twitter data programmatically.
Web & HTTP7 examplespython-twitter
python-twitter is a Python wrapper around the Twitter API, providing a simple interface to access Twitter data, post tweets, and manage accounts programmatically.
Web & HTTP7 examplesInstaloader
Instaloader is a Python library to download Instagram photos, videos, stories, IGTV, and profiles. It allows you to scrape Instagram content programmatically for personal or research purposes.
Web & HTTP6 examplesInstagrapi
Instagrapi is a modern Python library for Instagram automation. It allows you to programmatically interact with Instagram, including posting photos and stories, managing followers, reading feeds, and downloading media.
Web & HTTP8 examplesFacebook SDK for Python
The Facebook SDK for Python is a library that allows developers to interact with the Facebook Graph API. It provides tools for posting content, retrieving user data, managing pages, and working with Facebook Ads programmatically.
Web & HTTP8 examplesPyFacebook
PyFacebook is a Python SDK for interacting with the Facebook Graph API. It allows developers to manage Facebook pages, post content, retrieve insights, and handle user and page data programmatically.
Web & HTTP8 examplespython-telegram-bot
python-telegram-bot is a Python library that provides a pure Python interface for the Telegram Bot API. It allows developers to build bots to interact with Telegram users, send messages, handle commands, and integrate with other services.
Web & HTTP6 examplesTelethon
Telethon is a Python library to interact with Telegram’s API as a user or bot. It allows you to send messages, manage groups, channels, and perform a wide range of Telegram actions programmatically.
Web & HTTP8 examplesAiogram
Aiogram is a modern and fully asynchronous Python framework for building Telegram bots. It leverages Python’s asyncio capabilities to provide high-performance, scalable, and efficient bot development.
Web & HTTP7 examplesdiscord.py
discord.py is a Python library for interacting with the Discord API. It allows developers to create bots that can interact with Discord servers, send and receive messages, manage roles, and respond to events programmatically.
Web & HTTP7 examplesPycord
Pycord is a Python library for building Discord bots, providing an easy-to-use interface for interacting with Discord’s API. It allows developers to handle events, send messages, create commands, manage servers, and automate workflows within Discord.
Web & HTTP7 examplesHikari
Hikari is a modern, fast, and type-safe Python library for building Discord bots. It is designed for high performance, asynchronous execution, and full support of Discord API features.
Web & HTTP7 examples
Coverage by topic
What the Python ecosystem is deepest in — a reasonable proxy for what the language is used for.
- Web & HTTP28
- Data & Analytics25
- Developer Utilities17
- AI & Machine Learning12
- Networking & Concurrency2

