umf-core 0.10.0__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.
- umf_core-0.10.0/.gitignore +20 -0
- umf_core-0.10.0/LICENSE-APACHE +201 -0
- umf_core-0.10.0/LICENSE-MIT +21 -0
- umf_core-0.10.0/LICENSE.md +239 -0
- umf_core-0.10.0/PKG-INFO +74 -0
- umf_core-0.10.0/README.md +59 -0
- umf_core-0.10.0/conformance.py +37 -0
- umf_core-0.10.0/fixtures/metamodel/current-conformance.json +25518 -0
- umf_core-0.10.0/hatch_build.py +43 -0
- umf_core-0.10.0/pyproject.toml +36 -0
- umf_core-0.10.0/spec/core/extension-package.schema.json +1459 -0
- umf_core-0.10.0/spec/core/schema.json +1460 -0
- umf_core-0.10.0/spec/core/semantic-type-reference.schema.json +1459 -0
- umf_core-0.10.0/spec/extensions/dataset-source/package.json +189 -0
- umf_core-0.10.0/spec/extensions/dataset-source/schema.json +172 -0
- umf_core-0.10.0/spec/extensions/domain-pack/package.json +698 -0
- umf_core-0.10.0/spec/extensions/domain-pack/schema.json +681 -0
- umf_core-0.10.0/spec/metamodel/generated/core-constraints.json +6127 -0
- umf_core-0.10.0/spec/metamodel/generated/domain-policy.json +585 -0
- umf_core-0.10.0/spec/metamodel/generated/manifest.json +66 -0
- umf_core-0.10.0/spec/metamodel/generated/python-shapes.json +2927 -0
- umf_core-0.10.0/src/umf/__init__.py +54 -0
- umf_core-0.10.0/src/umf/constraint_kernel.py +467 -0
- umf_core-0.10.0/src/umf/generated_resources.py +47 -0
- umf_core-0.10.0/src/umf/json.py +51 -0
- umf_core-0.10.0/src/umf/literal_kernel.py +319 -0
- umf_core-0.10.0/src/umf/models.py +123 -0
- umf_core-0.10.0/src/umf/py.typed +0 -0
- umf_core-0.10.0/src/umf/registry.py +68 -0
- umf_core-0.10.0/src/umf/schemas.py +197 -0
- umf_core-0.10.0/src/umf/serialization.py +144 -0
- umf_core-0.10.0/src/umf/validation.py +22 -0
- umf_core-0.10.0/tests/test_core.py +255 -0
- umf_core-0.10.0/tests/test_domain_packs.py +65 -0
- umf_core-0.10.0/umf_access/LICENSE-APACHE +201 -0
- umf_core-0.10.0/umf_access/LICENSE-MIT +21 -0
- umf_core-0.10.0/umf_access/LICENSE.md +239 -0
- umf_core-0.10.0/umf_access/compatibility-profile.json +91 -0
- umf_core-0.10.0/umf_access/conformance/README.md +132 -0
- umf_core-0.10.0/umf_access/conformance/__init__.py +37 -0
- umf_core-0.10.0/umf_access/conformance/actions.py +332 -0
- umf_core-0.10.0/umf_access/conformance/bulk.py +247 -0
- umf_core-0.10.0/umf_access/conformance/qualification_packet.py +232 -0
- umf_core-0.10.0/umf_access/conformance/reads.py +230 -0
- umf_core-0.10.0/umf_access/pyproject.toml +21 -0
- umf_core-0.10.0/umf_access/src/umf_access/__init__.py +109 -0
- umf_core-0.10.0/umf_access/src/umf_access/adoption.py +41 -0
- umf_core-0.10.0/umf_access/src/umf_access/build/__init__.py +2 -0
- umf_core-0.10.0/umf_access/src/umf_access/build/approximate.py +34 -0
- umf_core-0.10.0/umf_access/src/umf_access/build/catalog.py +1626 -0
- umf_core-0.10.0/umf_access/src/umf_access/build/commands.py +394 -0
- umf_core-0.10.0/umf_access/src/umf_access/build/pg_privileges.py +1544 -0
- umf_core-0.10.0/umf_access/src/umf_access/build/privileges.py +134 -0
- umf_core-0.10.0/umf_access/src/umf_access/build/search.py +365 -0
- umf_core-0.10.0/umf_access/src/umf_access/build/unity_search.py +104 -0
- umf_core-0.10.0/umf_access/src/umf_access/bulk.py +227 -0
- umf_core-0.10.0/umf_access/src/umf_access/capture.py +411 -0
- umf_core-0.10.0/umf_access/src/umf_access/catalog.py +325 -0
- umf_core-0.10.0/umf_access/src/umf_access/codec_support.py +427 -0
- umf_core-0.10.0/umf_access/src/umf_access/commands.py +93 -0
- umf_core-0.10.0/umf_access/src/umf_access/delta_read.py +758 -0
- umf_core-0.10.0/umf_access/src/umf_access/dsl/__init__.py +148 -0
- umf_core-0.10.0/umf_access/src/umf_access/dsl/_context.py +36 -0
- umf_core-0.10.0/umf_access/src/umf_access/dsl/_expressions.py +625 -0
- umf_core-0.10.0/umf_access/src/umf_access/dsl/_joined.py +4 -0
- umf_core-0.10.0/umf_access/src/umf_access/dsl/_nodes.py +207 -0
- umf_core-0.10.0/umf_access/src/umf_access/dsl/_query.py +5560 -0
- umf_core-0.10.0/umf_access/src/umf_access/dsl/_selection.py +143 -0
- umf_core-0.10.0/umf_access/src/umf_access/dsl/navigation.py +302 -0
- umf_core-0.10.0/umf_access/src/umf_access/dsl/render.py +516 -0
- umf_core-0.10.0/umf_access/src/umf_access/dsl/search.py +343 -0
- umf_core-0.10.0/umf_access/src/umf_access/engine_catalog.py +563 -0
- umf_core-0.10.0/umf_access/src/umf_access/generated_core.py +5 -0
- umf_core-0.10.0/umf_access/src/umf_access/managed_actions.py +271 -0
- umf_core-0.10.0/umf_access/src/umf_access/managed_bulk.py +353 -0
- umf_core-0.10.0/umf_access/src/umf_access/managed_delta.py +150 -0
- umf_core-0.10.0/umf_access/src/umf_access/managed_support.py +166 -0
- umf_core-0.10.0/umf_access/src/umf_access/manifest_commands.py +278 -0
- umf_core-0.10.0/umf_access/src/umf_access/native_actions.py +1007 -0
- umf_core-0.10.0/umf_access/src/umf_access/native_program.py +586 -0
- umf_core-0.10.0/umf_access/src/umf_access/pages.py +125 -0
- umf_core-0.10.0/umf_access/src/umf_access/postgres_bulk.py +509 -0
- umf_core-0.10.0/umf_access/src/umf_access/postgres_read.py +1230 -0
- umf_core-0.10.0/umf_access/src/umf_access/postgres_search.py +639 -0
- umf_core-0.10.0/umf_access/src/umf_access/protocols.py +665 -0
- umf_core-0.10.0/umf_access/src/umf_access/py.typed +0 -0
- umf_core-0.10.0/umf_access/src/umf_access/related_keys.py +233 -0
- umf_core-0.10.0/umf_access/src/umf_access/reviewed.py +706 -0
- umf_core-0.10.0/umf_access/src/umf_access/search_catalog.py +122 -0
- umf_core-0.10.0/umf_access/src/umf_access/targets.py +312 -0
- umf_core-0.10.0/umf_access/src/umf_access/types.py +220 -0
- umf_core-0.10.0/umf_access/src/umf_access/unified/__init__.py +685 -0
- umf_core-0.10.0/umf_access/src/umf_access/unity_search.py +312 -0
- umf_core-0.10.0/umf_access/src/umf_access/values.py +280 -0
- umf_core-0.10.0/umf_access/src/umf_access/verification.py +64 -0
- umf_core-0.10.0/umf_access/tests/aggregate_native_e2e.py +227 -0
- umf_core-0.10.0/umf_access/tests/alias_native_e2e.py +162 -0
- umf_core-0.10.0/umf_access/tests/bulk_list_native_e2e.py +584 -0
- umf_core-0.10.0/umf_access/tests/catalog_declarations.py +89 -0
- umf_core-0.10.0/umf_access/tests/catalog_e2e.py +179 -0
- umf_core-0.10.0/umf_access/tests/conformance_selftest/test_actions.py +283 -0
- umf_core-0.10.0/umf_access/tests/conformance_selftest/test_bulk.py +243 -0
- umf_core-0.10.0/umf_access/tests/conformance_selftest/test_reads.py +228 -0
- umf_core-0.10.0/umf_access/tests/delta_e2e.py +216 -0
- umf_core-0.10.0/umf_access/tests/finite_degree_native_e2e.py +375 -0
- umf_core-0.10.0/umf_access/tests/fixtures/unity-search-ann-compiler-r2.json +246 -0
- umf_core-0.10.0/umf_access/tests/generated_import_probe.py +124 -0
- umf_core-0.10.0/umf_access/tests/generated_matrix_probe.py +158 -0
- umf_core-0.10.0/umf_access/tests/native_actions_e2e.py +788 -0
- umf_core-0.10.0/umf_access/tests/packaging/aggregate_receipt_controls.py +51 -0
- umf_core-0.10.0/umf_access/tests/packaging/build_wheel.py +157 -0
- umf_core-0.10.0/umf_access/tests/packaging/emit_replay_fixture.ts +29 -0
- umf_core-0.10.0/umf_access/tests/packaging/replay_installed.py +456 -0
- umf_core-0.10.0/umf_access/tests/packaging/runtime_fix_e2e.py +225 -0
- umf_core-0.10.0/umf_access/tests/packaging/snapshot_runtime.py +179 -0
- umf_core-0.10.0/umf_access/tests/pg_fence_e2e_support.py +53 -0
- umf_core-0.10.0/umf_access/tests/pg_ranked_strict_context_e2e.py +92 -0
- umf_core-0.10.0/umf_access/tests/pg_search_fence_e2e.py +195 -0
- umf_core-0.10.0/umf_access/tests/postgres_projection_e2e.py +309 -0
- umf_core-0.10.0/umf_access/tests/refinement_native_e2e.py +194 -0
- umf_core-0.10.0/umf_access/tests/related_native_e2e.py +150 -0
- umf_core-0.10.0/umf_access/tests/relationship_joined_native_e2e.py +303 -0
- umf_core-0.10.0/umf_access/tests/relationship_native_e2e.py +267 -0
- umf_core-0.10.0/umf_access/tests/search_e2e.py +710 -0
- umf_core-0.10.0/umf_access/tests/search_filter_parameters_e2e.py +217 -0
- umf_core-0.10.0/umf_access/tests/source_exact_native_e2e.py +178 -0
- umf_core-0.10.0/umf_access/tests/source_exact_vector_membership_e2e.py +161 -0
- umf_core-0.10.0/umf_access/tests/spark_hll_e2e.py +452 -0
- umf_core-0.10.0/umf_access/tests/spark_list_e2e.py +177 -0
- umf_core-0.10.0/umf_access/tests/spark_numeric_e2e.py +171 -0
- umf_core-0.10.0/umf_access/tests/static/manifest-commands/negative.py +15 -0
- umf_core-0.10.0/umf_access/tests/static/manifest-commands/positive.py +25 -0
- umf_core-0.10.0/umf_access/tests/term_filters_e2e.py +224 -0
- umf_core-0.10.0/umf_access/tests/test_action_clients.py +225 -0
- umf_core-0.10.0/umf_access/tests/test_adoption_packet.py +196 -0
- umf_core-0.10.0/umf_access/tests/test_aggregate_dsl.py +129 -0
- umf_core-0.10.0/umf_access/tests/test_alias_dsl.py +62 -0
- umf_core-0.10.0/umf_access/tests/test_approximate_profile.py +42 -0
- umf_core-0.10.0/umf_access/tests/test_async_bulk_plan.py +38 -0
- umf_core-0.10.0/umf_access/tests/test_bulk_list_parameters.py +254 -0
- umf_core-0.10.0/umf_access/tests/test_capture.py +340 -0
- umf_core-0.10.0/umf_access/tests/test_catalog_configuration.py +121 -0
- umf_core-0.10.0/umf_access/tests/test_catalog_fence.py +234 -0
- umf_core-0.10.0/umf_access/tests/test_catalog_writer.py +315 -0
- umf_core-0.10.0/umf_access/tests/test_codec_support_red.py +184 -0
- umf_core-0.10.0/umf_access/tests/test_codecs.py +143 -0
- umf_core-0.10.0/umf_access/tests/test_command_source.py +53 -0
- umf_core-0.10.0/umf_access/tests/test_delta_read_classification.py +42 -0
- umf_core-0.10.0/umf_access/tests/test_delta_read_projection_values.py +57 -0
- umf_core-0.10.0/umf_access/tests/test_delta_stream_limits.py +81 -0
- umf_core-0.10.0/umf_access/tests/test_dsl_render.py +562 -0
- umf_core-0.10.0/umf_access/tests/test_dsl_runtime.py +373 -0
- umf_core-0.10.0/umf_access/tests/test_engine_catalog.py +220 -0
- umf_core-0.10.0/umf_access/tests/test_engine_presence_signatures.py +387 -0
- umf_core-0.10.0/umf_access/tests/test_generated_actiontypes.py +80 -0
- umf_core-0.10.0/umf_access/tests/test_generated_models.py +116 -0
- umf_core-0.10.0/umf_access/tests/test_generated_projections.py +80 -0
- umf_core-0.10.0/umf_access/tests/test_golden_vectors.py +130 -0
- umf_core-0.10.0/umf_access/tests/test_integer_native_output.py +31 -0
- umf_core-0.10.0/umf_access/tests/test_join_refinement.py +45 -0
- umf_core-0.10.0/umf_access/tests/test_joined_keys_context.py +37 -0
- umf_core-0.10.0/umf_access/tests/test_joined_model_projection.py +27 -0
- umf_core-0.10.0/umf_access/tests/test_managed_receipt.py +92 -0
- umf_core-0.10.0/umf_access/tests/test_manifest_bulk_plan.py +92 -0
- umf_core-0.10.0/umf_access/tests/test_manifest_commands.py +121 -0
- umf_core-0.10.0/umf_access/tests/test_many_navigation.py +165 -0
- umf_core-0.10.0/umf_access/tests/test_mutation_fence_driver.py +90 -0
- umf_core-0.10.0/umf_access/tests/test_mutation_index_custody.py +85 -0
- umf_core-0.10.0/umf_access/tests/test_native_column_custody.py +156 -0
- umf_core-0.10.0/umf_access/tests/test_native_key_admission.py +33 -0
- umf_core-0.10.0/umf_access/tests/test_pg_privilege_advisory.py +279 -0
- umf_core-0.10.0/umf_access/tests/test_postgres_projection_values.py +47 -0
- umf_core-0.10.0/umf_access/tests/test_postgres_resolution.py +37 -0
- umf_core-0.10.0/umf_access/tests/test_postgres_search_projection_values.py +48 -0
- umf_core-0.10.0/umf_access/tests/test_privilege_report.py +51 -0
- umf_core-0.10.0/umf_access/tests/test_ranked_projection.py +75 -0
- umf_core-0.10.0/umf_access/tests/test_read_fence_driver.py +146 -0
- umf_core-0.10.0/umf_access/tests/test_refactor_regeneration.py +384 -0
- umf_core-0.10.0/umf_access/tests/test_related_custody.py +44 -0
- umf_core-0.10.0/umf_access/tests/test_related_generated.py +59 -0
- umf_core-0.10.0/umf_access/tests/test_related_key_transport.py +66 -0
- umf_core-0.10.0/umf_access/tests/test_related_projection_stream.py +113 -0
- umf_core-0.10.0/umf_access/tests/test_relationship_admission.py +109 -0
- umf_core-0.10.0/umf_access/tests/test_relationship_key_identity.py +22 -0
- umf_core-0.10.0/umf_access/tests/test_relationship_literals.py +74 -0
- umf_core-0.10.0/umf_access/tests/test_reviewed_dbapi_transport.py +102 -0
- umf_core-0.10.0/umf_access/tests/test_reviewed_projection_carriers.py +48 -0
- umf_core-0.10.0/umf_access/tests/test_reviewed_reads.py +1084 -0
- umf_core-0.10.0/umf_access/tests/test_reviewed_source.py +164 -0
- umf_core-0.10.0/umf_access/tests/test_runtime_driven_codecs.py +128 -0
- umf_core-0.10.0/umf_access/tests/test_schema_binding_configuration.py +43 -0
- umf_core-0.10.0/umf_access/tests/test_search_parameter_custody.py +105 -0
- umf_core-0.10.0/umf_access/tests/test_search_resolution_order.py +62 -0
- umf_core-0.10.0/umf_access/tests/test_snapshot_declarations.py +67 -0
- umf_core-0.10.0/umf_access/tests/test_source_exact_read_admission.py +110 -0
- umf_core-0.10.0/umf_access/tests/test_spark_list_parameters.py +72 -0
- umf_core-0.10.0/umf_access/tests/test_spark_numeric_parameters.py +79 -0
- umf_core-0.10.0/umf_access/tests/test_stream_lifecycle.py +188 -0
- umf_core-0.10.0/umf_access/tests/test_stream_page_size.py +86 -0
- umf_core-0.10.0/umf_access/tests/test_target_verification.py +47 -0
- umf_core-0.10.0/umf_access/tests/test_temporal_carriers_red.py +166 -0
- umf_core-0.10.0/umf_access/tests/test_term_admission.py +75 -0
- umf_core-0.10.0/umf_access/tests/test_term_configuration_custody.py +147 -0
- umf_core-0.10.0/umf_access/tests/test_truss_related_metadata.py +66 -0
- umf_core-0.10.0/umf_access/tests/test_unified_binding_identity.py +232 -0
- umf_core-0.10.0/umf_access/tests/test_unity_search.py +249 -0
- umf_core-0.10.0/umf_access/tests/test_unity_search_build.py +70 -0
- umf_core-0.10.0/umf_access/tests/test_values_red.py +133 -0
- umf_core-0.10.0/umf_access/tests/test_verification_cache.py +81 -0
- umf_core-0.10.0/umf_access/tests/test_wheel_contract.py +212 -0
- umf_core-0.10.0/umf_access/tests/unity_search_schema_e2e.py +76 -0
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
node_modules/
|
|
2
|
+
/node_modules
|
|
3
|
+
.pytest_cache/
|
|
4
|
+
.ruff_cache/
|
|
5
|
+
dist/
|
|
6
|
+
coverage/
|
|
7
|
+
.playwright/
|
|
8
|
+
.venv/
|
|
9
|
+
|
|
10
|
+
.cache/
|
|
11
|
+
|
|
12
|
+
native/smithy/browser/target/
|
|
13
|
+
|
|
14
|
+
# Local generated Python caches and stale DDx lock guards
|
|
15
|
+
__pycache__/
|
|
16
|
+
*.pyc
|
|
17
|
+
.ddx/*.stale-break.lock
|
|
18
|
+
|
|
19
|
+
# Stable POSIX coordination inode for native identity preflight attempts.
|
|
20
|
+
/docs/helix/04-build/evidence/security/.databricks-actors.json.lock
|
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
Apache License
|
|
2
|
+
Version 2.0, January 2004
|
|
3
|
+
http://www.apache.org/licenses/
|
|
4
|
+
|
|
5
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
6
|
+
|
|
7
|
+
1. Definitions.
|
|
8
|
+
|
|
9
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
10
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
11
|
+
|
|
12
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
13
|
+
the copyright owner that is granting the License.
|
|
14
|
+
|
|
15
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
16
|
+
other entities that control, are controlled by, or are under common
|
|
17
|
+
control with that entity. For the purposes of this definition,
|
|
18
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
19
|
+
direction or management of such entity, whether by contract or
|
|
20
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
21
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
22
|
+
|
|
23
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
24
|
+
exercising permissions granted by this License.
|
|
25
|
+
|
|
26
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
27
|
+
including but not limited to software source code, documentation
|
|
28
|
+
source, and configuration files.
|
|
29
|
+
|
|
30
|
+
"Object" form shall mean any form resulting from mechanical
|
|
31
|
+
transformation or translation of a Source form, including but
|
|
32
|
+
not limited to compiled object code, generated documentation,
|
|
33
|
+
and conversions to other media types.
|
|
34
|
+
|
|
35
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
36
|
+
Object form, made available under the License, as indicated by a
|
|
37
|
+
copyright notice that is included in or attached to the work
|
|
38
|
+
(an example is provided in the Appendix below).
|
|
39
|
+
|
|
40
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
41
|
+
form, that is based on (or derived from) the Work and for which the
|
|
42
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
43
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
44
|
+
of this License, Derivative Works shall not include works that remain
|
|
45
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
46
|
+
the Work and Derivative Works thereof.
|
|
47
|
+
|
|
48
|
+
"Contribution" shall mean any work of authorship, including
|
|
49
|
+
the original version of the Work and any modifications or additions
|
|
50
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
51
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
52
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
53
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
54
|
+
means any form of electronic, verbal, or written communication sent
|
|
55
|
+
to the Licensor or its representatives, including but not limited to
|
|
56
|
+
communication on electronic mailing lists, source code control systems,
|
|
57
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
58
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
59
|
+
excluding communication that is conspicuously marked or otherwise
|
|
60
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
61
|
+
|
|
62
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
63
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
64
|
+
subsequently incorporated within the Work.
|
|
65
|
+
|
|
66
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
67
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
68
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
69
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
70
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
71
|
+
Work and such Derivative Works in Source or Object form.
|
|
72
|
+
|
|
73
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
74
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
75
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
76
|
+
(except as stated in this section) patent license to make, have made,
|
|
77
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
78
|
+
where such license applies only to those patent claims licensable
|
|
79
|
+
by such Contributor that are necessarily infringed by their
|
|
80
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
81
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
82
|
+
institute patent litigation against any entity (including a
|
|
83
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
84
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
85
|
+
or contributory patent infringement, then any patent licenses
|
|
86
|
+
granted to You under this License for that Work shall terminate
|
|
87
|
+
as of the date such litigation is filed.
|
|
88
|
+
|
|
89
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
90
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
91
|
+
modifications, and in Source or Object form, provided that You
|
|
92
|
+
meet the following conditions:
|
|
93
|
+
|
|
94
|
+
(a) You must give any other recipients of the Work or
|
|
95
|
+
Derivative Works a copy of this License; and
|
|
96
|
+
|
|
97
|
+
(b) You must cause any modified files to carry prominent notices
|
|
98
|
+
stating that You changed the files; and
|
|
99
|
+
|
|
100
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
101
|
+
that You distribute, all copyright, patent, trademark, and
|
|
102
|
+
attribution notices from the Source form of the Work,
|
|
103
|
+
excluding those notices that do not pertain to any part of
|
|
104
|
+
the Derivative Works; and
|
|
105
|
+
|
|
106
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
107
|
+
distribution, then any Derivative Works that You distribute must
|
|
108
|
+
include a readable copy of the attribution notices contained
|
|
109
|
+
within such NOTICE file, excluding those notices that do not
|
|
110
|
+
pertain to any part of the Derivative Works, in at least one
|
|
111
|
+
of the following places: within a NOTICE text file distributed
|
|
112
|
+
as part of the Derivative Works; within the Source form or
|
|
113
|
+
documentation, if provided along with the Derivative Works; or,
|
|
114
|
+
within a display generated by the Derivative Works, if and
|
|
115
|
+
wherever such third-party notices normally appear. The contents
|
|
116
|
+
of the NOTICE file are for informational purposes only and
|
|
117
|
+
do not modify the License. You may add Your own attribution
|
|
118
|
+
notices within Derivative Works that You distribute, alongside
|
|
119
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
120
|
+
that such additional attribution notices cannot be construed
|
|
121
|
+
as modifying the License.
|
|
122
|
+
|
|
123
|
+
You may add Your own copyright statement to Your modifications and
|
|
124
|
+
may provide additional or different license terms and conditions
|
|
125
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
126
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
127
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
128
|
+
the conditions stated in this License.
|
|
129
|
+
|
|
130
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
131
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
132
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
133
|
+
this License, without any additional terms or conditions.
|
|
134
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
135
|
+
the terms of any separate license agreement you may have executed
|
|
136
|
+
with Licensor regarding such Contributions.
|
|
137
|
+
|
|
138
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
139
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
140
|
+
except as required for reasonable and customary use in describing the
|
|
141
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
142
|
+
|
|
143
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
144
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
145
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
146
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
147
|
+
implied, including, without limitation, any warranties or conditions
|
|
148
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
149
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
150
|
+
appropriateness of using or redistributing the Work and assume any
|
|
151
|
+
risks associated with Your exercise of permissions under this License.
|
|
152
|
+
|
|
153
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
154
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
155
|
+
unless required by applicable law (such as deliberate and grossly
|
|
156
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
157
|
+
liable to You for damages, including any direct, indirect, special,
|
|
158
|
+
incidental, or consequential damages of any character arising as a
|
|
159
|
+
result of this License or out of the use or inability to use the
|
|
160
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
161
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
162
|
+
other commercial damages or losses), even if such Contributor
|
|
163
|
+
has been advised of the possibility of such damages.
|
|
164
|
+
|
|
165
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
166
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
167
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
168
|
+
or other liability obligations and/or rights consistent with this
|
|
169
|
+
License. However, in accepting such obligations, You may act only
|
|
170
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
171
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
172
|
+
defend, and hold each Contributor harmless for any liability
|
|
173
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
174
|
+
of your accepting any such warranty or additional liability.
|
|
175
|
+
|
|
176
|
+
END OF TERMS AND CONDITIONS
|
|
177
|
+
|
|
178
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
179
|
+
|
|
180
|
+
To apply the Apache License to your work, attach the following
|
|
181
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
182
|
+
replaced with your own identifying information. (Don't include
|
|
183
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
184
|
+
comment syntax for the file format. We also recommend that a
|
|
185
|
+
file or class name and description of purpose be included on the
|
|
186
|
+
same "printed page" as the copyright notice for easier
|
|
187
|
+
identification within third-party archives.
|
|
188
|
+
|
|
189
|
+
Copyright 2026 DocumentDrivenDX contributors
|
|
190
|
+
|
|
191
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
192
|
+
you may not use this file except in compliance with the License.
|
|
193
|
+
You may obtain a copy of the License at
|
|
194
|
+
|
|
195
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
196
|
+
|
|
197
|
+
Unless required by applicable law or agreed to in writing, software
|
|
198
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
199
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
200
|
+
See the License for the specific language governing permissions and
|
|
201
|
+
limitations under the License.
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 DocumentDrivenDX contributors
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1,239 @@
|
|
|
1
|
+
# License
|
|
2
|
+
|
|
3
|
+
First-party software and documentation in this repository are dual-licensed, at
|
|
4
|
+
your option, under either the MIT License or the Apache License, Version 2.0.
|
|
5
|
+
|
|
6
|
+
SPDX-License-Identifier: MIT OR Apache-2.0
|
|
7
|
+
|
|
8
|
+
Third-party code, dependencies, standards, fixtures, datasets and other externally
|
|
9
|
+
sourced material retain their original licenses and notices. This grant does not
|
|
10
|
+
relicense that material. Frozen evidence and embedded dependency copies retain
|
|
11
|
+
their original bytes; accompanying notices govern their use.
|
|
12
|
+
|
|
13
|
+
## MIT License
|
|
14
|
+
|
|
15
|
+
MIT License
|
|
16
|
+
|
|
17
|
+
Copyright (c) 2026 DocumentDrivenDX contributors
|
|
18
|
+
|
|
19
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
20
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
21
|
+
in the Software without restriction, including without limitation the rights
|
|
22
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
23
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
24
|
+
furnished to do so, subject to the following conditions:
|
|
25
|
+
|
|
26
|
+
The above copyright notice and this permission notice shall be included in all
|
|
27
|
+
copies or substantial portions of the Software.
|
|
28
|
+
|
|
29
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
30
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
31
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
32
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
33
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
34
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
35
|
+
SOFTWARE.
|
|
36
|
+
|
|
37
|
+
## Apache License, Version 2.0
|
|
38
|
+
|
|
39
|
+
Apache License
|
|
40
|
+
Version 2.0, January 2004
|
|
41
|
+
http://www.apache.org/licenses/
|
|
42
|
+
|
|
43
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
44
|
+
|
|
45
|
+
1. Definitions.
|
|
46
|
+
|
|
47
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
48
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
49
|
+
|
|
50
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
51
|
+
the copyright owner that is granting the License.
|
|
52
|
+
|
|
53
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
54
|
+
other entities that control, are controlled by, or are under common
|
|
55
|
+
control with that entity. For the purposes of this definition,
|
|
56
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
57
|
+
direction or management of such entity, whether by contract or
|
|
58
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
59
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
60
|
+
|
|
61
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
62
|
+
exercising permissions granted by this License.
|
|
63
|
+
|
|
64
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
65
|
+
including but not limited to software source code, documentation
|
|
66
|
+
source, and configuration files.
|
|
67
|
+
|
|
68
|
+
"Object" form shall mean any form resulting from mechanical
|
|
69
|
+
transformation or translation of a Source form, including but
|
|
70
|
+
not limited to compiled object code, generated documentation,
|
|
71
|
+
and conversions to other media types.
|
|
72
|
+
|
|
73
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
74
|
+
Object form, made available under the License, as indicated by a
|
|
75
|
+
copyright notice that is included in or attached to the work
|
|
76
|
+
(an example is provided in the Appendix below).
|
|
77
|
+
|
|
78
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
79
|
+
form, that is based on (or derived from) the Work and for which the
|
|
80
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
81
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
82
|
+
of this License, Derivative Works shall not include works that remain
|
|
83
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
84
|
+
the Work and Derivative Works thereof.
|
|
85
|
+
|
|
86
|
+
"Contribution" shall mean any work of authorship, including
|
|
87
|
+
the original version of the Work and any modifications or additions
|
|
88
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
89
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
90
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
91
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
92
|
+
means any form of electronic, verbal, or written communication sent
|
|
93
|
+
to the Licensor or its representatives, including but not limited to
|
|
94
|
+
communication on electronic mailing lists, source code control systems,
|
|
95
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
96
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
97
|
+
excluding communication that is conspicuously marked or otherwise
|
|
98
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
99
|
+
|
|
100
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
101
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
102
|
+
subsequently incorporated within the Work.
|
|
103
|
+
|
|
104
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
105
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
106
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
107
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
108
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
109
|
+
Work and such Derivative Works in Source or Object form.
|
|
110
|
+
|
|
111
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
112
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
113
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
114
|
+
(except as stated in this section) patent license to make, have made,
|
|
115
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
116
|
+
where such license applies only to those patent claims licensable
|
|
117
|
+
by such Contributor that are necessarily infringed by their
|
|
118
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
119
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
120
|
+
institute patent litigation against any entity (including a
|
|
121
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
122
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
123
|
+
or contributory patent infringement, then any patent licenses
|
|
124
|
+
granted to You under this License for that Work shall terminate
|
|
125
|
+
as of the date such litigation is filed.
|
|
126
|
+
|
|
127
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
128
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
129
|
+
modifications, and in Source or Object form, provided that You
|
|
130
|
+
meet the following conditions:
|
|
131
|
+
|
|
132
|
+
(a) You must give any other recipients of the Work or
|
|
133
|
+
Derivative Works a copy of this License; and
|
|
134
|
+
|
|
135
|
+
(b) You must cause any modified files to carry prominent notices
|
|
136
|
+
stating that You changed the files; and
|
|
137
|
+
|
|
138
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
139
|
+
that You distribute, all copyright, patent, trademark, and
|
|
140
|
+
attribution notices from the Source form of the Work,
|
|
141
|
+
excluding those notices that do not pertain to any part of
|
|
142
|
+
the Derivative Works; and
|
|
143
|
+
|
|
144
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
145
|
+
distribution, then any Derivative Works that You distribute must
|
|
146
|
+
include a readable copy of the attribution notices contained
|
|
147
|
+
within such NOTICE file, excluding those notices that do not
|
|
148
|
+
pertain to any part of the Derivative Works, in at least one
|
|
149
|
+
of the following places: within a NOTICE text file distributed
|
|
150
|
+
as part of the Derivative Works; within the Source form or
|
|
151
|
+
documentation, if provided along with the Derivative Works; or,
|
|
152
|
+
within a display generated by the Derivative Works, if and
|
|
153
|
+
wherever such third-party notices normally appear. The contents
|
|
154
|
+
of the NOTICE file are for informational purposes only and
|
|
155
|
+
do not modify the License. You may add Your own attribution
|
|
156
|
+
notices within Derivative Works that You distribute, alongside
|
|
157
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
158
|
+
that such additional attribution notices cannot be construed
|
|
159
|
+
as modifying the License.
|
|
160
|
+
|
|
161
|
+
You may add Your own copyright statement to Your modifications and
|
|
162
|
+
may provide additional or different license terms and conditions
|
|
163
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
164
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
165
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
166
|
+
the conditions stated in this License.
|
|
167
|
+
|
|
168
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
169
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
170
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
171
|
+
this License, without any additional terms or conditions.
|
|
172
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
173
|
+
the terms of any separate license agreement you may have executed
|
|
174
|
+
with Licensor regarding such Contributions.
|
|
175
|
+
|
|
176
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
177
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
178
|
+
except as required for reasonable and customary use in describing the
|
|
179
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
180
|
+
|
|
181
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
182
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
183
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
184
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
185
|
+
implied, including, without limitation, any warranties or conditions
|
|
186
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
187
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
188
|
+
appropriateness of using or redistributing the Work and assume any
|
|
189
|
+
risks associated with Your exercise of permissions under this License.
|
|
190
|
+
|
|
191
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
192
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
193
|
+
unless required by applicable law (such as deliberate and grossly
|
|
194
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
195
|
+
liable to You for damages, including any direct, indirect, special,
|
|
196
|
+
incidental, or consequential damages of any character arising as a
|
|
197
|
+
result of this License or out of the use or inability to use the
|
|
198
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
199
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
200
|
+
other commercial damages or losses), even if such Contributor
|
|
201
|
+
has been advised of the possibility of such damages.
|
|
202
|
+
|
|
203
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
204
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
205
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
206
|
+
or other liability obligations and/or rights consistent with this
|
|
207
|
+
License. However, in accepting such obligations, You may act only
|
|
208
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
209
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
210
|
+
defend, and hold each Contributor harmless for any liability
|
|
211
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
212
|
+
of your accepting any such warranty or additional liability.
|
|
213
|
+
|
|
214
|
+
END OF TERMS AND CONDITIONS
|
|
215
|
+
|
|
216
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
217
|
+
|
|
218
|
+
To apply the Apache License to your work, attach the following
|
|
219
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
220
|
+
replaced with your own identifying information. (Don't include
|
|
221
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
222
|
+
comment syntax for the file format. We also recommend that a
|
|
223
|
+
file or class name and description of purpose be included on the
|
|
224
|
+
same "printed page" as the copyright notice for easier
|
|
225
|
+
identification within third-party archives.
|
|
226
|
+
|
|
227
|
+
Copyright 2026 DocumentDrivenDX contributors
|
|
228
|
+
|
|
229
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
230
|
+
you may not use this file except in compliance with the License.
|
|
231
|
+
You may obtain a copy of the License at
|
|
232
|
+
|
|
233
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
234
|
+
|
|
235
|
+
Unless required by applicable law or agreed to in writing, software
|
|
236
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
237
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
238
|
+
See the License for the specific language governing permissions and
|
|
239
|
+
limitations under the License.
|
umf_core-0.10.0/PKG-INFO
ADDED
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
|
+
Name: umf-core
|
|
3
|
+
Version: 0.10.0
|
|
4
|
+
Summary: Official Python document models and extension machinery for UMF
|
|
5
|
+
Project-URL: Repository, https://github.com/DocumentDrivenDX/umf
|
|
6
|
+
License-Expression: MIT OR Apache-2.0
|
|
7
|
+
License-File: LICENSE-APACHE
|
|
8
|
+
License-File: LICENSE-MIT
|
|
9
|
+
License-File: LICENSE.md
|
|
10
|
+
Requires-Python: >=3.11
|
|
11
|
+
Requires-Dist: jsonschema<5,>=4.25
|
|
12
|
+
Requires-Dist: pydantic<3,>=2.11
|
|
13
|
+
Requires-Dist: ruamel-yaml<1,>=0.18
|
|
14
|
+
Description-Content-Type: text/markdown
|
|
15
|
+
|
|
16
|
+
# Official UMF Python support
|
|
17
|
+
|
|
18
|
+
`umf-core` provides the `umf` import namespace for the current UMF language.
|
|
19
|
+
The authored `spec/metamodel/umf.yaml` generates the packaged JSON Schemas,
|
|
20
|
+
portable constraint programs and Python shape data. Pydantic provides access
|
|
21
|
+
models; it does not define a competing format. Consumer extensions and execution
|
|
22
|
+
policies remain in consumer repositories.
|
|
23
|
+
|
|
24
|
+
Install the qualified release wheel:
|
|
25
|
+
|
|
26
|
+
```sh
|
|
27
|
+
pip install https://github.com/DocumentDrivenDX/umf/releases/download/umf-v0.5.1/umf_core-0.10.0-py3-none-any.whl
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
For development, use `pip install ./python` from a checkout. PyPI publication
|
|
31
|
+
is not configured; the GitHub release and its checksums identify the distributed
|
|
32
|
+
wheel. The separately distributed experimental `umf_access` host adapter is
|
|
33
|
+
not required to read or validate UMF documents.
|
|
34
|
+
|
|
35
|
+
```python
|
|
36
|
+
from umf import read_document, validate_document, write_document
|
|
37
|
+
|
|
38
|
+
document = read_document('''
|
|
39
|
+
umf: "0.10.0"
|
|
40
|
+
id: orders
|
|
41
|
+
vocabularies: {}
|
|
42
|
+
modules: []
|
|
43
|
+
''', format="yaml")
|
|
44
|
+
result = validate_document(document)
|
|
45
|
+
assert result.valid and result.complete
|
|
46
|
+
# Unknown or unregistered extension meaning can instead make complete false.
|
|
47
|
+
text = write_document(document, format="yaml")
|
|
48
|
+
assert read_document(text, format="yaml").to_dict() == document.to_dict()
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
Use canonical camelCase property names when constructing models. `to_dict()`
|
|
52
|
+
preserves unknown content and field presence; `checked_copy()` revalidates
|
|
53
|
+
mutable model state. Current APIs accept core 0.10.0; retired core dispatch and
|
|
54
|
+
upgrade/rollback paths are removed. Structural checks and ordered core semantic
|
|
55
|
+
constraints use generated data through bounded generic interpreters. Installed
|
|
56
|
+
Python and TypeScript share 139 frozen conformance vectors; this is not a claim
|
|
57
|
+
of parity for every TypeScript adapter or native execution API.
|
|
58
|
+
|
|
59
|
+
Unknown vocabulary versions, labels and qualifiers remain serializable and
|
|
60
|
+
make interpretation incomplete. Consumers must refuse execution when their
|
|
61
|
+
binding cannot interpret required semantics. Exact numeric token carriers,
|
|
62
|
+
UUID/128-bit carriers, explicit null and omission retain their separate meanings.
|
|
63
|
+
|
|
64
|
+
Extensions register explicitly through `Registry` and `Extension` with exact
|
|
65
|
+
versions, permitted scopes, a JSON Schema and optional semantic callback.
|
|
66
|
+
Callbacks receive copies; schema references must be local. Documents never
|
|
67
|
+
authorize loading code or fetching schemas. `schema_validator()` is reusable
|
|
68
|
+
for consumer-owned schemas and honors their declared dialect.
|
|
69
|
+
|
|
70
|
+
Run `python -m pytest python/tests` from the repository root. Build with
|
|
71
|
+
`uv build --project python`. The source distribution includes the current
|
|
72
|
+
generated resources and supports building a wheel without the repository.
|
|
73
|
+
Release checks install the actual wheel in an isolated environment, compare
|
|
74
|
+
its packaged resource bytes and replay the shared core conformance corpus.
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
# Official UMF Python support
|
|
2
|
+
|
|
3
|
+
`umf-core` provides the `umf` import namespace for the current UMF language.
|
|
4
|
+
The authored `spec/metamodel/umf.yaml` generates the packaged JSON Schemas,
|
|
5
|
+
portable constraint programs and Python shape data. Pydantic provides access
|
|
6
|
+
models; it does not define a competing format. Consumer extensions and execution
|
|
7
|
+
policies remain in consumer repositories.
|
|
8
|
+
|
|
9
|
+
Install the qualified release wheel:
|
|
10
|
+
|
|
11
|
+
```sh
|
|
12
|
+
pip install https://github.com/DocumentDrivenDX/umf/releases/download/umf-v0.5.1/umf_core-0.10.0-py3-none-any.whl
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
For development, use `pip install ./python` from a checkout. PyPI publication
|
|
16
|
+
is not configured; the GitHub release and its checksums identify the distributed
|
|
17
|
+
wheel. The separately distributed experimental `umf_access` host adapter is
|
|
18
|
+
not required to read or validate UMF documents.
|
|
19
|
+
|
|
20
|
+
```python
|
|
21
|
+
from umf import read_document, validate_document, write_document
|
|
22
|
+
|
|
23
|
+
document = read_document('''
|
|
24
|
+
umf: "0.10.0"
|
|
25
|
+
id: orders
|
|
26
|
+
vocabularies: {}
|
|
27
|
+
modules: []
|
|
28
|
+
''', format="yaml")
|
|
29
|
+
result = validate_document(document)
|
|
30
|
+
assert result.valid and result.complete
|
|
31
|
+
# Unknown or unregistered extension meaning can instead make complete false.
|
|
32
|
+
text = write_document(document, format="yaml")
|
|
33
|
+
assert read_document(text, format="yaml").to_dict() == document.to_dict()
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
Use canonical camelCase property names when constructing models. `to_dict()`
|
|
37
|
+
preserves unknown content and field presence; `checked_copy()` revalidates
|
|
38
|
+
mutable model state. Current APIs accept core 0.10.0; retired core dispatch and
|
|
39
|
+
upgrade/rollback paths are removed. Structural checks and ordered core semantic
|
|
40
|
+
constraints use generated data through bounded generic interpreters. Installed
|
|
41
|
+
Python and TypeScript share 139 frozen conformance vectors; this is not a claim
|
|
42
|
+
of parity for every TypeScript adapter or native execution API.
|
|
43
|
+
|
|
44
|
+
Unknown vocabulary versions, labels and qualifiers remain serializable and
|
|
45
|
+
make interpretation incomplete. Consumers must refuse execution when their
|
|
46
|
+
binding cannot interpret required semantics. Exact numeric token carriers,
|
|
47
|
+
UUID/128-bit carriers, explicit null and omission retain their separate meanings.
|
|
48
|
+
|
|
49
|
+
Extensions register explicitly through `Registry` and `Extension` with exact
|
|
50
|
+
versions, permitted scopes, a JSON Schema and optional semantic callback.
|
|
51
|
+
Callbacks receive copies; schema references must be local. Documents never
|
|
52
|
+
authorize loading code or fetching schemas. `schema_validator()` is reusable
|
|
53
|
+
for consumer-owned schemas and honors their declared dialect.
|
|
54
|
+
|
|
55
|
+
Run `python -m pytest python/tests` from the repository root. Build with
|
|
56
|
+
`uv build --project python`. The source distribution includes the current
|
|
57
|
+
generated resources and supports building a wheel without the repository.
|
|
58
|
+
Release checks install the actual wheel in an isolated environment, compare
|
|
59
|
+
its packaged resource bytes and replay the shared core conformance corpus.
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
# SPDX-License-Identifier: MIT OR Apache-2.0
|
|
2
|
+
"""Emit Python admissions and both serialized forms for the browser replay."""
|
|
3
|
+
|
|
4
|
+
import json
|
|
5
|
+
from pathlib import Path
|
|
6
|
+
|
|
7
|
+
from umf import Document, validate_document, write_document
|
|
8
|
+
|
|
9
|
+
root = Path(__file__).resolve().parent
|
|
10
|
+
if not (root / "fixtures/python").is_dir():
|
|
11
|
+
root = root.parent
|
|
12
|
+
cases = json.loads((root / "fixtures/python/core-conformance.json").read_text())
|
|
13
|
+
cases.append(
|
|
14
|
+
{
|
|
15
|
+
"name": "advanced-properties-preservation-only",
|
|
16
|
+
"document": json.loads(
|
|
17
|
+
(root / "fixtures/core/schema-properties.json").read_text()
|
|
18
|
+
),
|
|
19
|
+
"compareComplete": False,
|
|
20
|
+
}
|
|
21
|
+
)
|
|
22
|
+
results = []
|
|
23
|
+
for case in cases:
|
|
24
|
+
validation = validate_document(case["document"])
|
|
25
|
+
result = {
|
|
26
|
+
**case,
|
|
27
|
+
"python": {"valid": validation.valid, "complete": validation.complete},
|
|
28
|
+
}
|
|
29
|
+
try:
|
|
30
|
+
document = Document.model_validate(case["document"])
|
|
31
|
+
result["texts"] = {
|
|
32
|
+
format: write_document(document, format) for format in ("json", "yaml")
|
|
33
|
+
}
|
|
34
|
+
except ValueError:
|
|
35
|
+
result["texts"] = {}
|
|
36
|
+
results.append(result)
|
|
37
|
+
print(json.dumps(results))
|