forked from zarr-developers/zarr-python
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path__init__.py
More file actions
77 lines (75 loc) · 1.64 KB
/
__init__.py
File metadata and controls
77 lines (75 loc) · 1.64 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
# flake8: noqa
import warnings
from zarr.codecs import *
from zarr.convenience import (
consolidate_metadata,
copy,
copy_all,
copy_store,
load,
open,
open_consolidated,
save,
save_array,
save_group,
tree,
)
from zarr.core import Array
from zarr.creation import (
array,
create,
empty,
empty_like,
full,
full_like,
ones,
ones_like,
open_array,
open_like,
zeros,
zeros_like,
)
from zarr.errors import CopyError, MetadataError
from zarr.hierarchy import Group, group, open_group
from zarr.n5 import N5Store, N5FSStore
from zarr._storage.store import v3_api_available
from zarr.storage import (
ABSStore,
DBMStore,
DictStore,
DirectoryStore,
KVStore,
LMDBStore,
LRUStoreCache,
MemoryStore,
MongoDBStore,
NestedDirectoryStore,
RedisStore,
SQLiteStore,
TempStore,
ZipStore,
)
from zarr.sync import ProcessSynchronizer, ThreadSynchronizer
from zarr.version import version as __version__
# in case setuptools scm screw up and find version to be 0.0.0
assert not __version__.startswith("0.0.0")
if v3_api_available:
warnings.warn(
"The zarr v3 API in zarr-python v2 is deprecated, and will be removed in zarr-python 2.19.0. "
"Use zarr-python 3 instead for Zarr format 3 support.",
DeprecationWarning,
stacklevel=2,
)
from zarr._storage.v3 import (
ABSStoreV3,
DBMStoreV3,
KVStoreV3,
DirectoryStoreV3,
LMDBStoreV3,
LRUStoreCacheV3,
MemoryStoreV3,
MongoDBStoreV3,
RedisStoreV3,
SQLiteStoreV3,
ZipStoreV3,
)