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.13.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.13.0
File Size Uploaded
blosc2-4.13.0.tar.gz 7.2 MB Details

Built distributions (wheels)

Table of built distributions (wheels) for blosc2 4.13.0
File
blosc2-4.13.0-cp315-cp315t-win_amd64.whl CPython 3.15 CPython 3.15 free-threading Windows x86-64 Details
blosc2-4.13.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.13.0-cp315-cp315t-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl CPython 3.15 CPython 3.15 free-threading Linux glibc 2.28+ ARM64, Linux glibc 2.27+ ARM64 Details
blosc2-4.13.0-cp315-cp315t-macosx_11_0_arm64.whl CPython 3.15 CPython 3.15 free-threading macOS 11.0+ ARM64 Details
blosc2-4.13.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.13.0-cp314-cp314t-win_amd64.whl CPython 3.14 CPython 3.14 free-threading Windows x86-64 Details
blosc2-4.13.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.28+ x86-64, Linux glibc 2.27+ x86-64 Details
blosc2-4.13.0-cp314-cp314t-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl CPython 3.14 CPython 3.14 free-threading Linux glibc 2.28+ ARM64, Linux glibc 2.27+ ARM64 Details
blosc2-4.13.0-cp314-cp314t-macosx_11_0_arm64.whl CPython 3.14 CPython 3.14 free-threading macOS 11.0+ ARM64 Details
blosc2-4.13.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.13.0-cp311-abi3-win_amd64.whl CPython 3.11 abi3 Windows x86-64 Details
blosc2-4.13.0-cp311-abi3-pyemscripten_2026_0_wasm32.whl CPython 3.11 abi3 PyEmscripten 2026.0+ WebAssembly Details
blosc2-4.13.0-cp311-abi3-pyemscripten_2025_0_wasm32.whl CPython 3.11 abi3 PyEmscripten 2025.0+ WebAssembly Details
blosc2-4.13.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.13.0-cp311-abi3-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl CPython 3.11 abi3 Linux glibc 2.28+ ARM64, Linux glibc 2.27+ ARM64 Details
blosc2-4.13.0-cp311-abi3-macosx_11_0_arm64.whl CPython 3.11 abi3 macOS 11.0+ ARM64 Details
blosc2-4.13.0-cp311-abi3-macosx_10_9_x86_64.whl CPython 3.11 abi3 macOS 10.9+ x86-64 Details

Total release size:97.7 MB

Release files / blosc2-4.13.0.tar.gz

Download URL blosc2-4.13.0.tar.gz
Size 7.2 MB
Tags Source
SHA-256 checksum
How to use checksums
74d6bc2215a4384159f9681be44ceb4514978e642175a9528d18fd6f4c309914
BLAKE2b-256 checksum
How to use checksums
49ce9834e04fb99fd354bdbf6a4e5eaab701403bdcaf84c316f70d6324e9486e
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.13.0-cp315-cp315t-win_amd64.whl

Download URL blosc2-4.13.0-cp315-cp315t-win_amd64.whl
Size 4.9 MB
Tags CPython 3.15 CPython 3.15 free-threading Windows x86-64
SHA-256 checksum
How to use checksums
2c79f1ab05500389535dbc545195331851443e1d73ce42efab09db0fe0c1f3b4
BLAKE2b-256 checksum
How to use checksums
9e56c979e91d0d8156203773a1894b054f4b052ddbd38402b0814a2dec305b5a
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.13.0-cp315-cp315t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL blosc2-4.13.0-cp315-cp315t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 6.6 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
9e55be03d5d34869173c5da69456633eaa95c4c6a9cc1875c64169c9e4124ce6
BLAKE2b-256 checksum
How to use checksums
25b7d2a5b50f6f183ed67d46a12f79e13a91df6311a1481689d10c0f13465a71
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.13.0-cp315-cp315t-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl

Download URL blosc2-4.13.0-cp315-cp315t-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl
Size 6.2 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
c5977d22ec6bedbafd9b759d76efb70607ee676bb5488469c48d19a85a31b53b
BLAKE2b-256 checksum
How to use checksums
b4ad2cc06ca3b90d59c0df4c1e52fa69cb6baa1f4091dde7c2748fd5fb8ea93d
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.13.0-cp315-cp315t-macosx_11_0_arm64.whl

Download URL blosc2-4.13.0-cp315-cp315t-macosx_11_0_arm64.whl
Size 5.1 MB
Tags CPython 3.15 CPython 3.15 free-threading macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
c442c272e5a315f810873511602bacb0ee895fe27d9544798e982090c35b245c
BLAKE2b-256 checksum
How to use checksums
51eea6092946c029e9da238715b7fafda416393e112af57aa27e04329545e70f
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.13.0-cp315-cp315t-macosx_10_15_x86_64.whl

Download URL blosc2-4.13.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
1020f6913f8431eec5805b0c2ac63b6e99903789630e04a687edc1e9aa0cee47
BLAKE2b-256 checksum
How to use checksums
5ed7f119a36991d5a3a12dec4dad57dcfb9a9d31b70c1c8f8d4f309da8f261b4
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.13.0-cp314-cp314t-win_amd64.whl

