Skip to main content

A fast & compressed ndarray library with a flexible compute engine

Author:

The Blosc development team

Contact:

blosc@blosc.org

Github:

https://github.com/Blosc/python-blosc2

Actions:

actions

PyPi:

version

NumFOCUS:

numfocus

Code of Conduct:

Contributor Covenant

What is Python-Blosc2?

Python-Blosc2 is a high-performance compressor, compute engine, and format for binary data containers that are portable and open-source. It comes with a lazy expression engine allowing for complex calculations on compressed data, whether stored in memory, on disk, or over the network (e.g., via Caterva2). It is especially optimized for storing and retrieving data from N-dimensional arrays (NDArray) and columnar tables (CTable), complemented by a query/indexing layer. The main use case is fast, compressed, out-of-core numerical data — especially when data is too large to fit comfortably in RAM.

C-Blosc2 is used under the hood as its compression backend. Written in C, and building on its predecessor C-Blosc, C-Blosc2 aims to be an extremely fast meta-compressor for binary data, supporting a diverse set of strategies, and with an extensible plugin architecture for a wide range of codecs and filters.

More info: https://www.blosc.org/python-blosc2/getting_started/overview.html

Installing

Binary packages are available for major OSes (Win, Mac, Linux) and platforms. Install from PyPI using pip:

pip install blosc2 --upgrade

Conda users can install from conda-forge:

conda install -c conda-forge python-blosc2

Command line tools

Two CLI tools are installed along with the package:

  • b2view: an interactive terminal browser (TUI) for TreeStore bundles (.b2d directories or .b2z files), with paged views of NDArray and CTable data of any size (walkthrough; requires pip install "blosc2[tui]").

  • parquet-to-blosc2: converts Parquet files to Blosc2 columnar table stores, and back (walkthrough; requires pip install "blosc2[parquet]").

Documentation

The documentation is available here:

https://blosc.org/python-blosc2/python-blosc2.html

You can find examples at:

https://github.com/Blosc/python-blosc2/tree/main/examples

A tutorial from PyData Global 2025 is available at:

https://github.com/Blosc/PyData-Global-2025-Tutorial

(Click here to watch the video recording of the tutorial)

It contains Jupyter notebooks explaining the main features of Python-Blosc2.

License

This software is licensed under a 3-Clause BSD license. A copy of the python-blosc2 license can be found in LICENSE.txt.

Discussion forum

Discussion about this package is welcome at:

https://github.com/Blosc/python-blosc2/discussions

Social feeds

Stay informed about the latest developments by following us in Mastodon, Bluesky or LinkedIn.

Thanks

Blosc2 is supported by the NumFOCUS foundation, the LEAPS-INNOV project and ironArray SLU, among many other donors. This allowed the following people to have contributed in an important way to the core development of the Blosc2 library:

  • Francesc Alted

  • Marta Iborra

  • Luke Shaw

  • Aleix Alcacer

  • Oscar Guiñón

  • Juan David Ibáñez

  • Ivan Vilata i Balaguer

  • Oumaima Ech.Chdig

  • Ricardo Sales Piquer

In addition, other people have participated in the project in different aspects:

  • Jan Sellner, contributed the mmap support for NDArray/SChunk objects.

  • Dimitri Papadopoulos, contributed a large bunch of improvements to many aspects of the project. His attention to detail is remarkable.

  • And many others that have contributed with bug reports, suggestions and improvements.

Developed using JetBrains IDEs.

JetBrains logo.

Citing Blosc

You can cite our work on the various libraries under the Blosc umbrella as follows:

