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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

blosc2-4.12.0.tar.gz (7.0 MB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

blosc2-4.12.0-cp315-cp315t-win_amd64.whl (4.8 MB view details)

Uploaded CPython 3.15tWindows x86-64

blosc2-4.12.0-cp315-cp315t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (6.5 MB view details)

Uploaded CPython 3.15tmanylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

blosc2-4.12.0-cp315-cp315t-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl (6.1 MB view details)

Uploaded CPython 3.15tmanylinux: glibc 2.27+ ARM64manylinux: glibc 2.28+ ARM64

blosc2-4.12.0-cp315-cp315t-macosx_11_0_arm64.whl (5.0 MB view details)

Uploaded CPython 3.15tmacOS 11.0+ ARM64

blosc2-4.12.0-cp315-cp315t-macosx_10_15_x86_64.whl (5.7 MB view details)

Uploaded CPython 3.15tmacOS 10.15+ x86-64

blosc2-4.12.0-cp314-cp314t-win_amd64.whl (4.8 MB view details)

Uploaded CPython 3.14tWindows x86-64

blosc2-4.12.0-cp314-cp314t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (6.5 MB view details)

Uploaded CPython 3.14tmanylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

blosc2-4.12.0-cp314-cp314t-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl (6.1 MB view details)

Uploaded CPython 3.14tmanylinux: glibc 2.27+ ARM64manylinux: glibc 2.28+ ARM64

blosc2-4.12.0-cp314-cp314t-macosx_11_0_arm64.whl (5.0 MB view details)

Uploaded CPython 3.14tmacOS 11.0+ ARM64

blosc2-4.12.0-cp314-cp314t-macosx_10_15_x86_64.whl (5.7 MB view details)

Uploaded CPython 3.14tmacOS 10.15+ x86-64

blosc2-4.12.0-cp311-abi3-win_amd64.whl (4.6 MB view details)

Uploaded CPython 3.11+Windows x86-64

blosc2-4.12.0-cp311-abi3-pyemscripten_2026_0_wasm32.whl (2.6 MB view details)

Uploaded CPython 3.11+PyEmscripten 2026.0 wasm32

blosc2-4.12.0-cp311-abi3-pyemscripten_2025_0_wasm32.whl (2.6 MB view details)

Uploaded CPython 3.11+PyEmscripten 2025.0 wasm32

blosc2-4.12.0-cp311-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (6.6 MB view details)

Uploaded CPython 3.11+manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

blosc2-4.12.0-cp311-abi3-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl (6.1 MB view details)

Uploaded CPython 3.11+manylinux: glibc 2.27+ ARM64manylinux: glibc 2.28+ ARM64

blosc2-4.12.0-cp311-abi3-macosx_11_0_arm64.whl (4.9 MB view details)

Uploaded CPython 3.11+macOS 11.0+ ARM64

blosc2-4.12.0-cp311-abi3-macosx_10_9_x86_64.whl (5.5 MB view details)

Uploaded CPython 3.11+macOS 10.9+ x86-64

File details

Details for the file blosc2-4.12.0.tar.gz.

File metadata

  • Download URL: blosc2-4.12.0.tar.gz
  • Upload date:
  • Size: 7.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for blosc2-4.12.0.tar.gz
Algorithm Hash digest
SHA256 5c6e5f8b80757ad49b1fe1b9692f991ae496a6566e3d735fffa2499da8038849
MD5 7c5dc7150def403e22166dbf919ef106
BLAKE2b-256 cc8c757d24eee6212b3513b5a1822e82e90071fe926965a3856c077c47953924

See more details on using hashes here.

File details

Details for the file blosc2-4.12.0-cp315-cp315t-win_amd64.whl.

File metadata

  • Download URL: blosc2-4.12.0-cp315-cp315t-win_amd64.whl
  • Upload date:
  • Size: 4.8 MB
  • Tags: CPython 3.15t, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for blosc2-4.12.0-cp315-cp315t-win_amd64.whl
Algorithm Hash digest
SHA256 d2cd98d98c8f7f3550614a70dea5da1e8baa8419ef092a3255d4296857f9eda6
MD5 a4a2f4afc062456f8ef7d1c1e4eeb072
BLAKE2b-256 4b409a524c25e71586da5b1f62c9274a82447177f960449590cea84cc7ac238e

See more details on using hashes here.

File details

Details for the file blosc2-4.12.0-cp315-cp315t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for blosc2-4.12.0-cp315-cp315t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 358f65ea5fb584a8e1703158a9507c7bebb0bdaa4200a41ba311572adbebf529
MD5 8edea6de0eea999986ee5f563a48ae9f
BLAKE2b-256 91163268cac42b60bf221bc442fb63a77051cae20306710c3de3026a463ad351

See more details on using hashes here.

File details

Details for the file blosc2-4.12.0-cp315-cp315t-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for blosc2-4.12.0-cp315-cp315t-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 e171df86bd1c7683c383e2d00a5596d9dac09bc0c74f9a53343b1d0074fd8a7d
MD5 63eaa7768864afe5167caf75835c8769
BLAKE2b-256 78f30e07275116ab1a608b0a48a3afc40bb691e97562a63e0a8ecf881323ea1b

See more details on using hashes here.

File details

Details for the file blosc2-4.12.0-cp315-cp315t-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for blosc2-4.12.0-cp315-cp315t-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 a369b2358d7aec093608325c33b16ae96e630b913fb4971fb5853ed6ad55f03e
MD5 b9d5df21d39aa02a79681c174dfb9582
BLAKE2b-256 5a6bed14e53889bad0f8fe2e5bbe09428fbea3e98b35a9bedc23cd9921411176

See more details on using hashes here.

File details

Details for the file blosc2-4.12.0-cp315-cp315t-macosx_10_15_x86_64.whl.

File metadata

File hashes

Hashes for blosc2-4.12.0-cp315-cp315t-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 55740e5979970362223e86e8e80148a0a2031ee4d5c7484571600ff0a068c9c6
MD5 2eabc27dd406506931e40f89b840e718
BLAKE2b-256 794f90fab6e72fa295acb0df93971a581c83499b792824b41ab749d9b6523630

See more details on using hashes here.

File details

Details for the file blosc2-4.12.0-cp314-cp314t-win_amd64.whl.

File metadata

  • Download URL: blosc2-4.12.0-cp314-cp314t-win_amd64.whl
  • Upload date:
  • Size: 4.8 MB
  • Tags: CPython 3.14t, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for blosc2-4.12.0-cp314-cp314t-win_amd64.whl
Algorithm Hash digest
SHA256 2e0bdd6750e2dd6efa6fe63d2271de40a4fc99c25628edc6bd8cff16aac020f0
MD5 801132938c5563a230d6f04847e43756
BLAKE2b-256 a3493287e9e7e78521449b89c1a3a43f25324fe6e76c9ae6310ae32a460799c4

See more details on using hashes here.

File details

Details for the file blosc2-4.12.0-cp314-cp314t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for blosc2-4.12.0-cp314-cp314t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 1bcdbc9c9e1238ae51c71f1b0ce96d2ba78a8a0d1f457348ef49b3dd5eee2ad2
MD5 d3a110f39ad7b887dd81ee1925201102
BLAKE2b-256 7511e1af6b86f9395a4ef4d8eb80f977ccd3526ae87e8f6f4e4fb9027925e754

See more details on using hashes here.

File details

Details for the file blosc2-4.12.0-cp314-cp314t-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for blosc2-4.12.0-cp314-cp314t-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 a98fa2bf075ebb7a045c3694b3b357b02799f8fea868460f79987da7263c308f
MD5 7d4495ec21a0b7fb33547f25b7b067aa
BLAKE2b-256 472773bbf48358d73dd5616cb5bfd9d4081322ab4bd930df5fcd72bc84bda442

See more details on using hashes here.

File details

Details for the file blosc2-4.12.0-cp314-cp314t-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for blosc2-4.12.0-cp314-cp314t-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 5e6851654ce85749d159d137ddd4316c7f058e47719faad27c143f30671125fb
MD5 58a818d6e2420d5c436c5b81d10d37a0
BLAKE2b-256 c68e860a96b2e454a5bc7f0b113656a81c21c56cf398dc32766c6200cddd56e0

See more details on using hashes here.

File details

Details for the file blosc2-4.12.0-cp314-cp314t-macosx_10_15_x86_64.whl.

File metadata

File hashes

Hashes for blosc2-4.12.0-cp314-cp314t-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 cd8605822db0d25167569c4c84b3d91f30f84761278216bb510269c667edbec3
MD5 e18f1c61127628a24cf43557afd2a97e
BLAKE2b-256 d3175dd5bf2028b830b9c5881bf104b852e09fd41929b23d859f6cf7f43db77d

See more details on using hashes here.

File details

Details for the file blosc2-4.12.0-cp311-abi3-win_amd64.whl.

File metadata

  • Download URL: blosc2-4.12.0-cp311-abi3-win_amd64.whl
  • Upload date:
  • Size: 4.6 MB
  • Tags: CPython 3.11+, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for blosc2-4.12.0-cp311-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 21a5877274730af8429712ef8de25bbeaaa01b78dc0b8aa284740532c4373f71
MD5 8e3e647d02346b88ec8815218bf4ce85
BLAKE2b-256 20014290faa0b9cea3d3ec998739e3d44bfe1b90fab82a9a1a612b2969054391

See more details on using hashes here.

File details

Details for the file blosc2-4.12.0-cp311-abi3-pyemscripten_2026_0_wasm32.whl.

File metadata

File hashes

Hashes for blosc2-4.12.0-cp311-abi3-pyemscripten_2026_0_wasm32.whl
Algorithm Hash digest
SHA256 61fce21450450194b186619c940090df669b43c38df38a309f1cbbe2c7c27da0
MD5 1de528f302861c7f4cabf5e0a1d4ab54
BLAKE2b-256 cbdafa4538c32c2a725ff364e4cd760de0338d5774024e375cebccc8655f04a7

See more details on using hashes here.

File details

Details for the file blosc2-4.12.0-cp311-abi3-pyemscripten_2025_0_wasm32.whl.

File metadata

File hashes

Hashes for blosc2-4.12.0-cp311-abi3-pyemscripten_2025_0_wasm32.whl
Algorithm Hash digest
SHA256 721da83981e0f2f0fb8f42b3ee66a4f87c723c94f61f743882f0e56549fb7f14
MD5 b3e2e45c0798408c8080dec321a2a955
BLAKE2b-256 a46201154aa378b0d6fb14f9200c1f1c67f6ed493c41dae3ec3db703892c0b6e

See more details on using hashes here.

File details

Details for the file blosc2-4.12.0-cp311-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for blosc2-4.12.0-cp311-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 5d9ac67bf95ed122862e9d0a948382bfa5b56696c2d49a2111ca104871cd4b2d
MD5 7798d55343110f099777ed0ec6f42977
BLAKE2b-256 621fc03a204d469537ce97a430e4c10accbd90439aad467bca378da1262d8f08

See more details on using hashes here.

File details

Details for the file blosc2-4.12.0-cp311-abi3-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for blosc2-4.12.0-cp311-abi3-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 57ee9fb57dd99e9a1d37cf18d6ce02496815652f5f043e314b0798ea771a405a
MD5 c946c7276c021960eea91b13040c2f93
BLAKE2b-256 9cc5dde78ffd6a864520140499f45fc8792c0808cead14b21c2ea8ac19e847ac

See more details on using hashes here.

File details

Details for the file blosc2-4.12.0-cp311-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for blosc2-4.12.0-cp311-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 87f754faae9d807d0cb737351592dcc27364d30524c9f0a7b7a6f99cd501775d
MD5 82e30f333562b60991180a54da01e2f1
BLAKE2b-256 1659b0dee1ed00e68ad3bc403e4ecd79a40a2d28728e5cadb9f65c4d1254fc76

See more details on using hashes here.

File details

Details for the file blosc2-4.12.0-cp311-abi3-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for blosc2-4.12.0-cp311-abi3-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 4906d2c046b50b059bf9d955910f9aa108381241acaf4702eaefb71b27b64d2c
MD5 3684df808223db4b95a4ce0af0b6207a
BLAKE2b-256 18b2f91e44038833ef659a834029c786068d2430fe383d78f42c996907ad418d

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

4.12.0 This release

18 files

4.11.0

18 files

4.10.1

28 files

4.10.0

28 files

4.9.1

28 files

4.9.0

28 files

4.8.1

28 files

4.8.0

28 files

4.7.0

28 files

4.6.0

28 files

4.5.1

28 files

4.5.0

28 files

4.4.5

26 files

4.4.4

26 files

4.4.3

26 files

4.4.2

26 files

4.4.1

26 files

4.3.3

31 files

4.3.1

31 files

4.3.0

31 files

4.2.0

31 files

4.1.2

31 files

4.1.1

31 files

4.1.0

31 files

4.0.0

31 files

3.12.2

31 files

3.12.1

31 files

3.12.0

31 files

3.11.1

31 files

3.11.0

31 files

3.10.2

31 files

3.10.1

31 files

3.10.0

31 files

3.9.1

31 files

3.9.0

31 files

3.8.0

31 files

3.7.2

31 files

3.7.1

31 files

3.7.0

31 files

3.6.1

21 files

3.6.0

21 files

3.5.1

21 files

3.5.0

21 files

3.4.0

21 files

3.3.4

21 files

3.3.3

21 files

3.3.2

21 files

3.3.1

16 files

3.3.0

16 files

3.2.1

16 files

3.2.0

16 files

3.1.1

16 files

3.1.0

16 files

3.0.0

16 files

2.7.1

22 files

2.7.0

22 files

2.6.2

22 files

2.6.1

22 files

2.6.0

22 files

2.5.1

29 files

2.5.0

29 files

2.4.0

29 files

2.3.2

29 files

2.3.1

29 files

2.3.0

29 files

2.2.9

29 files

2.2.8

29 files

2.2.7

21 files

2.2.6

21 files

2.2.5

21 files

2.2.4

21 files

2.2.3

21 files

2.2.2

21 files

2.2.1

21 files

2.2.0

21 files

2.1.1

21 files

2.1.0

20 files

2.0.0

21 files

0.6.6

21 files

0.6.5

17 files

0.6.4

17 files

0.6.3

21 files

0.6.2

21 files

0.6.1

21 files

0.5.2

21 files

0.5.1

16 files

0.4.1

16 files

0.4.0

16 files

0.3.2

16 files

0.3.1

16 files

0.3.0

22 files

0.2.0

13 files

0.1.10

16 files

0.1.9

16 files

0.1.8

16 files

0.1.7

22 files

0.1.6

22 files

0.1.5

22 files

0.1.4

22 files

0.1.3

1 file

0.1.2

1 file

0.1.1

1 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