semantic_jsonsubschema 0.9.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.
- semantic_jsonsubschema/__init__.py +34 -0
- semantic_jsonsubschema/_canonicalization.py +741 -0
- semantic_jsonsubschema/_checkers.py +2001 -0
- semantic_jsonsubschema/_constants.py +43 -0
- semantic_jsonsubschema/_semantic_reasoners.py +689 -0
- semantic_jsonsubschema/_semantic_settings.py +66 -0
- semantic_jsonsubschema/_semantic_utils.py +135 -0
- semantic_jsonsubschema/_utils.py +399 -0
- semantic_jsonsubschema/api.py +139 -0
- semantic_jsonsubschema/cli.py +339 -0
- semantic_jsonsubschema/config.py +39 -0
- semantic_jsonsubschema/exceptions.py +132 -0
- semantic_jsonsubschema-0.9.0.dist-info/METADATA +444 -0
- semantic_jsonsubschema-0.9.0.dist-info/RECORD +19 -0
- semantic_jsonsubschema-0.9.0.dist-info/WHEEL +5 -0
- semantic_jsonsubschema-0.9.0.dist-info/entry_points.txt +2 -0
- semantic_jsonsubschema-0.9.0.dist-info/licenses/LICENSE.txt +203 -0
- semantic_jsonsubschema-0.9.0.dist-info/licenses/NOTICE.txt +16 -0
- semantic_jsonsubschema-0.9.0.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
'''
|
|
2
|
+
Created on August 6, 2019
|
|
3
|
+
@author: Andrew Habib
|
|
4
|
+
'''
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
from semantic_jsonsubschema import api
|
|
8
|
+
from semantic_jsonsubschema import config
|
|
9
|
+
from semantic_jsonsubschema import exceptions
|
|
10
|
+
from semantic_jsonsubschema import _canonicalization
|
|
11
|
+
|
|
12
|
+
isSubschema = api.isSubschema
|
|
13
|
+
meetSchemas = api.meet
|
|
14
|
+
joinSchemas = api.join
|
|
15
|
+
isEquivalent = api.isEquivalent
|
|
16
|
+
|
|
17
|
+
canonicalizeSchema = _canonicalization.canonicalize_schema
|
|
18
|
+
|
|
19
|
+
set_debug = config.set_debug
|
|
20
|
+
set_warn_uninhabited = config.set_warn_uninhabited
|
|
21
|
+
|
|
22
|
+
from semantic_jsonsubschema import _semantic_reasoners
|
|
23
|
+
EqualityChecker = _semantic_reasoners.EqualityChecker
|
|
24
|
+
RDFSReasoner = _semantic_reasoners.RDFSReasoner
|
|
25
|
+
OWLRLReasoner = _semantic_reasoners.OWLRLReasoner
|
|
26
|
+
HermiTReasoner = _semantic_reasoners.HermiTReasoner
|
|
27
|
+
SKOSReasoner = _semantic_reasoners.SKOSReasoner
|
|
28
|
+
|
|
29
|
+
from semantic_jsonsubschema import _semantic_settings
|
|
30
|
+
EvaluationContext = _semantic_settings.EvaluationContext
|
|
31
|
+
PolicyDecision = _semantic_settings.PolicyDecision
|
|
32
|
+
SemanticInclusionPolicy = _semantic_settings.SemanticInclusionPolicy
|
|
33
|
+
WEAK_SEMANTIC_INCLUSION_POLICY = _semantic_settings.WEAK_SEMANTIC_INCLUSION_POLICY
|
|
34
|
+
STRONG_SEMANTIC_INCLUSION_POLICY = _semantic_settings.STRONG_SEMANTIC_INCLUSION_POLICY
|