Tags: ianhi/zarr-python
Tags
release: update release notes for 3.0.6 (zarr-developers#2923)
3.0.5 release prep (zarr-developers#2898) * fix release note file names * update release notes * add missing release notes section for 3.0.4
feat/batch creation (zarr-developers#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>
Changelog for v3.0.3 (zarr-developers#2836) * Changelof for v3.0.3 * fix version
prepare changelog for 3.0.2 release (zarr-developers#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>
doc: release notes for 3.0.1 (zarr-developers#2726) * doc: release notes for 3.0.1 * fixup * tidy
Use dataclasses for ByteRangeRequests (zarr-developers#2585) * Use TypedDicts for more literate ByteRangeRequests * Update utility function * fixes sharding * Ignore mypy errors * Fix offset in _normalize_byte_range_index * Update get_partial_values for FsspecStore * Re-add fs._cat_ranges argument * Simplify typing * Update _normalize to return start, stop * Use explicit range * Use dataclasses * Update typing * Update docstring * Rename ExplicitRange to ExplicitByteRequest * Rename OffsetRange to OffsetByteRequest * Rename SuffixRange to SuffixByteRequest * Use match; case instead of if; elif * Revert "Use match; case instead of if; elif" This reverts commit a7d35f8. * Update ByteRangeRequest to ByteRequest * Remove ByteRange definition from common * Rename ExplicitByteRequest to RangeByteRequest * Provide more informative error message --------- Co-authored-by: Norman Rzepka <code@normanrz.com>
PreviousNext