okf-parser 0.42.3__py3-none-win_amd64.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.
- okf_parser/__init__.py +24 -0
- okf_parser/apply.py +1143 -0
- okf_parser/bundle.py +495 -0
- okf_parser/bundle_import.py +214 -0
- okf_parser/classification.py +53 -0
- okf_parser/cli.py +614 -0
- okf_parser/declared_schema.py +251 -0
- okf_parser/digests.py +71 -0
- okf_parser/discovery.py +59 -0
- okf_parser/duckdb.py +169 -0
- okf_parser/duckdb_types.py +129 -0
- okf_parser/edit.py +311 -0
- okf_parser/engine.py +27 -0
- okf_parser/exclusion.py +242 -0
- okf_parser/formatting.py +108 -0
- okf_parser/ingestion.py +119 -0
- okf_parser/markdown_style.py +175 -0
- okf_parser/models.py +126 -0
- okf_parser/parser.py +268 -0
- okf_parser/pydantic_projection.py +571 -0
- okf_parser/relational_schema.py +327 -0
- okf_parser/rust_core.py +131 -0
- okf_parser/schema_contract.py +469 -0
- okf_parser/schema_export.py +209 -0
- okf_parser/schema_lexemes.py +94 -0
- okf_parser/service.py +272 -0
- okf_parser/spec_scaffold.py +199 -0
- okf_parser/type_specs.py +106 -0
- okf_parser/typed_relations.py +104 -0
- okf_parser/typed_tables.py +512 -0
- okf_parser/write_support.py +347 -0
- okf_parser-0.42.3.data/scripts/okf-parser.exe +0 -0
- okf_parser-0.42.3.dist-info/METADATA +363 -0
- okf_parser-0.42.3.dist-info/RECORD +36 -0
- okf_parser-0.42.3.dist-info/WHEEL +4 -0
- okf_parser-0.42.3.dist-info/sboms/okf-core.cyclonedx.json +5905 -0
okf_parser/__init__.py
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"""Relational inspection and validation for Open Knowledge Format bundles."""
|
|
2
|
+
|
|
3
|
+
from okf_parser.bundle import Bundle, validate_path
|
|
4
|
+
from okf_parser.edit import EditError, preview_concept_edit, write_concept_edit
|
|
5
|
+
from okf_parser.engine import load_bundle
|
|
6
|
+
from okf_parser.ingestion import DocumentEnvelope, IngestionCapability, ingest_documents
|
|
7
|
+
from okf_parser.models import Severity, ValidationReport, Violation
|
|
8
|
+
from okf_parser.typed_relations import TypedRelations
|
|
9
|
+
|
|
10
|
+
__all__ = [
|
|
11
|
+
"Bundle",
|
|
12
|
+
"DocumentEnvelope",
|
|
13
|
+
"EditError",
|
|
14
|
+
"IngestionCapability",
|
|
15
|
+
"Severity",
|
|
16
|
+
"TypedRelations",
|
|
17
|
+
"ValidationReport",
|
|
18
|
+
"Violation",
|
|
19
|
+
"ingest_documents",
|
|
20
|
+
"load_bundle",
|
|
21
|
+
"preview_concept_edit",
|
|
22
|
+
"validate_path",
|
|
23
|
+
"write_concept_edit",
|
|
24
|
+
]
|