batchvault 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.
- batchvault/__init__.py +61 -0
- batchvault/__main__.py +3 -0
- batchvault/api.py +884 -0
- batchvault/blocks.py +176 -0
- batchvault/cli.py +806 -0
- batchvault/config.py +169 -0
- batchvault/crypto.py +193 -0
- batchvault/doctor.py +67 -0
- batchvault/engines/__init__.py +0 -0
- batchvault/engines/base.py +57 -0
- batchvault/engines/native.py +237 -0
- batchvault/engines/registry.py +61 -0
- batchvault/engines/sevenzip.py +303 -0
- batchvault/errors.py +38 -0
- batchvault/eta.py +39 -0
- batchvault/filters.py +51 -0
- batchvault/inputs.py +226 -0
- batchvault/levels.py +169 -0
- batchvault/locate.py +140 -0
- batchvault/logs.py +86 -0
- batchvault/manifest.py +210 -0
- batchvault/models.py +164 -0
- batchvault/names.py +36 -0
- batchvault/notify.py +73 -0
- batchvault/options.py +71 -0
- batchvault/py.typed +0 -0
- batchvault/security.py +40 -0
- batchvault/signing.py +152 -0
- batchvault/ui.py +298 -0
- batchvault/volumes.py +201 -0
- batchvault-0.1.0.dist-info/METADATA +306 -0
- batchvault-0.1.0.dist-info/RECORD +35 -0
- batchvault-0.1.0.dist-info/WHEEL +4 -0
- batchvault-0.1.0.dist-info/entry_points.txt +2 -0
- batchvault-0.1.0.dist-info/licenses/LICENSE +21 -0
batchvault/__init__.py
ADDED
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import logging
|
|
2
|
+
|
|
3
|
+
__version__ = "0.1.0"
|
|
4
|
+
|
|
5
|
+
# Library code only logs; the command-line interface decides where logs go.
|
|
6
|
+
logging.getLogger("batchvault").addHandler(logging.NullHandler())
|
|
7
|
+
|
|
8
|
+
from batchvault.api import ( # noqa: E402
|
|
9
|
+
inspect,
|
|
10
|
+
list_archives,
|
|
11
|
+
list_files,
|
|
12
|
+
pack,
|
|
13
|
+
unpack,
|
|
14
|
+
verify,
|
|
15
|
+
)
|
|
16
|
+
from batchvault.errors import ( # noqa: E402
|
|
17
|
+
BatchVaultError,
|
|
18
|
+
ConfigError,
|
|
19
|
+
EngineError,
|
|
20
|
+
EngineNotFoundError,
|
|
21
|
+
InputError,
|
|
22
|
+
ManifestError,
|
|
23
|
+
OptionsError,
|
|
24
|
+
OutputExistsError,
|
|
25
|
+
SignatureError,
|
|
26
|
+
VolumeError,
|
|
27
|
+
)
|
|
28
|
+
from batchvault.models import ( # noqa: E402
|
|
29
|
+
FileEntry,
|
|
30
|
+
FileResult,
|
|
31
|
+
InspectEntry,
|
|
32
|
+
ProgressEvent,
|
|
33
|
+
RunResult,
|
|
34
|
+
Status,
|
|
35
|
+
)
|
|
36
|
+
|
|
37
|
+
__all__ = [
|
|
38
|
+
"BatchVaultError",
|
|
39
|
+
"ConfigError",
|
|
40
|
+
"EngineError",
|
|
41
|
+
"EngineNotFoundError",
|
|
42
|
+
"FileEntry",
|
|
43
|
+
"FileResult",
|
|
44
|
+
"InputError",
|
|
45
|
+
"InspectEntry",
|
|
46
|
+
"ManifestError",
|
|
47
|
+
"OptionsError",
|
|
48
|
+
"OutputExistsError",
|
|
49
|
+
"ProgressEvent",
|
|
50
|
+
"RunResult",
|
|
51
|
+
"SignatureError",
|
|
52
|
+
"Status",
|
|
53
|
+
"VolumeError",
|
|
54
|
+
"__version__",
|
|
55
|
+
"inspect",
|
|
56
|
+
"list_archives",
|
|
57
|
+
"list_files",
|
|
58
|
+
"pack",
|
|
59
|
+
"unpack",
|
|
60
|
+
"verify",
|
|
61
|
+
]
|
batchvault/__main__.py
ADDED