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.1.1.tar.gz (9.9 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.1.1-cp313-cp313-win_amd64.whl (2.2 MB view details)

Uploaded CPython 3.13Windows x86-64

blosc2-3.1.1-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.1.1-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (4.2 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ ARM64

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

Uploaded CPython 3.13macOS 11.0+ ARM64

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

Uploaded CPython 3.13macOS 10.13+ x86-64

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

Uploaded CPython 3.12Windows x86-64

blosc2-3.1.1-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.1.1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (4.2 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ ARM64

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

Uploaded CPython 3.12macOS 11.0+ ARM64

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

Uploaded CPython 3.12macOS 10.13+ x86-64

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

Uploaded CPython 3.11Windows x86-64

blosc2-3.1.1-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.1.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (4.3 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ ARM64

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

Uploaded CPython 3.11macOS 11.0+ ARM64

blosc2-3.1.1-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.1.1.tar.gz.

File metadata

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

File hashes

Hashes for blosc2-3.1.1.tar.gz
Algorithm Hash digest
SHA256 1999f442676d31b07820fb97437caca3b1fbd7c94bfa2d18f6f26c2e9d90e622
MD5 795beb047443927d4ab43a147fc7a161
BLAKE2b-256 0772ce387bfd0c8f0e7acc7c62b8bc13d5beaabcef5a735800da0beeaf3ad1df

See more details on using hashes here.

File details

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

File metadata

  • Download URL: blosc2-3.1.1-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.1.1-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 3cb0f17ce4551ecff5a90eee5e297be73c29689fb82c026f51751d4e48cee4cd
MD5 4124e827a20019911199887ee3f745e8
BLAKE2b-256 e9e6c1602b0642110d621e9661b24eaa5f20bf691191d1e1915005b97fc18283

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for blosc2-3.1.1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 2fab9efb920fc54aaf1387346fcbea6764ebd3413311b31c0c661875eb83a6d2
MD5 bd04d3b7062fe0eb03329107962caf93
BLAKE2b-256 8b14cc880f88bde3dc890def8591a3babb8f463caf4edc95f3319f2718667f1e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for blosc2-3.1.1-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 f30de8258400dae8e53a15c7e4bc631c4b5db0b954d17651da908ec8a652137f
MD5 1c1775e748705ff2de364bd59cadb592
BLAKE2b-256 3749dc2f354abde747ffb384ab94d1a8775b6e4d8062815119446b6a9d3439d3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for blosc2-3.1.1-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 f951160a7f13d6acc45234fa7df032188ddfbf664ff747342f4f3c3490123d7e
MD5 c8714a8c84e985ed81d2e6aa19243fbb
BLAKE2b-256 722f1fa26cd7f26b4fcb00ab081a625084e8f5ba0ce37bf6fe020231361240c0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for blosc2-3.1.1-cp313-cp313-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 b4bdc0d0e471a5a799a3ea047c1357a881ed14a3b4208de87d5bf46eabc4d90f
MD5 57cc17279a6884c48c2c6565c7d942b9
BLAKE2b-256 25ad9c2b566611f7eeace73303e8628f1bd811b85a848fffbd56c3283f140d96

See more details on using hashes here.

File details

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

File metadata

  • Download URL: blosc2-3.1.1-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.1.1-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 db153e073b616f0408bbda7c60c5b039bfae4c19430c80b21f022d4b415071b0
MD5 034b68488b5671dd8f45a6711c7f1286
BLAKE2b-256 e5d98fa3765e848b031321439273ee94ea3b4225480e50169f791d02d1b979f8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for blosc2-3.1.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 b2fab7291999d96d4e3f84fd97adaddce07c31dc06b0f15eab75334433299ab5
MD5 aa384716b1be4ee0ddcbda554cfca6e8
BLAKE2b-256 4eb1a903f5017fe501d97189a87a6f100cfca09cb884a2f1ef9f68d65e767fca

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for blosc2-3.1.1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 b1d31a0eb8023b3976f4b6af238600cbc4858b5d2c35103a419b4ed339e0ccb8
MD5 517e8b64305be87019d4db7f859e1542
BLAKE2b-256 9f54981412a67003e08954cf94113de3a92a6b55c6c408f7862f28fc551dc7bf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for blosc2-3.1.1-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 6148dcd8e802bd845d610aebf1537cfa56b12f46706282d319adc4cd0ce6014b
MD5 a8f20b6ff0d42dfb031ae638d92a1d9c
BLAKE2b-256 e6d0e434a8de4a7826729504f5c1351c6dcab64ee0a87a57614ec730307b6316

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for blosc2-3.1.1-cp312-cp312-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 0c18a77ada14609efcc2ba4ebbf91e19ebf5292a1b6153d820c6245e226d0fb2
MD5 5f099210f2806a55ce5d8a0433853306
BLAKE2b-256 83032a62a18edd2e632a8d6a57a7795bb5a32abcc505050c254020c400a1dcde

See more details on using hashes here.

File details

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

File metadata

  • Download URL: blosc2-3.1.1-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.1.1-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 6b6b20c6a761f38b4266fa109242382eac7b466b770b4bf994f334930f94e37f
MD5 a47dd304f0a792d87f5db4e2e2208f2d
BLAKE2b-256 61333890fd4555f574b101b8ebbae199259d4ee7441933b650eff991510fec6e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for blosc2-3.1.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 69c9e486236bb5d1d7c62d412d92f10ad374d90bcf4039a1e7b7f2823470f0de
MD5 698082b112014647b0a1c631fcb95e40
BLAKE2b-256 c53c4a8415fccaa0ee6c801d3cee3cc4cfac300261dc3395f2cb8fa1a458a588

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for blosc2-3.1.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 7aa92f21c63e22d0b04c2a84c26c4489ae7f9486b6eb1dbd9f492e1a51296f69
MD5 6fac57f0d2cf15acaa5a79f0eea32612
BLAKE2b-256 195647cd78d0a7f0f8d2ed1241b2df48f71e18834b0c2172a99dabd6c8388fe3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for blosc2-3.1.1-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 64a86da9a784770815e14294b16200b696808f1a244f6675e3ecd12165c1e650
MD5 d11ed688e5452a20c5dbc2974b803f62
BLAKE2b-256 ac68b1f9a45dc04d0764fc510d3bbed821c4f97d1548b717f33b7c8cbe5d426a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for blosc2-3.1.1-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 0360121f37a556e69107f59d34da8d26c9cb9c970a34465b181678b556f9536c
MD5 6929dd18c9aaec7dddb62ef63c4b2342
BLAKE2b-256 f94f4cb0b133c71a590d0c7e02c6174ba81363e8ac196e4f23366dbc437b51af

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