Caching
Libraries for caching data.
- - A library for caching and sessions for use with web applications and stand-alone Python scripts and applications.
- - dogpile.cache is next generation replacement for Beaker made by same authors.
- - Python caching library with tag-based invalidation and dogpile effect prevention.
- - Automatic caching and invalidation for Django models through the ORM.
- - A slick ORM cache with automatic granular event-driven invalidation.
- - A caching framework for django applications.
- - Render template parts with extended cache control.
- - A Python wrapper around the interface.
Libraries for sending and parsing email.
- - Python SMTP Server for Humans.
- - Python IMAP for Humans.
- - The open source email toolkit.
- - Pythonic SMTP Application Server.
- - A email address and Mime parsing library.
- - High-performance extensible mail delivery framework.
- - Django email backend with AWS SES and Celery.
- - A mail hosting and management platform including a modern and simplified Web UI.
- - Mailing for human beings.
- - Mailjet API implementation for batch mailing, statistics and more.
- - Mailgun library to extract message quotations and signatures.
- - Compose, send and parse emails.
Internationalization
Libraries for woking with i18n.
- - An internationalization library for Python.
- - A library for morphology.
URL Manipulation
Libraries for parsing URLs.
- - A small Python library that makes manipulating URLs simple.
- - A simple, immutable URL class with a clean API for interrogation and manipulation.
- - A pure Python URL shortening lib.
- - Python implementation for generating Tiny URL and bit.ly-like URLs.
- - A friendly library for parsing HTTP request arguments, with built-in support for popular web frameworks, including Flask, Django, Bottle, Tornado, and Pyramid.
HTML Manipulation
Libraries for working with HTML and XML.
- - Providing Pythonic idioms for iterating, searching, and modifying HTML or XML.
- - A very fast, easy-to-use and versatile library for handling HTML and XML.
- - A standards-compliant library for parsing and serializing HTML documents and fragments.
- - A jQuery-like library for parsing HTML.
- - A CSS library for Python.
- - Implements a XML/HTML/XHTML Markup safe string for Python.
- - A whitelist-based HTML sanitization and text linkification library.
- - Working with XML feel like you are working with JSON.
- - HTML/CSS to PDF converter.
- - Converts XML documents to Python objects for easy access.
Web Crawling
Libraries for scraping websites.
- - A fast high-level screen scraping and web crawling framework.
- - Visual scraping for Scrapy.
- - Universal feed parser.
- - A simple, Pythonic library for browsing the web without a standalone web browser.
- - A Python library for automating interaction with websites.
- - Stateful programmatic web browsing.
- - PyQuery-based scraping micro-framework.
- - A distributed crawling framework.
- - A powerful spider system.
Web Content Extracting
Libraries for extracting web contents.
- - News extraction, article extraction and content curation in Python.
- - Convert HTML to Markdown-formatted text.
- - HTML Content/Article Extractor.
- - Web Content Retrieval for Humans.
- - A small library for extracting rich content from URLs.
- - A module for automatic summarization of text documents and HTML pages.
- - An Extensible Image Crawler.
- - Fast Python port of arc90's readability tool.
- - A Python module to parse the Open Graph Protocol
- - Extract text from any document, Word, PowerPoint, PDFs, etc.
- - Bringing sanity to world of messed-up data.
Forms
Libraries for working with forms.
- - A flexible forms validation and rendering library.
- - A WTForms extension for JSON data handling.
- - Python HTML form generation library influenced by the formish form generation library.
- - Bootstrap 3 integration with Django.
- - A Django app which lets you create beautiful forms in a very elegant and DRY way.
- - A platform independent Django form serializer.
Data Validation
Libraries for validating data. Used for forms in many cases.
- - A Python data validation library. It is primarily intended for validating data coming into Python as JSON, YAML, etc.
- - A system for validating and deserializing data obtained via XML, JSON, an HTML form post or any other equally simple data serialization.
- - A library for validating Python data structures.
- - Data Structure Validation.
- - A language for matching/validating/filtering Python dictionaries.
- - Lightweight extensible data validation and adaptation library.
Anti-spam
Libraries for fighting spam.
- - Intelligent spam detection for Python.
- - Simple spam blocker for Django.
- - A simple and highly customizable Django app to add captcha images to any Django form.
Tagging
Libraries for tagging items.
- - Simple tagging for Django.
Admin Panels
Libraries for administrative interfaces.
- - The admin panel your servers deserve.
- – A jazzy skin for the Django Admin-Interface.
- - Alternative Django Admin-Interface (free only for Non-commercial use).
- - Drop-in replacement of Django admin comes with lots of goodies.
- - Simple and extensible administrative interface framework for Flask.
- - Real-time monitor and web admin for Celery.
Static Site Generator
Static site generator is a software that takes some text + templates as input and produces html files on the output.
- - Uses Markdown or ReST for content and Jinja 2 for themes. Supports DVCS, Disqus. AGPL.
- – Static site generator for designers.
- - Jinja2-based static web site generator.
- - A static website and blog generator.
- - The simplest static site generator.
- - Tinkerer is a blogging engine/.static website generator powered by Sphinx.
Processes and Threads
Libraries for woking with processes or threads
- - (Python standard library) Process-based "threading" interface.
- - (Python standard library) Higher-level threading interface.
- - Python Subprocesses for Humans™.
- - A full-fledged replacement for Python.
- - A wrapper for subprocess.
Concurrency and Networking
Libraries for concurrency and network programming.
- - (Python standard library in Python 3.4+) Asynchronous I/O, event loop, coroutines and tasks.
- - A coroutine-based Python networking library that uses .
- - An event-driven networking engine.
- - A Web framework and asynchronous networking library.
- - Event-driven concurrent framework for Python.
- - Greenlet-based event I/O Framework for Python.
- - Asynchronous framework with WSGI support.
- - A Python wrapper for the 0MQ message library.
- - Twisted based wrapper for the 0MQ message library.
- - Open-source Unified Application Router (Websocket & WAMP for Python on Autobahn).
WebSocket
Libraries for woking with WebSocket.
- - WebSocket & WAMP for Python on Twisted and .
- - WebSocket client and server library for Python 2 and 3 as well as PyPy.
WSGI Servers
WSGI-compatible web servers.
- - (Python standard library) WSGI reference implementation, single-threaded.
- - A WSGI utility library for Python that powers Flask and can easily be embedded into your own projects.
- - Multi-threaded, stable, tried and tested.
- - Multi-threaded.
- - Multi-threaded, poweres Pyramid.
- - Asynchronous, very fast.
- - Pre-forked, partly written in C.
- - Asynchronous (network side only), written in C.
- - Asynchronous, partly written in C.
- - Asynchronous, very fast and written in C.
RPC Servers
RPC-compatible servers.
- - (Python standard library) Simple XML-RPC server implementation, single-threaded.
- - This library is an implementation of the JSON-RPC specification.
- - zerorpc is a flexible RPC implementation based on and .
Cryptography
- - The Python Cryptography Toolkit.
- - A Python (2.6+, 3.3+) implementation of the SSHv2 protocol, providing both client and server functionality.
- - A package designed to expose cryptographic primitives and recipes to Python developers.
- - Python binding to the Networking and Cryptography (NaCl) library.
- - Implementation of in Python.
- - Secure password storage/hashing library, very high level.
GUI
Libraries for working with graphical user interface applications.
- - Python bindings for the cross-platform application and UI framework, with support for both Qt v4 and Qt v5 frameworks.
- - Python bindings for the cross-platform application and UI framework, supporting the Qt v4 framework.
- - A blending of the wxWidgets C++ class library with the Python.
- - A library for creating NUI applications, running on Windows, Linux, Mac OS X, Android and iOS.
- - Built-in wrapper for used to create terminal GUI applications.
- - A library for creating terminal GUI applications with strong support for widgets, events, rich colors, etc.
- - A cross-platform windowing and multimedia library for Python.
- - Tkinter is Python's de-facto standard GUI package.
- - Creating beautiful user-interfaces with Declaratic Syntax like QML.
- - A Python native, OS native GUI toolkit.
Game Development
Awesome game development libraries.
- - Pygame is a set of Python modules designed for writing games.
- - cocos2d is a framework for building 2D games, demos, and other graphical/interactive applications. It is based on pyglet.
- - A ctypes based wrapper for the SDL2 library.
- - 3D game engine developed by Disney and maintained by Carnegie Mellon's Entertainment Technology Center. Written in C++, completely wrapped in Python.
- - Python bindings for the Ogre 3D render engine, can be used for games, simulations, anything 3D.
- - Python ctypes bindings for OpenGL and it's related APIs.
- - Python bindings for
- - A Visual Novel engine.
Logging
Libraries for generating and working with log files.
- - (Python standard library) Logging facility for Python.
- - Logging replacement for Python.
- - A realtime logging and aggregation server.
- - The Python client for Sentry.
Testing
Libraries for testing codebases and generating test data.
- Testing Frameworks
- - (Python standard library) Unit testing framework.
- - nose extends unittest.
- - A mature full-featured Python testing tool.
- - The definitive testing tool for Python. Born under the banner of BDD.
- - A BDD framework for Python 3.3+. Inspired by C#'s
Machine.Specifications
. - - Should style asserts based on .
- - BDD style testing for Python. Inspired by .
- Web Testing
- - Python bindings for WebDriver.
- - Open source tool for testing web applications.
- - Scalable user load testing tool written in Python.
- - A language-agnostic A/B Testing framework.
- Mock
- - A Python Mocking and Patching Library for Testing.
- - A utility library for mocking out the requests Python library.
- - Powerful test doubles framework for Python.
- - Travel through time by mocking the datetime module.
- - HTTP request mock tool for Python.
- - A mocking library for requests for Python 2.6+ and 3.2+.
- Code Coverage
- - Code coverage measurement.
- Fake Data
- - A Python package that generates fake data.
- - Fake database generator.
- - Generating fake data and creating random fixtures for testing in Django ORM, SQLAlchemy, Peewee, MongoEngine, Pony ORM and etc.
- - Creating random fixtures for testing in Django.
- - An easy to use forged data generator for Python. It's a port of .
- - Generate random datetime / time.
- Error Handler
- - FuckIt.py uses state-of-the-art technology to make sure your Python code runs whether it has any right to or not.
Code Analysis and Linter
Libraries and tools for analysing, parsing and manipulation codebases.
- Code Analysis
- - A type inferencer and indexer for Python.
- - A library that visualises the flow (call graph) of your Python application.
- - Turn your Python and JavaScript code into DOT flowcharts.
- Linter
- - The modular source code checker: pep8, pyflakes and co.
- - Code audit tool for Python and JavaScript.
- - A source code analyzer.
Debugging Tools
Libraries for debugging code.
- - (Python standard library) The Python Debugger.
- - IPython-enabled pdb.
- - A Platform Independent Python Debugger with GUI.
- – A full-screen, console-based Python debugger.
- - Debugger capable of attaching to and injecting code into Python processes.
- - Python Client for the server.
- - Monitor Memory usage of Python code.
- - An interactive Python profiler.
- - Display various debug information about the current request/response.
- - A drop-in replacement for Django's runserver.
- - A port of the django-debug-toolbar to flask.
- - A pure-Python library for parsing and analyzing ELF files and DWARF debugging information.
Science and Data Analysis
Libraries for scientific computing and data analyzing.
- - A Python-based ecosystem of open-source software for mathematics, science, and engineering.
- - A fundamental package for scientific computing with Python.
- - Python JIT (just in time) complier to LLVM aimed at scientific Python by the developers of Cython and NumPy.
- - A high-productivity software for complex networks.
- - A library providing high-performance, easy-to-use data structures and data analysis tools.
- - Business Intelligence (BI) in Python (Pandas web interface)
- - Markov Chain Monte Carlo sampling toolkit.
- - A Pythonic algorithmic trading library.
- - Short for Python Dynamics, used to assist with workflow in the modeling of dynamic motion based around NumPy, SciPy, IPython, and matplotlib.
- - A Python library for symbolic mathematics.
- - Statistical modeling and econometrics in Python.
- - A community Python library for Astronomy.
- - Data mining, data visualization, analysis and machine learning through visual programming or Python scripting.
- - Cheminformatics and Machine Learning Software.
- - A chemical toolbox designed to speak the many languages of chemical data.
- - A library for parsing and interpreting the results of computational chemistry packages.
- - Biopython is a set of freely available tools for biological computation.
- - Collection of useful code related to biological analysis.
- - A toolkit providing best-practice pipelines for fully automated high throughput sequencing analysis.
- - NumPy and Pandas interface to Big Data.
Data Visualization
Libraries for visualizing data. See: .
- - A Python 2D plotting library.
- - Interactive Web Plotting for Python.
- - Collaborative web plotting for Python and matplotlib.
- - A Python to Vega translator.
- - A plottling library for Python, based on .
- - Same API as ggplot2 for R.
- - Rendering beautiful SVG maps in Python.
- - A Python SVG Charts Creator.
- - Python interface to .
- - Interactive and realtime 2D/3D/Image plotting and science/engineering widgets.
Computer Vision
Libraries for computer vision.
- - Open Source Computer Vision Library.
- - An open source framework for building computer vision applications.
Machine Learning
Libraries for Machine Learning. See: .
- - A Python module for machine learning built on top of SciPy.
- - Web mining module for Python.
- - Numenta Platform for Intelligent Computing.
- - A Machine Learning library based on .
- - GPU-Accelerated Deep Learning Library in Python.
- - Topic Modelling for Humans.
- - Another Python Machine Learning Library.
- - A flexible, fast recommender engine.
- - A Python library for implementing a Recommender System.
- - A lightweight Python wrapper for .
MapReduce
Framworks and libraries for MapReduce.
- - The Spark Python API.
- - Python clone of Spark, a MapReduce alike framework in Python.
- - A module that helps you build complex pipelines of batch jobs.
- - Run MapReduce jobs on Hadoop or Amazon Web Services.
- - Python module that allows one to easily write and run Hadoop programs.
- - Run Python code against real-time streams of data. Integrates with .
Functional Programming
Functional Programming with Python.
- - Functional programming in Python: implementation of missing features to enjoy FP.
- - A fancy and practical functional tools.
- - A collection of functional utilities for iterators, functions, and dictionaries.
- - Cython implementation of Toolz: High performance functional utilities.
Third-party APIs
Libraries for accessing third party services APIs. See: .
- - One Python library for all clouds.
- - Python interface to Amazon Web Services.
- - A Python wrapper for the Twitter API.
- - Google APIs Client Library for Python.
- - Google Spreadsheets Python API.
- - Facebook Platform Python SDK.
- - Facepy makes it really easy to interact with Facebook's Graph API
- - A Pythonic interface for Gmail.
- - WordPress models and views for Django.
DevOps Tools
Software and libraries for DevOps.
- - Open source software for building private and public clouds.
- - A radically simple IT automation platform.
- - Infrastructure automation and management system.
- - A simple, Pythonic tool for remote execution and deployment.
- - Tools for writing awesome Fabric files.
- - Chef-like functionality for Fabric.
- - A cross-platform process and system utilities module.
- - Controlling interactive programs in a pseudo-terminal like GNU expect.
- - An easy-to-use provisioning system in Python.
- - A Python port of , a tool for managing Procfile-based applications.
- - Multipurpose task execution tool for distributed systems with web-based interface.
- - Fast, isolated development environments using .
- - Pure-Python API for Mercurial.
- - Pure-Python API for git.
Job Scheduler
Libraries for scheduling jobs.
- - A light but powerful in-process task scheduler that lets you schedule functions.
- - A calendaring app for Django.
- - A task runner/build tool.
- - A set of tools to provide lightweight pipelining in Python.
- - Writing crontab file in Python like a charm.
- - A powerful workflow engine implemented in pure Python.
- - Python job scheduling for humans.
- - A Python library that helps to make task execution easy, consistent and reliable.
Foreign Function Interface
Libraries for providing foreign function interface.
- - (Python standard library) Foreign Function Interface for Python calling C code.
- - Foreign Function Interface for Python calling C code.
- - Simplified Wrapper and Interface Generator.
- - A Python wrapper for Nvidia's CUDA API.
High Performance
Libraries for making Python faster.
- - Optimizing Static Complier for Python. Uses type mixins to compile Python into C or C++ modules resulting in large performance gains.
- - An implementation of Python in Python. The interpreter uses black magic to make Python very fast without having to add in additional type information.
- - An enhanced version of the Python.
- - A Python implementation built using LLVM and modern JIT techniques with the goal of achieving good performance.
Microsoft Windows
Python programming on Microsoft Windows.
- - Unofficial Windows(32/64-bit) binaries for Python extension packages
- - Scientific-applications-oriented Python Distribution based on Qt and Spyder.
- - IDE for the Python language with advanced editing, interactive testing, debugging and introspection features (also comes with Anaconda).
Network Virtualization and SDN
Tools and libraries for Virtual Networking and SDN (Software Defined Networking).
- - A popular network emulator and API written in Python.
- - An open source development platform for Python-based Software Defined Networking (SDN) control applications, such as OpenFlow SDN controllers.
- - A member of the Frenetic family of SDN programming languages that provides powerful abstractions over network switches or emulators.
- - SDN based IXP implementation that leverages Mininet, POX and Pyretic.
Hardware
Libraries for programming with hardware.
- - A module for cross-platform control of the mouse and keyboard.
- - A Python library and command line tool for working with WiFi on Linux.
- - A brilliant packet manipulation library.
- - Command line toolkit for working with .
- - Python Robotics.
Compatibility
Libraries for migrating from Python 2 to 3.
- - Python 2 and 3 compatibility utilities.
- - The missing compatibility layer between Python 2 and Python 3.
- - Modernizes Python code for eventual Python 3 migration.
Miscellaneous
Useful libraries or tools that don't fit in the categories above.
- - A simple but flexible plugin system for Python.
- - Various helpers to pass trusted data to untrusted environments.
- - A fast Python in-process signal/event dispatching system.
- - A framework for creating and tracking achievements.
Algorithms and Design Patterns
Python implementation of algorithms and design patterns.
- - A collection of design patterns in Python.
- - module of algorithms for Python.
Editor Plugins
Plugins for editors and IDEs.
- Vim
- - An all in one plugin for turning Vim into a Python IDE.
- - Vim bindings for the autocompletion library for Python.
- - Includes -based completion engine for Python
- Emacs
- - Emacs Python Development Environment.
- Sublime Text
- - A Sublime Text plugin to the awesome autocomplete library .
- - Anaconda turns your Sublime Text 3 in a full featured Python development IDE.
- Atom
- - A static code analysis tool for Atom.
- - An addon to
linter
, that acts as an interface forflake8
. - - Atom package for virtualenv management.
Resources
Where to discover new Python libraries.
Websites
- - News about Python.
- - Too many popular Python packages don't support Python 3.
- - Good place to find new Python libraries.
- - List of top 400 projects in GitHub.
- - Sharing cool github projects just got easier!
- - Plain English explanations for every layer of the Python web application stack.
- - A directory of reusable apps, sites, tools, and more for Django projects.
Weekly
Other Awesome Lists
List of lists.
- Python
- Monty