https://github.com/janeliascicomp/kleio-python-sdk
https://github.com/janeliascicomp/kleio-python-sdk
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/janeliascicomp/kleio-python-sdk
- Owner: JaneliaSciComp
- License: bsd-3-clause
- Created: 2022-10-31T15:21:14.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2023-07-25T16:07:01.000Z (over 2 years ago)
- Last Synced: 2025-09-05T12:45:40.826Z (5 months ago)
- Language: Python
- Size: 26.2 MB
- Stars: 2
- Watchers: 6
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
### Versioned Storage Python SDK
| [JAVA SDK IS HERE](https://github.com/JaneliaSciComp/VersionedN5)
----
#### Proposed solution:
To enable block-based data versioning for nd data, a mix is created of:
- Version block index using [Zarr](https://zarr.readthedocs.io/en/stable/) + [Git](https://git-scm.com/)
- A key value store: using [N5](https://github.com/saalfeldlab/n5) for now
### How to:
```
index_store = ZarrIndexStore(INDEX_PATH)
store = VersionedFSStore(index_store, RAW_PATH)
z = zarr.open(store, mode="a")
# Commit
store.vc.commit()
# Push
store.vc.push()
# Create new branch
store.vc.create_new_branch(BRANCH_NAME)
# Checkout new branch
store.vc.create_new_branch(BRANCH_NAME)
```
### Features:
- Multiple branches
- Multiple collaborators
- Can jump anytime to any historical point
- Data is not replicated and no extra reading writing cost
Every change is a now commit:

