Python Language

Listed by section, in editorial order. Click a column to re-sort the whole list.

Press / to search. Tap a tag to filter. Click any row for details.

Search and filter

Results

Row number Tags

Implementations 5 projects

Unless you need MicroPython on a microcontroller or Pyodide in the browser, CPython is the Python implementation to run. Cython compiles your slow code to C.

Default, most widely used implementation of the Python programming language written in C.
A lean and efficient Python implementation for microcontrollers and constrained systems.
A very fast and compliant implementation of the Python language.
Optimizing Static Compiler for Python.
cython/github.com/cython/cython / /79,815,843 downloads/month
Python distribution for the browser and Node.js based on WebAssembly.

Built-in Classes Enhancement 4 projects

Skip hand-written dunder methods, and when you compare Python dataclass alternatives, pick attrs for its validators and converters. Box gives dicts dot access.

Replacement for __init__, __eq__, __repr__, etc. boilerplate in class definitions.
python-attrs/github.com/python-attrs/attrs / /695,949,704 downloads/month
Efficient, Pythonic bidirectional map data structures and related functionality.
jab/github.com/jab/bidict / /23,485,942 downloads/month
A fast, Rust-backed drop-in replacement for Python's built-in uuid module.
aminalaee/github.com/aminalaee/uuid-utils / /71,663,824 downloads/month
Python dictionaries with advanced dot notation access.
cdgriffith/github.com/cdgriffith/Box / /4,550,867 downloads/month

Functional Programming 5 projects

Beyond functools, install more-itertools, as the itertools docs suggest. toolz is a fuller Python functional programming library, and returns adds typed errors.

(Python standard library) Higher-order functions and operations on callable objects.
More routines for operating on iterables, beyond itertools.
more-itertools/github.com/more-itertools/more-itertools / /228,948,957 downloads/month
A collection of functional utilities for iterators, functions, and dictionaries. Also available as cytoolz for Cython-accelerated performance.
pytoolz/github.com/pytoolz/toolz / /55,501,397 downloads/month
A fancy and practical functional tools.
Suor/github.com/Suor/funcy / /6,686,325 downloads/month
A set of type-safe monads, transformers, and composition utilities.
dry-python/github.com/dry-python/returns / /973,516 downloads/month

Asynchronous Programming 8 projects

I/O-bound or CPU-bound? I/O-bound code wants a Python async library, and asyncio comes built in. CPU-bound work goes to a concurrent.futures process pool.

(Python standard library) Asynchronous I/O, event loop, coroutines and tasks.
A high-level async concurrency and networking framework that works on top of asyncio or trio.
agronholm/github.com/agronholm/anyio / /807,491,903 downloads/month
Ultra fast asyncio event loop.
MagicStack/github.com/MagicStack/uvloop / /213,757,424 downloads/month
A friendly library for async concurrency and I/O.
python-trio/github.com/python-trio/trio / /36,198,703 downloads/month
A coroutine-based Python networking library that uses greenlet.
gevent/github.com/gevent/gevent / /25,917,494 downloads/month
An event-driven networking engine.
twisted/github.com/twisted/twisted / /13,658,584 downloads/month
(Python standard library) A high-level interface for asynchronously executing callables.
(Python standard library) Process-based parallelism.

Date and Time 5 projects

Handle time zones with the built-in zoneinfo. Parsing date strings and adding months is where a Python date library earns its install: python-dateutil.

(Python standard library) IANA time zone support. Brings the tz database into Python.
Extensions to the standard Python datetime module.
dateutil/github.com/dateutil/dateutil / /908,606,264 downloads/month
A Python parser for human-readable dates in over 200 language locales.
scrapinghub/github.com/scrapinghub/dateparser / /38,906,832 downloads/month
Python datetimes made easy.
python-pendulum/github.com/python-pendulum/pendulum / /53,576,305 downloads/month
A modern datetime library, type-safe and DST-safe, in Rust or pure Python.
ariebovenberg/github.com/ariebovenberg/whenever / /5,642,981 downloads/month

Know a project that belongs here?

Tell us what it does and why it stands out.