Performance & Low-level
Performance optimization, C extensions, foreign function interfaces, compilers, JIT, Cython, Rust bindings and memory tools.
Performance optimization, C extensions, foreign function interfaces, compilers, JIT, Cython, Rust bindings and memory tools.
441 packages
Mutable mapping tools
Easily add cProfile profiling to django views.
CircularDict is a high-performance Python data structure that blends the functionality of dictionaries and circular buffers. Inheriting the usage of traditional dictionaries, it allows you to define constraints on size and memory usage. This way, the CircularDict will be always up-to-date with the last N added elements, ensuring that neither the maximum length nor the memory usage limit is exceeded. It is ideal for caching large data structures while maintaining control over memory footprint.
A fast native implementation of diff algorithm with a pure python fallback
Explicit activation rematerialization helpers for PyTorch
Ensure your __slots__ are working properly.
Disk Cache - Disk and file backed persistent cache.
cint - make ctypes great again
python cffi bindings for the oniguruma regex engine
Bootstrap mechanism for monkey patches.
Helper functions to identify and use paths on the OS (Linux-only for now) where RAM-based tempfiles can be created.
Uncompress DEFLATE streams in pure Python (albeit compiled with Cython)
SGLang fork of DeepGemm
Stream JSON parser with iterator interface
Associative Scan
cmeel distribution for boost, which provides free peer-reviewed portable C++ source libraries.
Python C++ Code Manager.
Monkey patch the standard zipfile module to enable Zstandard support
Implementations of window operations such as rolling and expanding.
Fast Levenshtein and Damerau optimal string alignment algorithms.
Python bindings for wc(s)width
Optimize JPEGs losslessly using MozJPEG
Python Bindings for the Unified Communication X library (UCX)
Linked list data structures for Python
YAML parser and emitter for Python with support for free-threading
Fast implementation of difflib's algorithms
Python bindings for the LZFSE reference implementation
Python dict with TTL support for auto-expiring caches