Download URL blosc2-4.13.0-cp314-cp314t-win_amd64.whl
Size 4.9 MB
Tags CPython 3.14 CPython 3.14 free-threading Windows x86-64
SHA-256 checksum
How to use checksums
541a1056c2931fbf1fab8da5cb3ea75dad2aec7c22614064513947782dc39374
BLAKE2b-256 checksum
How to use checksums
2a70c02524a1c41f43c1fecb39a94078c8672b5f7fa99fba742e1237e2ffa7e4
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.13.0-cp314-cp314t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL blosc2-4.13.0-cp314-cp314t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 6.6 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
51e0322c6b390951c35201be60dc448350bc3c748a76459b5311ef680c9252ce
BLAKE2b-256 checksum
How to use checksums
b3c203882803c59dd7e54a66cf8c9b78035d0148e427a304579bb7050030cf18
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.13.0-cp314-cp314t-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl

Download URL blosc2-4.13.0-cp314-cp314t-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl
Size 6.2 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
5ef26cb92941ddc8d3160af67abc82ee82b401c395b5b7b92b0cd710f8d9fd90
BLAKE2b-256 checksum
How to use checksums
3721bb8a684afab8827beec54730346541a83f93b5dc29e510de7032a6926cf0
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.13.0-cp314-cp314t-macosx_11_0_arm64.whl

Download URL blosc2-4.13.0-cp314-cp314t-macosx_11_0_arm64.whl
Size 5.1 MB
Tags CPython 3.14 CPython 3.14 free-threading macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
03985232509c74a287dbe61b4c4c9357a32c82201160f0c43a726db55d999f5d
BLAKE2b-256 checksum
How to use checksums
b04d55b10017dbb773ddd8e1bbad7a9d2aa8b2ab2552e7b802d4db5d7052723b
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.13.0-cp314-cp314t-macosx_10_15_x86_64.whl

Download URL blosc2-4.13.0-cp314-cp314t-macosx_10_15_x86_64.whl
Size 5.8 MB
Tags CPython 3.14 CPython 3.14 free-threading macOS 10.15+ x86-64
SHA-256 checksum
How to use checksums
41b5e9e0fbbf4b49c19d1f53595246a3e21d7113e99101dde5297b7bab0f9e86
BLAKE2b-256 checksum
How to use checksums
587c01090af56c303dd7eaeaee08447cd47b251d67b286025856e43e7aa08397
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.13.0-cp311-abi3-win_amd64.whl

Download URL blosc2-4.13.0-cp311-abi3-win_amd64.whl
Size 4.7 MB
Tags CPython 3.11 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
d675504c0d86a90c42e0c43e15a07f5044e305842abe6a2e07d1539669ed901e
BLAKE2b-256 checksum
How to use checksums
6801840e759db9bc90b14c2e0c5e4022e4fdc8ae89dc5b1585729e56afc5eb10
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.13.0-cp311-abi3-pyemscripten_2026_0_wasm32.whl

Download URL blosc2-4.13.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
a9deaa22468a8ae93d70e1ad0f24d92e15373162af7267a84787b3b85c7cec86
BLAKE2b-256 checksum
How to use checksums
935b8b150e35ffc3f7511485fc370869f4c2cae25646397e7767df32af0c390c
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.13.0-cp311-abi3-pyemscripten_2025_0_wasm32.whl

Download URL blosc2-4.13.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
06c2cf522e8044a928a1eecfcad971571096cff9d13751909105d7c0a0cfc71f
BLAKE2b-256 checksum
How to use checksums
31b28e1b48d36f7be7307ee2a1fc70ad402ef1e5b3b75e9d56e6a811be966e13
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.13.0-cp311-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL blosc2-4.13.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
adf241dbc08196aff4cafdf539b9c64b0bdb211da779fd90ffe4b9a0ef2469ea
BLAKE2b-256 checksum
How to use checksums
a1339eebe59b7b4dc81cb5db990a149879e93f2528d1e3ecaed01ff496ad4d52
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.13.0-cp311-abi3-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl

Download URL blosc2-4.13.0-cp311-abi3-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl
Size 6.2 MB
Tags CPython 3.11 Linux glibc 2.27+ ARM64 Linux glibc 2.28+ ARM64 abi3
SHA-256 checksum
How to use checksums
002f9a8d03790ac77918f04408b2094f634f3de60b15048cfb7f5384bf8a0a5a
BLAKE2b-256 checksum
How to use checksums
ef8a2bef4b32d405592e7515c57f64250ac4b423985c3ea8eb140c49714691a5
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.13.0-cp311-abi3-macosx_11_0_arm64.whl

Download URL blosc2-4.13.0-cp311-abi3-macosx_11_0_arm64.whl
Size 5.0 MB
Tags CPython 3.11 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
09cc869baf06a55cc9652db1c2176afb49f1281cf78e67221bf1e4cc30116fac
BLAKE2b-256 checksum
How to use checksums
9d8a6b96667d244d09a66ef47fde85047ae199908de349056d72262e6be9f90f
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.13.0-cp311-abi3-macosx_10_9_x86_64.whl

Download URL blosc2-4.13.0-cp311-abi3-macosx_10_9_x86_64.whl
Size 5.6 MB
Tags CPython 3.11 abi3 macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
ecc4615474f6d632f24cb057d356c5e05208a7b7e1a1260e54946cfe57b6a2f6
BLAKE2b-256 checksum
How to use checksums
9af32a8b5b247ed0fb01a23bd6a2853755dbf4fae42b6288e83a337d8d8e3abc
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.13.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