pyPreservica 0.9.9__py3-none-any.whl → 3.3.4__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.
- pyPreservica/__init__.py +26 -8
- pyPreservica/adminAPI.py +877 -0
- pyPreservica/authorityAPI.py +229 -0
- pyPreservica/common.py +553 -94
- pyPreservica/contentAPI.py +331 -65
- pyPreservica/entityAPI.py +1805 -446
- pyPreservica/mdformsAPI.py +572 -0
- pyPreservica/monitorAPI.py +153 -0
- pyPreservica/opex.py +98 -0
- pyPreservica/parAPI.py +226 -0
- pyPreservica/retentionAPI.py +155 -44
- pyPreservica/settingsAPI.py +295 -0
- pyPreservica/uploadAPI.py +1120 -321
- pyPreservica/webHooksAPI.py +211 -0
- pyPreservica/workflowAPI.py +99 -47
- {pyPreservica-0.9.9.dist-info → pypreservica-3.3.4.dist-info}/METADATA +93 -66
- pypreservica-3.3.4.dist-info/RECORD +20 -0
- {pyPreservica-0.9.9.dist-info → pypreservica-3.3.4.dist-info}/WHEEL +5 -5
- pyPreservica-0.9.9.dist-info/RECORD +0 -12
- {pyPreservica-0.9.9.dist-info → pypreservica-3.3.4.dist-info/licenses}/LICENSE.txt +0 -0
- {pyPreservica-0.9.9.dist-info → pypreservica-3.3.4.dist-info}/top_level.txt +0 -0
pyPreservica/__init__.py
CHANGED
|
@@ -1,22 +1,40 @@
|
|
|
1
1
|
"""
|
|
2
|
-
pyPreservica
|
|
2
|
+
pyPreservica package definition
|
|
3
3
|
import API classes, for entity, content, upload, workflows & retention
|
|
4
4
|
|
|
5
5
|
author: James Carr
|
|
6
6
|
licence: Apache License 2.0
|
|
7
7
|
|
|
8
8
|
"""
|
|
9
|
+
|
|
9
10
|
from .common import *
|
|
10
|
-
from .contentAPI import ContentAPI
|
|
11
|
+
from .contentAPI import ContentAPI, Field, SortOrder
|
|
11
12
|
from .entityAPI import EntityAPI
|
|
12
|
-
from .uploadAPI import
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
from .uploadAPI import (
|
|
14
|
+
UploadAPI,
|
|
15
|
+
simple_asset_package,
|
|
16
|
+
complex_asset_package,
|
|
17
|
+
cvs_to_xsd,
|
|
18
|
+
cvs_to_xml,
|
|
19
|
+
cvs_to_cmis_xslt,
|
|
20
|
+
csv_to_search_xml,
|
|
21
|
+
generic_asset_package,
|
|
22
|
+
upload_config,
|
|
23
|
+
multi_asset_package,
|
|
24
|
+
)
|
|
25
|
+
from .workflowAPI import WorkflowAPI, WorkflowContext, WorkflowInstance
|
|
26
|
+
from .retentionAPI import RetentionAPI, RetentionAssignment, RetentionPolicy
|
|
27
|
+
from .parAPI import PreservationActionRegistry
|
|
28
|
+
from .adminAPI import AdminAPI
|
|
29
|
+
from .monitorAPI import MonitorAPI, MonitorCategory, MonitorStatus, MessageStatus
|
|
30
|
+
from .webHooksAPI import WebHooksAPI, TriggerType, WebHookHandler, FlaskWebhookHandler
|
|
31
|
+
from .authorityAPI import AuthorityAPI, Table
|
|
32
|
+
from .mdformsAPI import MetadataGroupsAPI, Group, GroupField, GroupFieldType
|
|
33
|
+
from .settingsAPI import SettingsAPI
|
|
16
34
|
|
|
17
35
|
__author__ = "James Carr (drjamescarr@gmail.com)"
|
|
18
36
|
|
|
19
|
-
# Version of the
|
|
20
|
-
__version__ = "
|
|
37
|
+
# Version of the pyPreservica package
|
|
38
|
+
__version__ = "3.3.4"
|
|
21
39
|
|
|
22
40
|
__license__ = "Apache License Version 2.0"
|