Skip to main content

A fast & compressed ndarray library with a flexible compute engine.

Project description

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 it is

Python-Blosc2 is a high-performance compressed ndarray library with a flexible compute engine. It uses the C-Blosc2 library as the compression backend. C-Blosc2 is the next generation of Blosc, an award-winning library that has been around for more than a decade, and that is been used by many projects, including PyTables or Zarr.

Python-Blosc2 is Python wrapper that exposes the C-Blosc2 API, plus an integrated compute engine. This allows to perform complex calculations on compressed data in a way that operands do not need to be in-memory, but can be stored on disk or on the network. This makes possible to work with data no matter how large it is, and that can be stored in a distributed fashion.

Most importantly, Python-Blosc2 uses the C-Blosc2 simple and open format for storing compressed data, making it easy to integrate with other systems and tools.

You can find more introductory info about Python-Blosc2 at:

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

Installing

Blosc2 now provides Python wheels for the major OS (Win, Mac and Linux) and platforms. You can install the binary packages from PyPi using pip:

pip install blosc2 --upgrade

For conda users, you can install the package from the conda-forge channel:

conda install -c conda-forge python-blosc2

Documentation

The documentation is available here:

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

Additionally, you can find some examples at:

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

Finally, we taught a tutorial at the PyData Global 2024 that you can find at: https://github.com/Blosc/Python-Blosc2-3.0-tutorial. There you will find different Jupyter notebook that explains 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 have contributed in an important way to the core development of the Blosc2 library:

  • Francesc Alted

  • Marta Iborra

  • Aleix Alcacer

  • Oscar Guiñón

  • Juan David Ibáñez

  • Ivan Vilata i Balaguer

  • Oumaima Ech.Chdig

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

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

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

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

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-2025},
  note = {https://blosc.org}
}

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

blosc2-3.2.0.tar.gz (11.3 MB view details)

Uploaded Source

Built Distributions

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

blosc2-3.2.0-cp313-cp313-win_amd64.whl (2.2 MB view details)

Uploaded CPython 3.13Windows x86-64

blosc2-3.2.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.4 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64