@ONLINE{blosc,
  author = {{Blosc Development Team}},
  title = "{A fast, compressed and persistent data store library}",
  year = {2009-2026},
  note = {https://blosc.org}
}

Support Blosc for a Sustainable Future

If you find Blosc useful and want to support its development, please consider making a donation or contract to the Blosc Development Team. Thank you!

Compress Better, Compute Bigger

Release files for blosc2 4.12.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for blosc2 4.12.0
File Size Uploaded
blosc2-4.12.0.tar.gz 7.0 MB Details

Built distributions (wheels)

Table of built distributions (wheels) for blosc2 4.12.0
File
blosc2-4.12.0-cp315-cp315t-win_amd64.whl CPython 3.15 CPython 3.15 free-threading Windows x86-64 Details
blosc2-4.12.0-cp315-cp315t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl CPython 3.15 CPython 3.15 free-threading Linux glibc 2.28+ x86-64, Linux glibc 2.27+ x86-64 Details
blosc2-4.12.0-cp315-cp315t-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl CPython 3.15 CPython 3.15 free-threading Linux glibc 2.27+ ARM64, Linux glibc 2.28+ ARM64 Details
blosc2-4.12.0-cp315-cp315t-macosx_11_0_arm64.whl CPython 3.15 CPython 3.15 free-threading macOS 11.0+ ARM64 Details
blosc2-4.12.0-cp315-cp315t-macosx_10_15_x86_64.whl CPython 3.15 CPython 3.15 free-threading macOS 10.15+ x86-64 Details
blosc2-4.12.0-cp314-cp314t-win_amd64.whl CPython 3.14 CPython 3.14 free-threading Windows x86-64 Details
blosc2-4.12.0-cp314-cp314t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl CPython 3.14 CPython 3.14 free-threading Linux glibc 2.27+ x86-64, Linux glibc 2.28+ x86-64 Details
blosc2-4.12.0-cp314-cp314t-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl CPython 3.14 CPython 3.14 free-threading Linux glibc 2.27+ ARM64, Linux glibc 2.28+ ARM64 Details
blosc2-4.12.0-cp314-cp314t-macosx_11_0_arm64.whl CPython 3.14 CPython 3.14 free-threading macOS 11.0+ ARM64 Details
blosc2-4.12.0-cp314-cp314t-macosx_10_15_x86_64.whl CPython 3.14 CPython 3.14 free-threading macOS 10.15+ x86-64 Details
blosc2-4.12.0-cp311-abi3-win_amd64.whl CPython 3.11 abi3 Windows x86-64 Details
blosc2-4.12.0-cp311-abi3-pyemscripten_2026_0_wasm32.whl CPython 3.11 abi3 PyEmscripten 2026.0+ WebAssembly Details
blosc2-4.12.0-cp311-abi3-pyemscripten_2025_0_wasm32.whl CPython 3.11 abi3 PyEmscripten 2025.0+ WebAssembly Details
blosc2-4.12.0-cp311-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl CPython 3.11 abi3 Linux glibc 2.28+ x86-64, Linux glibc 2.27+ x86-64 Details
blosc2-4.12.0-cp311-abi3-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl CPython 3.11 abi3 Linux glibc 2.27+ ARM64, Linux glibc 2.28+ ARM64 Details
blosc2-4.12.0-cp311-abi3-macosx_11_0_arm64.whl CPython 3.11 abi3 macOS 11.0+ ARM64 Details
blosc2-4.12.0-cp311-abi3-macosx_10_9_x86_64.whl CPython 3.11 abi3 macOS 10.9+ x86-64 Details

Total release size:96.2 MB

Release files / blosc2-4.12.0.tar.gz

Download URL blosc2-4.12.0.tar.gz
Size 7.0 MB
Tags Source
SHA-256 checksum
How to use checksums
5c6e5f8b80757ad49b1fe1b9692f991ae496a6566e3d735fffa2499da8038849
BLAKE2b-256 checksum
How to use checksums
cc8c757d24eee6212b3513b5a1822e82e90071fe926965a3856c077c47953924
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / blosc2-4.12.0-cp315-cp315t-win_amd64.whl

Download URL blosc2-4.12.0-cp315-cp315t-win_amd64.whl
Size 4.8 MB
Tags CPython 3.15 CPython 3.15 free-threading Windows x86-64
SHA-256 checksum
How to use checksums
d2cd98d98c8f7f3550614a70dea5da1e8baa8419ef092a3255d4296857f9eda6
BLAKE2b-256 checksum
How to use checksums
4b409a524c25e71586da5b1f62c9274a82447177f960449590cea84cc7ac238e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / blosc2-4.12.0-cp315-cp315t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL blosc2-4.12.0-cp315-cp315t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 6.5 MB
Tags CPython 3.15 CPython 3.15 free-threading Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
358f65ea5fb584a8e1703158a9507c7bebb0bdaa4200a41ba311572adbebf529
BLAKE2b-256 checksum
How to use checksums
91163268cac42b60bf221bc442fb63a77051cae20306710c3de3026a463ad351
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / blosc2-4.12.0-cp315-cp315t-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl

Download URL blosc2-4.12.0-cp315-cp315t-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl
Size 6.1 MB
Tags CPython 3.15 CPython 3.15 free-threading Linux glibc 2.27+ ARM64 Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
e171df86bd1c7683c383e2d00a5596d9dac09bc0c74f9a53343b1d0074fd8a7d
BLAKE2b-256 checksum
How to use checksums
78f30e07275116ab1a608b0a48a3afc40bb691e97562a63e0a8ecf881323ea1b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / blosc2-4.12.0-cp315-cp315t-macosx_11_0_arm64.whl

Download URL blosc2-4.12.0-cp315-cp315t-macosx_11_0_arm64.whl
Size 5.0 MB
Tags CPython 3.15 CPython 3.15 free-threading macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
a369b2358d7aec093608325c33b16ae96e630b913fb4971fb5853ed6ad55f03e
BLAKE2b-256 checksum
How to use checksums
5a6bed14e53889bad0f8fe2e5bbe09428fbea3e98b35a9bedc23cd9921411176
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / blosc2-4.12.0-cp315-cp315t-macosx_10_15_x86_64.whl

Download URL blosc2-4.12.0-cp315-cp315t-macosx_10_15_x86_64.whl
Size 5.7 MB
Tags CPython 3.15 CPython 3.15 free-threading macOS 10.15+ x86-64
SHA-256 checksum
How to use checksums
55740e5979970362223e86e8e80148a0a2031ee4d5c7484571600ff0a068c9c6
BLAKE2b-256 checksum
How to use checksums
794f90fab6e72fa295acb0df93971a581c83499b792824b41ab749d9b6523630
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / blosc2-4.12.0-cp314-cp314t-win_amd64.whl

Download URL blosc2-4.12.0-cp314-cp314t-win_amd64.whl
Size 4.8 MB
Tags CPython 3.14 CPython 3.14 free-threading Windows x86-64
SHA-256 checksum
How to use checksums
2e0bdd6750e2dd6efa6fe63d2271de40a4fc99c25628edc6bd8cff16aac020f0
BLAKE2b-256 checksum
How to use checksums
a3493287e9e7e78521449b89c1a3a43f25324fe6e76c9ae6310ae32a460799c4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / blosc2-4.12.0-cp314-cp314t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL blosc2-4.12.0-cp314-cp314t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 6.5 MB
Tags CPython 3.14 CPython 3.14 free-threading Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
1bcdbc9c9e1238ae51c71f1b0ce96d2ba78a8a0d1f457348ef49b3dd5eee2ad2
BLAKE2b-256 checksum
How to use checksums
7511e1af6b86f9395a4ef4d8eb80f977ccd3526ae87e8f6f4e4fb9027925e754
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / blosc2-4.12.0-cp314-cp314t-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl

Download URL blosc2-4.12.0-cp314-cp314t-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl
Size 6.1 MB
Tags CPython 3.14 CPython 3.14 free-threading Linux glibc 2.27+ ARM64 Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
a98fa2bf075ebb7a045c3694b3b357b02799f8fea868460f79987da7263c308f
BLAKE2b-256 checksum
How to use checksums
472773bbf48358d73dd5616cb5bfd9d4081322ab4bd930df5fcd72bc84bda442
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / blosc2-4.12.0-cp314-cp314t-macosx_11_0_arm64.whl

Download URL blosc2-4.12.0-cp314-cp314t-macosx_11_0_arm64.whl
Size 5.0 MB
Tags CPython 3.14 CPython 3.14 free-threading macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
5e6851654ce85749d159d137ddd4316c7f058e47719faad27c143f30671125fb
BLAKE2b-256 checksum
How to use checksums
c68e860a96b2e454a5bc7f0b113656a81c21c56cf398dc32766c6200cddd56e0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / blosc2-4.12.0-cp314-cp314t-macosx_10_15_x86_64.whl

Download URL blosc2-4.12.0-cp314-cp314t-macosx_10_15_x86_64.whl
Size 5.7 MB
Tags CPython 3.14 CPython 3.14 free-threading macOS 10.15+ x86-64
SHA-256 checksum
How to use checksums
cd8605822db0d25167569c4c84b3d91f30f84761278216bb510269c667edbec3
BLAKE2b-256 checksum
How to use checksums
d3175dd5bf2028b830b9c5881bf104b852e09fd41929b23d859f6cf7f43db77d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / blosc2-4.12.0-cp311-abi3-win_amd64.whl

Download URL blosc2-4.12.0-cp311-abi3-win_amd64.whl
Size 4.6 MB
Tags CPython 3.11 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
21a5877274730af8429712ef8de25bbeaaa01b78dc0b8aa284740532c4373f71
BLAKE2b-256 checksum
How to use checksums
20014290faa0b9cea3d3ec998739e3d44bfe1b90fab82a9a1a612b2969054391
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / blosc2-4.12.0-cp311-abi3-pyemscripten_2026_0_wasm32.whl

Download URL blosc2-4.12.0-cp311-abi3-pyemscripten_2026_0_wasm32.whl
Size 2.6 MB
Tags CPython 3.11 PyEmscripten 2026.0+ WebAssembly abi3
SHA-256 checksum
How to use checksums
61fce21450450194b186619c940090df669b43c38df38a309f1cbbe2c7c27da0
BLAKE2b-256 checksum
How to use checksums
cbdafa4538c32c2a725ff364e4cd760de0338d5774024e375cebccc8655f04a7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / blosc2-4.12.0-cp311-abi3-pyemscripten_2025_0_wasm32.whl

Download URL blosc2-4.12.0-cp311-abi3-pyemscripten_2025_0_wasm32.whl
Size 2.6 MB
Tags CPython 3.11 PyEmscripten 2025.0+ WebAssembly abi3
SHA-256 checksum
How to use checksums
721da83981e0f2f0fb8f42b3ee66a4f87c723c94f61f743882f0e56549fb7f14
BLAKE2b-256 checksum
How to use checksums
a46201154aa378b0d6fb14f9200c1f1c67f6ed493c41dae3ec3db703892c0b6e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / blosc2-4.12.0-cp311-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL blosc2-4.12.0-cp311-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 6.6 MB
Tags CPython 3.11 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64 abi3
SHA-256 checksum
How to use checksums
5d9ac67bf95ed122862e9d0a948382bfa5b56696c2d49a2111ca104871cd4b2d
BLAKE2b-256 checksum
How to use checksums
621fc03a204d469537ce97a430e4c10accbd90439aad467bca378da1262d8f08
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / blosc2-4.12.0-cp311-abi3-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl

Download URL blosc2-4.12.0-cp311-abi3-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl
Size 6.1 MB
Tags CPython 3.11 Linux glibc 2.27+ ARM64 Linux glibc 2.28+ ARM64 abi3
SHA-256 checksum
How to use checksums
57ee9fb57dd99e9a1d37cf18d6ce02496815652f5f043e314b0798ea771a405a
BLAKE2b-256 checksum
How to use checksums
9cc5dde78ffd6a864520140499f45fc8792c0808cead14b21c2ea8ac19e847ac
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / blosc2-4.12.0-cp311-abi3-macosx_11_0_arm64.whl

Download URL blosc2-4.12.0-cp311-abi3-macosx_11_0_arm64.whl
Size 4.9 MB
Tags CPython 3.11 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
87f754faae9d807d0cb737351592dcc27364d30524c9f0a7b7a6f99cd501775d
BLAKE2b-256 checksum
How to use checksums
1659b0dee1ed00e68ad3bc403e4ecd79a40a2d28728e5cadb9f65c4d1254fc76
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / blosc2-4.12.0-cp311-abi3-macosx_10_9_x86_64.whl

Download URL blosc2-4.12.0-cp311-abi3-macosx_10_9_x86_64.whl
Size 5.5 MB
Tags CPython 3.11 abi3 macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
4906d2c046b50b059bf9d955910f9aa108381241acaf4702eaefb71b27b64d2c
BLAKE2b-256 checksum
How to use checksums
18b2f91e44038833ef659a834029c786068d2430fe383d78f42c996907ad418d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release history Release notifications | RSS feed

This release

4.12.0 This release

18 release files

4.9.1

28 release files

4.9.0

28 release files

4.8.1

28 release files

4.8.0

28 release files

4.7.0

28 release files

4.6.0

28 release files

4.5.1

28 release files

4.5.0

28 release files

4.4.5

26 release files

4.4.4

26 release files

4.4.3

26 release files

4.3.3

31 release files

4.3.1

31 release files

4.3.0

31 release files

4.1.0

31 release files

4.0.0

31 release files

3.9.0

31 release files

3.8.0

31 release files

3.7.2

31 release files

3.7.1

31 release files

3.7.0

31 release files

3.6.1

21 release files

3.6.0

21 release files

3.5.0

21 release files

3.4.0

21 release files

3.3.4

21 release files

3.3.3

21 release files

3.3.1

16 release files

3.2.1

16 release files

3.2.0

16 release files

3.1.1

16 release files

3.1.0

16 release files

3.0.0

16 release files

2.7.1

22 release files

2.7.0

22 release files

2.5.1

29 release files

2.5.0

29 release files

2.4.0

29 release files

2.2.8

29 release files

2.2.7

21 release files

2.2.4

21 release files

2.2.3

21 release files

2.2.2

21 release files

2.2.1

21 release files

2.1.1

21 release files

2.1.0

20 release files

2.0.0

21 release files

0.6.6

21 release files

0.6.5

17 release files

0.6.1

21 release files

0.5.2

21 release files

0.5.1

16 release files

0.3.2

16 release files

0.3.1

16 release files

0.1.9

16 release files

0.1.8

16 release files

0.1.7

22 release files

0.1.6

22 release files

0.1.5

22 release files

0.1.4

22 release files

0.1.3

1 release file

0.1.2

1 release file

0.1.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page