Skip to content

Commit

Permalink
Release b2h5py v0.3.0.
Browse files Browse the repository at this point in the history
This release changes the package interface to require explicitly enabling
optimizations and use more friendly names.

Functions for doing, undoing and checking patching are now called
`b2h5py.enable_fast_slicing()`, `b2h5py.disable_fast_slicing()` and
`b2h5py.is_fast_slicing_enabled()`, while the context manager is called
`b2h5py.fast_slicing()`.  Please see the updated and fixed example script.

Importing `b2h5py` no longer enables optimizations until
`b2h5py.enable_fast_slicing()` or `b2h5py.fast_slicing()` are used.  For the
previous implicit behaviour you may just import the new `b2h5py.auto` module.

Finally, the caching of the property that determines whether a dataset is
amenable for Blosc2 optimized slicing has been fixed.
  • Loading branch information
ivilata committed Dec 13, 2023
1 parent 62de9ec commit b02375e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ classifiers = [
authors = [
{ name = "Ivan Vilata-i-Balaguer", email = "[email protected]" },
]
version = "0.2.1.dev0"
version = "0.3.0"
requires-python = ">= 3.3" # contextlib.ExitStack
dependencies = [
"blosc2 >= 2.3.0", # open schunk by offset
Expand Down

0 comments on commit b02375e

Please sign in to comment.