blosc2-3.2.0-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (4.3 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ ARM64

blosc2-3.2.0-cp313-cp313-macosx_11_0_arm64.whl (3.4 MB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

blosc2-3.2.0-cp313-cp313-macosx_10_13_x86_64.whl (4.0 MB view details)

Uploaded CPython 3.13macOS 10.13+ x86-64

blosc2-3.2.0-cp312-cp312-win_amd64.whl (2.2 MB view details)

Uploaded CPython 3.12Windows x86-64

blosc2-3.2.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.4 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

blosc2-3.2.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (4.3 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ ARM64

blosc2-3.2.0-cp312-cp312-macosx_11_0_arm64.whl (3.4 MB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

blosc2-3.2.0-cp312-cp312-macosx_10_13_x86_64.whl (4.0 MB view details)

Uploaded CPython 3.12macOS 10.13+ x86-64

blosc2-3.2.0-cp311-cp311-win_amd64.whl (2.2 MB view details)

Uploaded CPython 3.11Windows x86-64

blosc2-3.2.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.4 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

blosc2-3.2.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (4.3 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ ARM64

blosc2-3.2.0-cp311-cp311-macosx_11_0_arm64.whl (3.4 MB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

blosc2-3.2.0-cp311-cp311-macosx_10_9_x86_64.whl (4.0 MB view details)

Uploaded CPython 3.11macOS 10.9+ x86-64

File details

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

File metadata

  • Download URL: blosc2-3.2.0.tar.gz
  • Upload date:
  • Size: 11.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.1

File hashes

Hashes for blosc2-3.2.0.tar.gz
Algorithm Hash digest
SHA256 db38f2265cd7938cbdc7b029420d2d5b65fcb8f91ce00bb6d6bdac63194d62cc
MD5 d0130d8b5c92c27b30ce23098baede5a
BLAKE2b-256 7e2dee1c3601fb6e370707dc56c8275e509077550a1ec4bbda1a136d2caa470e

See more details on using hashes here.

File details

Details for the file blosc2-3.2.0-cp313-cp313-win_amd64.whl.

File metadata

  • Download URL: blosc2-3.2.0-cp313-cp313-win_amd64.whl
  • Upload date:
  • Size: 2.2 MB
  • Tags: CPython 3.13, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.1

File hashes

Hashes for blosc2-3.2.0-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 4573137605d361cff0865cd59b178bdc42aecc831f31f491b9eb12ccef48f9b6
MD5 8de21b846e2aaa0ef6b1ee2afb850fb7
BLAKE2b-256 107f84b2ba286fbd97ca90bf565029c65851df496212f82d205a16c201567627

See more details on using hashes here.

File details

Details for the file blosc2-3.2.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for blosc2-3.2.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 63b5e5aeb0ebdb9e50e03b99ded9245123eaf67af8b064823b2c70ae5f0549ae
MD5 78c8d845b5c2a00fda7387c3426d0204
BLAKE2b-256 aa0d5afbac38ce40643d8cb84b13f30a8e331ad73cf3a23c083b6d0af0e991d1

See more details on using hashes here.

File details

Details for the file blosc2-3.2.0-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for blosc2-3.2.0-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 0de4d99c0edba830ae40bad880e769eefc432791dbb3f8d48c4655ea498d9cea
MD5 14e7bc0350b8fd79b20c6c7b5c096da9
BLAKE2b-256 9a78a3e0694fdefb06efc30ee527313a83e16c19339abe5094bb68fe3f003722

See more details on using hashes here.

File details

Details for the file blosc2-3.2.0-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for blosc2-3.2.0-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 3836a0ebacf69eb3e7d84980cc7b385eaac4b5be366b54951e3ae5796b0b79ef
MD5 f826c2bfb63c812111d5a816567684eb
BLAKE2b-256 64ac75005f6b2506865d8a1630b95f3837f78003adb653d3bf63154c3bd8e14e

See more details on using hashes here.

File details

Details for the file blosc2-3.2.0-cp313-cp313-macosx_10_13_x86_64.whl.

File metadata

File hashes

Hashes for blosc2-3.2.0-cp313-cp313-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 ceaefd858ec8f0ba233a38c6dd190cd891e8f46b60b59949666d53ff41ea3cf4
MD5 62929736cd1fe6efb98727ced539047c
BLAKE2b-256 b2ef8f1ae33e147cc0005a5589ea789d7b87ad50e65fb3e3d8920d4b60981201

See more details on using hashes here.

File details

Details for the file blosc2-3.2.0-cp312-cp312-win_amd64.whl.

File metadata

  • Download URL: blosc2-3.2.0-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 2.2 MB
  • Tags: CPython 3.12, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.1

File hashes

Hashes for blosc2-3.2.0-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 e2dabd78fc26a3357f58095e409351a80728dc7d0b02cfa6ffcf6cbcb71f1bf1
MD5 d1fa59c5301d8fed8c0853b8f4997b1c
BLAKE2b-256 a52e867ed8517e285735b973f69b8a327a42bae5be0cf2cf4df7bd21851fe990

See more details on using hashes here.

File details

Details for the file blosc2-3.2.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for blosc2-3.2.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 e42fd9fef3b47ebfa3a98b65c0fe7bea944241e0c8c189fe390932bfce5e702f
MD5 6381046b4a0a6dd967d02725fc152867
BLAKE2b-256 fb9e7a472cd83f8651590f34f60cdcf08755c1ba313143f4b421037486d9bee4

See more details on using hashes here.

File details

Details for the file blosc2-3.2.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for blosc2-3.2.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 78a7cff1b3a754f864ea0103bda63d0a01af47aa3b0cc01ae0137642965d6e12
MD5 8deec316f7eeb15cf6d026a83cec1d61
BLAKE2b-256 ba2a3f452a78ee4bb716c01f05a77c14ebab3de6b3bee820539bb95f91197049

See more details on using hashes here.

File details

Details for the file blosc2-3.2.0-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for blosc2-3.2.0-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 ffd72874ae69a1d8af7909c6481878cd52e76bbac2be1043392d10db19025839
MD5 94f848bbfc1f6dce00c9c8e8f88eb485
BLAKE2b-256 926e97a300632f60fa2cb0d750f805375a0eb3542da5f5be20a13171a222b0d6

See more details on using hashes here.

File details

Details for the file blosc2-3.2.0-cp312-cp312-macosx_10_13_x86_64.whl.

File metadata

File hashes

Hashes for blosc2-3.2.0-cp312-cp312-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 e74513b5ddf0585cb2c371691b11ed4e30b71eb88f1ddbf718215b800bdb383b
MD5 8c30c25bf7f159e6c1d2dffd0bc35616
BLAKE2b-256 af8434797a85c603492edaf70dc175fed604ad5aec0fd30e71aa51c7a3c048ad

See more details on using hashes here.

File details

Details for the file blosc2-3.2.0-cp311-cp311-win_amd64.whl.

File metadata

  • Download URL: blosc2-3.2.0-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 2.2 MB
  • Tags: CPython 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.1

File hashes

Hashes for blosc2-3.2.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 8c58a3083ba0e0127ccb9c701a1ef8b467b64216db286de2edab478478e7754d
MD5 fb8f2456f35fabb5f94d94dc62810685
BLAKE2b-256 0d6eafa10c03fc9ed335061a77701c6c6cf05b13e494c25b5e4a94201470a343

See more details on using hashes here.

File details

Details for the file blosc2-3.2.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for blosc2-3.2.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 96359a8c6c2b01eaecb9c8e983c96d61d44cae8b42e7d89890255d8ba55c837b
MD5 2204a07d2a56d3ef90b5e6c94dad6d52
BLAKE2b-256 b1de1c6f1452e0f3d5e856c8ddfadc71d8c258f02adf46e74795bf56a5a85d9e

See more details on using hashes here.

File details

Details for the file blosc2-3.2.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for blosc2-3.2.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 c75c6b35a5d9c875ed62ec9c0b27c9f663b4d2083669d42207cfe6ac9b34635e
MD5 97972775a10ad8cd93f58d08b834fe12
BLAKE2b-256 9fc2729045f6d527ccf6027c08c1ff2489cc74fccfa956a5494f0f823b1131b3

See more details on using hashes here.

File details

Details for the file blosc2-3.2.0-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for blosc2-3.2.0-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 27aad07f48c08ebc03ca91bd61d67b8d2d771e0f1e7c06923a59d351a06d9ddf
MD5 b1d9cf14e88af7a8bd80b006114fda86
BLAKE2b-256 a0cd8181424bd65e2115c8434de6e98783324ebb255c459c0e18421e79aa699a

See more details on using hashes here.

File details

Details for the file blosc2-3.2.0-cp311-cp311-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for blosc2-3.2.0-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 03cb0ef98b0756375a133554949554e3347af9cf9975b2c445b0ec614520a8b6
MD5 6a8db2c287ba110d529abdeadc125475
BLAKE2b-256 0ae97645d4379f8a16878eface9b00d17d4675011c6cd226ea99f5e418c364a7

See more details on using hashes here.

Supported by

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