Tags: zarr-developers/zarr-python
Tags
feat/batch creation (#2665) * sketch out batch creation routine * scratch state of easy batch creation * rename tupleize keys * tests and proper implementation for create_nodes and create_hierarchy * privatize * use Posixpath instead of Path in tests; avoid redundant cast * restore cast * pureposixpath instead of posixpath * group-level create_hierarchy * docstring * sketch out from_flat for groups * better concurrency for v2 * revert change to default concurrency * create root correctly * working _from_flat * working dict serialization for _ImplicitGroupMetadata * remove implicit group metadata, and add some key name normalization * add path normalization routines * use _join_paths for safer path concatenation * handle overwrite * rename _from_flat to _create_rooted_hierarchy, add sync version * add test for _create_rooted_hierarchy when the output should be an array, and for when the input is invalid * increase coverage, one way or another * remove replace kwarg for _set_return_key * shield lines from coverage * add some tests * lint * improve coverage with more tests * use store + path instead of StorePath for hierarchy api * docstrings * docstrings * release notes * refactor sync / async functions, and make tests more compact accordingly * keyerror -> filenotfounderror * keyerror -> filenotfounderror, fixup * add top-level exports * mildly refactor node input validation * simplify path normalization * refactor to separate sync and async routines * remove semaphore kwarg, and add test for concurrency limit sensitivity * wire up semaphore correctly, thanks to a test * export read_node * docstrings * docstrings * read_node -> get_node * Update src/zarr/api/synchronous.py Co-authored-by: Joe Hamman <jhamman1@gmail.com> * update docstring * add function signature tests * update exception name * refactor: remove path kwarg, bring back ImplicitGroupMetadata * prune top-level synchronous API * more api pruning * put sync wrappers in sync_group module, move utils to utils * ensure we always have a root group * docs * fix group.create_hierarchy to properly prefix keys with the name of the group * docstrings * docstrings * docstring examples --------- Co-authored-by: Joe Hamman <jhamman1@gmail.com>
prepare changelog for 3.0.2 release (#2783) * prepare changelog for 3.0.2 release * fixup * Update docs/release-notes.rst Co-authored-by: Davis Bennett <davis.v.bennett@gmail.com> * fixup --------- Co-authored-by: Davis Bennett <davis.v.bennett@gmail.com>
PreviousNext