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.11.0.tar.gz (6.8 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.11.0-cp315-cp315t-win_amd64.whl (4.7 MB view details)

Uploaded CPython 3.15tWindows x86-64

blosc2-4.11.0-cp315-cp315t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (6.4 MB view details)

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

blosc2-4.11.0-cp315-cp315t-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl (6.0 MB view details)

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

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

Uploaded CPython 3.15tmacOS 11.0+ ARM64

blosc2-4.11.0-cp315-cp315t-macosx_10_15_x86_64.whl (5.6 MB view details)

Uploaded CPython 3.15tmacOS 10.15+ x86-64

blosc2-4.11.0-cp314-cp314t-win_amd64.whl (4.7 MB view details)

Uploaded CPython 3.14tWindows x86-64

blosc2-4.11.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.11.0-cp314-cp314t-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl (6.0 MB view details)

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

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

Uploaded CPython 3.14tmacOS 11.0+ ARM64

blosc2-4.11.0-cp314-cp314t-macosx_10_15_x86_64.whl (5.6 MB view details)

Uploaded CPython 3.14tmacOS 10.15+ x86-64

blosc2-4.11.0-cp311-abi3-win_amd64.whl (4.5 MB view details)

Uploaded CPython 3.11+Windows x86-64

blosc2-4.11.0-cp311-abi3-pyemscripten_2026_0_wasm32.whl (2.5 MB view details)

Uploaded CPython 3.11+PyEmscripten 2026.0 wasm32

blosc2-4.11.0-cp311-abi3-pyemscripten_2025_0_wasm32.whl (2.5 MB view details)

Uploaded CPython 3.11+PyEmscripten 2025.0 wasm32

blosc2-4.11.0-cp311-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (6.5 MB view details)

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

blosc2-4.11.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.11.0-cp311-abi3-macosx_11_0_arm64.whl (4.8 MB view details)

Uploaded CPython 3.11+macOS 11.0+ ARM64

blosc2-4.11.0-cp311-abi3-macosx_10_9_x86_64.whl (5.4 MB view details)

Uploaded CPython 3.11+macOS 10.9+ x86-64

File details

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

File metadata

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

File hashes

Hashes for blosc2-4.11.0.tar.gz
Algorithm Hash digest
SHA256 3c610b076ad0422d861ff10732013c7c3461135968c3c442630542e71249a4a2
MD5 32923acb910632f46aeac7b244f9305f
BLAKE2b-256 ec0fc6c1c3decf8b8ecb6630296da81b1c8d9d0212c7f8dcfc0d6d4ff6ef038a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: blosc2-4.11.0-cp315-cp315t-win_amd64.whl
  • Upload date:
  • Size: 4.7 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.11.0-cp315-cp315t-win_amd64.whl
Algorithm Hash digest
SHA256 88931a773f41a7415bdc78de1e38820872d3ededcf9ee63f1a1a9d033716e396
MD5 4fb4a210e4a2c800ffe5dd7bef09486d
BLAKE2b-256 56f5984777d20241905cb89b0cb58bedc0f39275ee2821fade1ea8259927691f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for blosc2-4.11.0-cp315-cp315t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 0ddf049d65d8cfe1c01b6b6db615559048912f03932898c7d61fb46d3eeeb6d1
MD5 a54459e086e99f30363fe401eb5aa370
BLAKE2b-256 93da8d25c3d928d096142fe433e264fa70e7f6c139fdebeb619b69dbaf1092b9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for blosc2-4.11.0-cp315-cp315t-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 b0504eafdb147b49542be957b6f52cf19e9f72a20d6bfe3b496802972f0d2ab9
MD5 5f7800ac4e1e1c629d32e355c8c4396f
BLAKE2b-256 ecf70c5f700420763af8ebf7564e10f42060faadf592fb8f6ecaa1fc7662dc86

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for blosc2-4.11.0-cp315-cp315t-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 0f7326bc195e13f3ecdad154f6f196b7799d4f2a93a50e98bd8ef98cbb036ad4
MD5 f3ce811ed29435eea9d444b93b743e7b
BLAKE2b-256 c360d36c181bc6df8dcc18bfc33687a3209ff3a6b883d26b0af0908203ccb174

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for blosc2-4.11.0-cp315-cp315t-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 1ff627f1ab32a4bc6b38cd4efc0862f0740b7d3ed3f04edbf81255817b212ae9
MD5 e693ac44face0cd883545716e852cc2f
BLAKE2b-256 7f75927b25102ecacf49bd82023defff7fc1439337ca4301ba8541ab060f7d0d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: blosc2-4.11.0-cp314-cp314t-win_amd64.whl
  • Upload date:
  • Size: 4.7 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.11.0-cp314-cp314t-win_amd64.whl
Algorithm Hash digest
SHA256 487f70ce2983e8a4b60b8bf5b4b3fd5bbb799729367d5505799db046f6f98338
MD5 57d95d391d634e31a7fc2ac4359172e0
BLAKE2b-256 1cd6f23a3fa75946c97de151e987671a6bcd22b4471de17f3288cb788aa9ed19

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for blosc2-4.11.0-cp314-cp314t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 07efb5c543f582825d8acb63fb3adf9799131893c8f04d9425371238b03e8a8b
MD5 77dac89ee08da1e9e08a035f7ff6ecb6
BLAKE2b-256 f83f169e085b1fccbd2375db7d699e2c9c7411dae0e9ca17ea44bd71a7e01f11

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for blosc2-4.11.0-cp314-cp314t-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 a8af221fbeee11478e22832f62996a2d0817fd94a02aed47bc4e0c8a5e8c9143
MD5 042f335a4e054e6f240e201dd2492c8f
BLAKE2b-256 c88969412d053a93d571533e2221bf6cc2b721c92f322c46358048463c5c48e8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for blosc2-4.11.0-cp314-cp314t-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 cd936aea81594c72fc2924eb7ed95083676ce04609fdce3fddc5e153b22446f5
MD5 b361fb707f848c44fe481f3bbbb268aa
BLAKE2b-256 4e3b7e25d5b92fb910de1ff169e9d36c8ce3711e5201f05823132a60f0f22ce9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for blosc2-4.11.0-cp314-cp314t-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 feaf36d970b1ad4c26eeac2ca8d7df2181e9faf85bc48a3b84cda0036581f407
MD5 326fcb5ec5c41d69dc536bfa5e96d331
BLAKE2b-256 fed8e38d8cf7b91e0c9fe7237503eedbef39198338989567b90e658c9b682cba

See more details on using hashes here.

File details

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

File metadata

  • Download URL: blosc2-4.11.0-cp311-abi3-win_amd64.whl
  • Upload date:
  • Size: 4.5 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.11.0-cp311-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 67fdd3e7e66004ba25adec0ade5916c8a312b9c9de72d024a63d6476051f0b75
MD5 e3ae314b7c2f9e09a60e86498f1210c1
BLAKE2b-256 740fdfad55037ad5bad4052fe6354b4466b7fee5e5fe4c36d0ca04f272779b7b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for blosc2-4.11.0-cp311-abi3-pyemscripten_2026_0_wasm32.whl
Algorithm Hash digest
SHA256 3beaa151b91b15fa516acef69f55d74bb7dd13b3dfeacfdaf032278091c2264f
MD5 cfdd4587486595c5e062a75bd20b8f9f
BLAKE2b-256 8e63ac6608416d2064d637da7fb80abacd3b10edbe18fcb70b0945d71dd5871d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for blosc2-4.11.0-cp311-abi3-pyemscripten_2025_0_wasm32.whl
Algorithm Hash digest
SHA256 a232274ac0813037ba2fb60317bc03dfb459fa469f330aa08ba8d03124aa6d1d
MD5 1631497dfa341b804c2bfb354db1c2de
BLAKE2b-256 20408bfdf64c0fd942a5eff6e1f6cc033dbd4f8c998e53f956cdffa5f9dbea37

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for blosc2-4.11.0-cp311-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 d17cb079973e0843e669cbd553be7e7e33ce815efb6a3f1f9f2167e41f1bf1ac
MD5 25091952d97282a910e2a780a9034de3
BLAKE2b-256 ac48b8a4ed7c3b1c1464fe2737449a73ab66b8fd9a2625f2dcf6d568135b4890

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for blosc2-4.11.0-cp311-abi3-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 571876df978732371c2b53e015483a812d161d8b6939a1393d59318df9df75b3
MD5 4a8193161b8bcb08de2b392c90a10d6b
BLAKE2b-256 e52e7f34148cf478b02d82f7e542fe0f706c98c93a3a24ab08db9a53a8d5ea25

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for blosc2-4.11.0-cp311-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 255568f149b74686a5de615eb91176b204c1efc0f66ddbb7d6621c2ef451e225
MD5 bc87006df0b1ba704957120055bf20a0
BLAKE2b-256 cb5936ba17172c6464ab9aae894d52841b5b71155a90cdd9db5007890ea273a6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for blosc2-4.11.0-cp311-abi3-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 caab9e379c5b1d41a721e30403885434c2ded9067265aa2ba3cef9576cd9fb12
MD5 250d6febf509cd86d579f18f704d7fcb
BLAKE2b-256 5e000b060c0d9dd7db22d1dc04629d1ba05fa6a38626e74621d43693955d435a

See more details on using hashes here.

Release history Release notifications | RSS feed

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page