reflake 0.1.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- reflake/__init__.py +165 -0
- reflake/cli.py +1417 -0
- reflake/core/__init__.py +181 -0
- reflake/core/client_state.py +157 -0
- reflake/core/config.py +105 -0
- reflake/core/domain/__init__.py +56 -0
- reflake/core/domain/errors.py +79 -0
- reflake/core/domain/models.py +154 -0
- reflake/core/hashing.py +23 -0
- reflake/core/layout.py +71 -0
- reflake/core/manifest.py +459 -0
- reflake/core/objects/__init__.py +65 -0
- reflake/core/objects/backends.py +123 -0
- reflake/core/objects/base.py +113 -0
- reflake/core/objects/derived.py +72 -0
- reflake/core/objects/footer.py +523 -0
- reflake/core/objects/local.py +253 -0
- reflake/core/objects/query.py +287 -0
- reflake/core/objects/s3.py +464 -0
- reflake/core/objects/source.py +248 -0
- reflake/core/objects/transfer.py +174 -0
- reflake/core/objects/tree.py +239 -0
- reflake/core/query/__init__.py +38 -0
- reflake/core/query/catalog.py +97 -0
- reflake/core/query/pruning.py +240 -0
- reflake/core/repository.py +961 -0
- reflake/core/repository_ops.py +500 -0
- reflake/core/repository_support.py +144 -0
- reflake/core/repository_sync.py +503 -0
- reflake/core/services/__init__.py +24 -0
- reflake/core/services/entries.py +219 -0
- reflake/core/services/refs.py +273 -0
- reflake/core/services/staging.py +276 -0
- reflake/core/services/tree.py +867 -0
- reflake/core/vfs/__init__.py +273 -0
- reflake-0.1.0.dist-info/METADATA +1067 -0
- reflake-0.1.0.dist-info/RECORD +41 -0
- reflake-0.1.0.dist-info/WHEEL +4 -0
- reflake-0.1.0.dist-info/entry_points.txt +2 -0
- reflake-0.1.0.dist-info/licenses/LICENSE +661 -0
- reflake-0.1.0.dist-info/licenses/NOTICE +10 -0
reflake/__init__.py
ADDED
|
@@ -0,0 +1,165 @@
|
|
|
1
|
+
from .cli import build_parser, main, run_cli
|
|
2
|
+
from .core import (
|
|
3
|
+
DEFAULT_CHUNK_SIZE,
|
|
4
|
+
BaseConfig,
|
|
5
|
+
ReflakeConfig,
|
|
6
|
+
LocalConfig,
|
|
7
|
+
S3Config,
|
|
8
|
+
init_config,
|
|
9
|
+
AnalyticalIndexPaths,
|
|
10
|
+
BlobTransferBackend,
|
|
11
|
+
LocalClientState,
|
|
12
|
+
CommitObject,
|
|
13
|
+
DiffEntry,
|
|
14
|
+
FileEntry,
|
|
15
|
+
ReflakeFileSystem,
|
|
16
|
+
ReflakeLayout,
|
|
17
|
+
ReflakeRepository,
|
|
18
|
+
ReflakeError,
|
|
19
|
+
ReflakeURI,
|
|
20
|
+
BranchRefState,
|
|
21
|
+
open_repository,
|
|
22
|
+
LocalStorageBackend,
|
|
23
|
+
LocalObjectStore,
|
|
24
|
+
ManifestEntry,
|
|
25
|
+
ManifestReader,
|
|
26
|
+
ManifestWriter,
|
|
27
|
+
MergeConflictError,
|
|
28
|
+
NotARepositoryError,
|
|
29
|
+
ObjectMissingError,
|
|
30
|
+
OptimisticLockError,
|
|
31
|
+
PreconditionFailedError,
|
|
32
|
+
RefConflictError,
|
|
33
|
+
StorageUnavailableError,
|
|
34
|
+
ObjectStore,
|
|
35
|
+
Predicate,
|
|
36
|
+
PrunedFileScan,
|
|
37
|
+
PruneResult,
|
|
38
|
+
S3BlobTransferBackend,
|
|
39
|
+
S5CmdBlobTransferBackend,
|
|
40
|
+
S3ObjectStore,
|
|
41
|
+
S3StorageBackend,
|
|
42
|
+
StorageBackend,
|
|
43
|
+
StageChange,
|
|
44
|
+
StageStatus,
|
|
45
|
+
MergeResult,
|
|
46
|
+
NonFastForwardError,
|
|
47
|
+
add,
|
|
48
|
+
blake3_digest_file,
|
|
49
|
+
blake3_digest_stream,
|
|
50
|
+
build_analytical_index,
|
|
51
|
+
blob_relpath,
|
|
52
|
+
branch,
|
|
53
|
+
build_blob_transfer_backend,
|
|
54
|
+
build_manifest_entries,
|
|
55
|
+
cat,
|
|
56
|
+
catalog,
|
|
57
|
+
checkout,
|
|
58
|
+
commit,
|
|
59
|
+
diff,
|
|
60
|
+
gc,
|
|
61
|
+
import_s3,
|
|
62
|
+
initialize_reflake_layout,
|
|
63
|
+
log,
|
|
64
|
+
merge,
|
|
65
|
+
move_staged,
|
|
66
|
+
parse_where_clause,
|
|
67
|
+
plan_pruned_scan,
|
|
68
|
+
prune_row_groups,
|
|
69
|
+
reflog,
|
|
70
|
+
restore_files,
|
|
71
|
+
rm,
|
|
72
|
+
status,
|
|
73
|
+
verify,
|
|
74
|
+
walk_files,
|
|
75
|
+
FetchResult,
|
|
76
|
+
PullResult,
|
|
77
|
+
PushResult,
|
|
78
|
+
fetch,
|
|
79
|
+
pull,
|
|
80
|
+
push,
|
|
81
|
+
)
|
|
82
|
+
|
|
83
|
+
__all__ = [
|
|
84
|
+
"DEFAULT_CHUNK_SIZE",
|
|
85
|
+
"BaseConfig",
|
|
86
|
+
"ReflakeConfig",
|
|
87
|
+
"LocalConfig",
|
|
88
|
+
"S3Config",
|
|
89
|
+
"init_config",
|
|
90
|
+
"AnalyticalIndexPaths",
|
|
91
|
+
"BlobTransferBackend",
|
|
92
|
+
"LocalClientState",
|
|
93
|
+
"CommitObject",
|
|
94
|
+
"DiffEntry",
|
|
95
|
+
"ReflakeFileSystem",
|
|
96
|
+
"ReflakeLayout",
|
|
97
|
+
"ReflakeRepository",
|
|
98
|
+
"ReflakeError",
|
|
99
|
+
"ReflakeURI",
|
|
100
|
+
"FileEntry",
|
|
101
|
+
"BranchRefState",
|
|
102
|
+
"open_repository",
|
|
103
|
+
"MergeConflictError",
|
|
104
|
+
"NotARepositoryError",
|
|
105
|
+
"ObjectMissingError",
|
|
106
|
+
"OptimisticLockError",
|
|
107
|
+
"PreconditionFailedError",
|
|
108
|
+
"RefConflictError",
|
|
109
|
+
"StorageUnavailableError",
|
|
110
|
+
"S3BlobTransferBackend",
|
|
111
|
+
"S5CmdBlobTransferBackend",
|
|
112
|
+
"StageChange",
|
|
113
|
+
"StageStatus",
|
|
114
|
+
"MergeResult",
|
|
115
|
+
"NonFastForwardError",
|
|
116
|
+
"LocalObjectStore",
|
|
117
|
+
"LocalStorageBackend",
|
|
118
|
+
"ManifestEntry",
|
|
119
|
+
"ManifestReader",
|
|
120
|
+
"ManifestWriter",
|
|
121
|
+
"ObjectStore",
|
|
122
|
+
"Predicate",
|
|
123
|
+
"PrunedFileScan",
|
|
124
|
+
"PruneResult",
|
|
125
|
+
"S3ObjectStore",
|
|
126
|
+
"S3StorageBackend",
|
|
127
|
+
"StorageBackend",
|
|
128
|
+
"blake3_digest_file",
|
|
129
|
+
"blake3_digest_stream",
|
|
130
|
+
"build_analytical_index",
|
|
131
|
+
"parse_where_clause",
|
|
132
|
+
"plan_pruned_scan",
|
|
133
|
+
"prune_row_groups",
|
|
134
|
+
"blob_relpath",
|
|
135
|
+
"add",
|
|
136
|
+
"branch",
|
|
137
|
+
"build_blob_transfer_backend",
|
|
138
|
+
"build_manifest_entries",
|
|
139
|
+
"build_parser",
|
|
140
|
+
"cat",
|
|
141
|
+
"catalog",
|
|
142
|
+
"checkout",
|
|
143
|
+
"commit",
|
|
144
|
+
"diff",
|
|
145
|
+
"gc",
|
|
146
|
+
"import_s3",
|
|
147
|
+
"initialize_reflake_layout",
|
|
148
|
+
"log",
|
|
149
|
+
"main",
|
|
150
|
+
"merge",
|
|
151
|
+
"move_staged",
|
|
152
|
+
"reflog",
|
|
153
|
+
"restore_files",
|
|
154
|
+
"rm",
|
|
155
|
+
"run_cli",
|
|
156
|
+
"status",
|
|
157
|
+
"verify",
|
|
158
|
+
"walk_files",
|
|
159
|
+
"FetchResult",
|
|
160
|
+
"PullResult",
|
|
161
|
+
"PushResult",
|
|
162
|
+
"fetch",
|
|
163
|
+
"pull",
|
|
164
|
+
"push",
|
|
165
|
+
]
|