borgapi 0.7.0__tar.gz → 0.7.1__tar.gz

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.
@@ -1,15 +1,8 @@
1
- Metadata-Version: 2.2
1
+ Metadata-Version: 2.4
2
2
  Name: borgapi
3
- Version: 0.7.0
3
+ Version: 0.7.1
4
4
  Summary: Wrapper for borgbackup to easily use in code
5
5
  Author-email: Sean Slater <seanslater@whatno.io>
6
- License: Copyright 2021 Sean Slater
7
-
8
- Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
9
-
10
- The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
11
-
12
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
13
6
  Project-URL: homepage, https://github.com/spslater/borgapi
14
7
  Project-URL: documentation, https://github.com/spslater/borgapi/blob/master/README.md
15
8
  Project-URL: repository, https://github.com/spslater/borgapi.git
@@ -24,7 +17,6 @@ Classifier: Programming Language :: Python :: 3.11
24
17
  Classifier: Programming Language :: Python :: 3.12
25
18
  Classifier: Programming Language :: Python :: 3.13
26
19
  Classifier: Operating System :: OS Independent
27
- Classifier: License :: OSI Approved :: MIT License
28
20
  Classifier: Topic :: Utilities
29
21
  Classifier: Topic :: System :: Archiving :: Backup
30
22
  Requires-Python: >=3.9
@@ -32,6 +24,7 @@ Description-Content-Type: text/markdown
32
24
  License-File: LICENSE
33
25
  Requires-Dist: borgbackup[llfuse]~=1.4.0
34
26
  Requires-Dist: python-dotenv~=1.0.0
27
+ Dynamic: license-file
35
28
 
36
29
  # BorgAPI
37
30
 
@@ -0,0 +1,45 @@
1
+ """Interface for BorgBackup."""
2
+
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