borgapi 0.6.1__py3-none-any.whl → 0.7.1__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.
- borgapi/__init__.py +44 -4
- borgapi/borgapi.py +616 -313
- borgapi/capture.py +416 -0
- borgapi/helpers.py +26 -0
- borgapi/options.py +137 -68
- {borgapi-0.6.1.dist-info → borgapi-0.7.1.dist-info}/METADATA +68 -44
- borgapi-0.7.1.dist-info/RECORD +10 -0
- {borgapi-0.6.1.dist-info → borgapi-0.7.1.dist-info}/WHEEL +1 -1
- {borgapi-0.6.1.dist-info → borgapi-0.7.1.dist-info}/top_level.txt +0 -1
- borgapi-0.6.1.dist-info/RECORD +0 -27
- test/__init__.py +0 -0
- test/borgapi/__init__.py +0 -0
- test/borgapi/test_01_borgapi.py +0 -226
- test/borgapi/test_02_init.py +0 -78
- test/borgapi/test_03_create.py +0 -136
- test/borgapi/test_04_extract.py +0 -52
- test/borgapi/test_05_rename.py +0 -32
- test/borgapi/test_06_list.py +0 -59
- test/borgapi/test_07_diff.py +0 -54
- test/borgapi/test_08_delete.py +0 -68
- test/borgapi/test_09_prune.py +0 -48
- test/borgapi/test_10_info.py +0 -50
- test/borgapi/test_11_mount.py +0 -50
- test/borgapi/test_12_key.py +0 -81
- test/borgapi/test_13_export_tar.py +0 -38
- test/borgapi/test_14_config.py +0 -42
- test/borgapi/test_15_benchmark_crud.py +0 -24
- test/borgapi/test_16_compact.py +0 -33
- test/test_00_options.py +0 -70
- {borgapi-0.6.1.dist-info → borgapi-0.7.1.dist-info/licenses}/LICENSE +0 -0
borgapi/__init__.py
CHANGED
|
@@ -1,5 +1,45 @@
|
|
|
1
|
-
"""Interface for BorgBackup"""
|
|
2
|
-
__all__ = ["borgapi", "options"]
|
|
1
|
+
"""Interface for BorgBackup."""
|
|
3
2
|
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
__all__ = [
|
|
4
|
+
"BorgAPI",
|
|
5
|
+
"BorgAPIAsync",
|
|
6
|
+
"CommonOptions",
|
|
7
|
+
"ExclusionOptions",
|
|
8
|
+
"ExclusionInput",
|
|
9
|
+
"ExclusionOutput",
|
|
10
|
+
"FilesystemOptions",
|
|
11
|
+
"ArchiveOptions",
|
|
12
|
+
"ArchiveInput",
|
|
13
|
+
"ArchivePattern",
|
|
14
|
+
"ArchiveOutput",
|
|
15
|
+
"CommandOptions",
|
|
16
|
+
"Json",
|
|
17
|
+
"Output",
|
|
18
|
+
"Options",
|
|
19
|
+
"OutputOptions",
|
|
20
|
+
"ListStringIO",
|
|
21
|
+
"PersistantHandler",
|
|
22
|
+
"BorgLogCapture",
|
|
23
|
+
"OutputCapture",
|
|
24
|
+
]
|
|
25
|
+
|
|
26
|
+
from .borgapi import BorgAPI as BorgAPI
|
|
27
|
+
from .borgapi import BorgAPIAsync as BorgAPIAsync
|
|
28
|
+
from .capture import BorgLogCapture as BorgLogCapture
|
|
29
|
+
from .capture import ListStringIO as ListStringIO
|
|
30
|
+
from .capture import OutputCapture as OutputCapture
|
|
31
|
+
from .capture import OutputOptions as OutputOptions
|
|
32
|
+
from .capture import PersistantHandler as PersistantHandler
|
|
33
|
+
from .helpers import Json as Json
|
|
34
|
+
from .helpers import Options as Options
|
|
35
|
+
from .helpers import Output as Output
|
|
36
|
+
from .options import ArchiveInput as ArchiveInput
|
|
37
|
+
from .options import ArchiveOptions as ArchiveOptions
|
|
38
|
+
from .options import ArchiveOutput as ArchiveOutput
|
|
39
|
+
from .options import ArchivePattern as ArchivePattern
|
|
40
|
+
from .options import CommandOptions as CommandOptions
|
|
41
|
+
from .options import CommonOptions as CommonOptions
|
|
42
|
+
from .options import ExclusionInput as ExclusionInput
|
|
43
|
+
from .options import ExclusionOptions as ExclusionOptions
|
|
44
|
+
from .options import ExclusionOutput as ExclusionOutput
|
|
45
|
+
from .options import FilesystemOptions as FilesystemOptions
|