Version 4.12.0 released on 2026-09-01! pip install blosc2 -U

Python-Blosc2: Compress Better, Compute Bigger

Top-Notch Compression

Combine advanced codecs and filters for efficient lossless and lossy compression to reduce storage space while maintaining high performance.

Full-Fledged NDArrays

NDArray objects enable efficient storage and manipulation of arbitrarily large N-dimensional datasets, following the Array API standard, with an additional C API.

Compute Engine Inside

Combines compression with high-speed computation of complex mathematical expressions and reductions, while maintaining compatibility with NumPy.

Hierarchical Structures

Efficiently store data hierarchically with the TreeStore class for convenience and optimized performance.

Flexible Storage

Access data from anywhere: read/write in memory or disk, stream from the network, or use memory-mapped files for high-performance I/O.

Uncomplicated Format

Blosc2’s format is simple and accessible, with specifications under 4000 words that make it easy to read and integrate.

Documentation

Getting Started

New to Python-Blosc2? Start here for installation instructions and a high-level overview of core concepts.

Tutorials

Step-by-step interactive tutorials walking you through NDArrays, lazy expressions, reductions, SChunk, CTable, and more.

Guides

Task-oriented recipes and in-depth guides on performance optimization, remote arrays, IPC sharing, and CLI tools.

API Reference

The reference guide provides a comprehensive description of the Python-Blosc2 API, detailing functions and parameters.

Development

Found a typo in the documentation or want to improve functionality? The contributing guidelines will walk you through the process.

Release Notes

Want to see what’s new in the latest release? Explore the release notes to discover new features, improvements, and bug fixes.