Version 3.0.0 released on 2024-12-12! pip install blosc2==3.0.0

Python-Blosc2: Compress Better, Compute Bigger

Excellent compression

Combine advanced codecs and filters for efficient lossless and lossy compression, reducing storage space while keeping high performance.

Compressed NDArrays

NDArray objects allow for efficient storage and manipulation of arbitrarily large N-dim datasets. A C-API is also available.

Optimized compute engine

It teams with internal compression to compute complex mathematical expressions and reductions at high speed.

Support for sparse data

For efficient storage and manipulation of data with many zero values.

Flexible storage

Can transparently store data in memory, disk, or the network. Memory-mapped files are also supported.

Two-level partitions

Leverages multi-level CPU caches, enhancing data access and compute performance for modern multi-core processors.

Uncomplicated format

Blosc2’s format, with specs taking less than 4000 words, makes it easy to read and integrate with other systems and tools.

Documentation

Getting Started

New to Python-Blosc2? Check out the getting started guides. They contain an introduction to Python-Blosc2 main concepts and different tutorials.

API Reference

The reference guide contains a detailed description of the Python-Blosc2 API. The reference describes how the functions work and which parameters can be used.

Development

Saw a typo in the documentation? Want to improve existing functionalities? The contributing guidelines will guide you through the process of improving Python-Blosc2.

Release Notes

Want to see what’s new in the latest release? Check out the release notes to find out!