deriva-cli 0.8.0__tar.gz → 0.8.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.
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/PKG-INFO +2 -8
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/adapters/llm/manager.py +19 -9
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/adapters/llm/models.py +16 -1
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/cli/cli.py +2 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/cli/commands/run.py +4 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/common/settings.py +16 -1
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/services/about.py +6 -1
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/pyproject.toml +53 -8
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/pyproject.toml.orig +34 -12
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/LICENSE +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/adapters/archimate/README.md +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/adapters/archimate/__init__.py +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/adapters/archimate/archimate_xsd/documentation/Diagram.html +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/adapters/archimate/archimate_xsd/documentation/View.html +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/adapters/archimate/archimate_xsd/documentation/model.html +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/adapters/archimate/archimate_xsd/examples/archimate3_Diagram.xsd +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/adapters/archimate/archimate_xsd/examples/archimate3_Model.xsd +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/adapters/archimate/archimate_xsd/examples/archimate3_View.xsd +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/adapters/archimate/archimate_xsd/schemas/archimate3_Diagram.xsd +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/adapters/archimate/archimate_xsd/schemas/archimate3_Model.xsd +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/adapters/archimate/archimate_xsd/schemas/archimate3_View.xsd +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/adapters/archimate/archimate_xsd/snippets/Interoperability testing snippet-1.xml +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/adapters/archimate/archimate_xsd/snippets/Interoperability testing snippet-10.xml +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/adapters/archimate/archimate_xsd/snippets/Interoperability testing snippet-2.xml +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/adapters/archimate/archimate_xsd/snippets/Interoperability testing snippet-3.xml +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/adapters/archimate/archimate_xsd/snippets/Interoperability testing snippet-4.xml +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/adapters/archimate/archimate_xsd/snippets/Interoperability testing snippet-5.xml +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/adapters/archimate/archimate_xsd/snippets/Interoperability testing snippet-7.xml +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/adapters/archimate/archimate_xsd/snippets/Interoperability testing snippet-8.xml +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/adapters/archimate/archimate_xsd/snippets/Interoperability testing snippet-9.xml +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/adapters/archimate/manager.py +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/adapters/archimate/models.py +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/adapters/archimate/validation.py +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/adapters/archimate/xml_export.py +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/adapters/database/README.md +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/adapters/database/__init__.py +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/adapters/database/data/derivation_config.json +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/adapters/database/data/derivation_patterns.json +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/adapters/database/data/extraction_config.json +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/adapters/database/data/file_types.json +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/adapters/database/data/system_settings.json +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/adapters/database/db_tool.py +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/adapters/database/manager.py +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/adapters/database/scripts/7_extraction_params.sql +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/adapters/database/scripts/schema.sql +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/adapters/grafeo/__init__.py +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/adapters/grafeo/manager.py +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/adapters/graph/README.md +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/adapters/graph/__init__.py +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/adapters/graph/cache.py +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/adapters/graph/manager.py +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/adapters/graph/metamodel.py +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/adapters/graph/models.py +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/adapters/llm/README.md +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/adapters/llm/__init__.py +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/adapters/llm/cache.py +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/adapters/llm/model_registry.py +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/adapters/llm/rate_limiter.py +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/adapters/llm/retry.py +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/adapters/llm/schemas.py +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/adapters/nlp/__init__.py +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/adapters/nlp/extract.py +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/adapters/nlp/language.py +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/adapters/nlp/manager.py +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/adapters/nlp/models.py +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/adapters/nlp/phrases.py +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/adapters/nlp/settings.py +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/adapters/nlp/text.py +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/adapters/nlp/translate.py +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/adapters/repository/README.md +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/adapters/repository/__init__.py +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/adapters/repository/manager.py +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/adapters/repository/models.py +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/adapters/treesitter/__init__.py +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/adapters/treesitter/languages/__init__.py +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/adapters/treesitter/languages/base.py +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/adapters/treesitter/languages/bms.py +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/adapters/treesitter/languages/cobol.py +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/adapters/treesitter/languages/csharp.py +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/adapters/treesitter/languages/java.py +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/adapters/treesitter/languages/javascript.py +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/adapters/treesitter/languages/jcl.py +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/adapters/treesitter/languages/python.py +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/adapters/treesitter/languages/structural.py +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/adapters/treesitter/manager.py +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/adapters/treesitter/models.py +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/cli/README.md +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/cli/__init__.py +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/cli/commands/__init__.py +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/cli/commands/config.py +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/cli/commands/repo.py +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/cli/progress.py +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/common/__init__.py +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/common/cache_utils.py +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/common/chunking.py +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/common/document_reader.py +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/common/exceptions.py +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/common/file_utils.py +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/common/json_utils.py +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/common/llm_utils.py +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/common/logging.py +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/common/naming.py +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/common/ocel.py +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/common/paths.py +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/common/schema_utils.py +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/common/time_utils.py +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/common/timing.py +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/common/types.py +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/modules/__init__.py +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/modules/analysis/__init__.py +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/modules/analysis/consistency.py +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/modules/analysis/cross_repo_analysis.py +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/modules/analysis/deviation.py +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/modules/analysis/fit_analysis.py +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/modules/analysis/model_quality.py +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/modules/analysis/run_consistency.py +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/modules/analysis/semantic_matching.py +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/modules/analysis/stability_analysis.py +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/modules/analysis/types.py +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/modules/derivation/__init__.py +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/modules/derivation/application_component.py +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/modules/derivation/application_interface.py +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/modules/derivation/application_service.py +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/modules/derivation/base.py +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/modules/derivation/business_actor.py +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/modules/derivation/business_event.py +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/modules/derivation/business_function.py +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/modules/derivation/business_object.py +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/modules/derivation/business_process.py +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/modules/derivation/component_services.py +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/modules/derivation/data_object.py +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/modules/derivation/device.py +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/modules/derivation/element_base.py +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/modules/derivation/node.py +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/modules/derivation/prep.py +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/modules/derivation/refine/__init__.py +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/modules/derivation/refine/base.py +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/modules/derivation/refine/circular_relationships.py +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/modules/derivation/refine/cross_layer.py +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/modules/derivation/refine/duplicate_elements.py +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/modules/derivation/refine/duplicate_relationships.py +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/modules/derivation/refine/graph_relationships.py +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/modules/derivation/refine/joint.py +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/modules/derivation/refine/joint_consistency.py +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/modules/derivation/refine/normalization.py +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/modules/derivation/refine/orphan_elements.py +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/modules/derivation/refine/relationship_consolidation.py +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/modules/derivation/refine/structural_consistency.py +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/modules/derivation/system_software.py +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/modules/derivation/technology_service.py +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/modules/extraction/__init__.py +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/modules/extraction/base.py +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/modules/extraction/business_concept.py +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/modules/extraction/classification.py +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/modules/extraction/concept_candidates.py +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/modules/extraction/directory.py +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/modules/extraction/directory_classification.py +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/modules/extraction/edges.py +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/modules/extraction/external_dependency.py +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/modules/extraction/file.py +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/modules/extraction/method.py +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/modules/extraction/repository.py +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/modules/extraction/technology_candidates.py +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/modules/extraction/test.py +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/modules/extraction/type_definition.py +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/services/__init__.py +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/services/config.py +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/services/config_models.py +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/services/derivation.py +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/services/export_bundle.py +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/services/extraction.py +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/services/llm_log.py +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/services/model_configs.py +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/services/ontology.py +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/services/overfit.py +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/services/pipeline.py +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/services/session.py +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/services/trace.py +0 -0
- {deriva_cli-0.8.0 → deriva_cli-0.8.1}/packages/README-deriva-cli.md +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: deriva-cli
|
|
3
|
-
Version: 0.8.
|
|
3
|
+
Version: 0.8.1
|
|
4
4
|
Summary: Deriva is a research project aimed at enabling digital architects by automating the derivation of enterprise architecture models. Deriva uses dual knowledge graphs, heuristics and LLM's.
|
|
5
5
|
Keywords: archimate,enterprise-architecture,code-analysis,llm,grafeo,fastapi
|
|
6
6
|
Author: S. T. Grond
|
|
@@ -27,7 +27,6 @@ Requires-Dist: rich>=15
|
|
|
27
27
|
Requires-Dist: lxml>=6
|
|
28
28
|
Requires-Dist: duckdb>=1.5
|
|
29
29
|
Requires-Dist: grafeo>=0.6.0b1
|
|
30
|
-
Requires-Dist: sqlglot>=30
|
|
31
30
|
Requires-Dist: tree-sitter>=0.26
|
|
32
31
|
Requires-Dist: tree-sitter-python>=0.23.0
|
|
33
32
|
Requires-Dist: tree-sitter-javascript>=0.23.0
|
|
@@ -40,16 +39,11 @@ Requires-Dist: ctranslate2==4.8.2
|
|
|
40
39
|
Requires-Dist: sentencepiece==0.2.2
|
|
41
40
|
Requires-Dist: solvor>=0.6.3
|
|
42
41
|
Requires-Dist: backoff>=2.2.1
|
|
43
|
-
Requires-Dist: pydantic-ai>=2.55
|
|
44
|
-
Requires-Dist: authlib>=1.8.0
|
|
45
|
-
Requires-Dist: pyasn1>=0.6.4
|
|
46
|
-
Requires-Dist: pyjwt>=2.15
|
|
42
|
+
Requires-Dist: pydantic-ai-slim[openai,anthropic,mistral]>=2.55
|
|
47
43
|
Requires-Dist: diskcache>=5.6.3
|
|
48
|
-
Requires-Dist: nest-asyncio>=1.6.0
|
|
49
44
|
Requires-Dist: structlog>=26.1.0
|
|
50
45
|
Requires-Dist: typer>=0.27
|
|
51
46
|
Requires-Dist: httpx>=0.28.1
|
|
52
|
-
Requires-Dist: pydantic-ai-slim[mistral]>=2.55
|
|
53
47
|
Requires-Python: >=3.14
|
|
54
48
|
Project-URL: Homepage, https://deriva.dev
|
|
55
49
|
Project-URL: Documentation, https://docs.deriva.dev
|
|
@@ -84,6 +84,9 @@ def _is_retriable(error: Exception) -> bool:
|
|
|
84
84
|
|
|
85
85
|
Output validation retries are handled by the pydantic-ai agent itself.
|
|
86
86
|
"""
|
|
87
|
+
if isinstance(error, (httpx.LocalProtocolError, httpx.UnsupportedProtocol)):
|
|
88
|
+
# Client-side and permanent: a malformed header or URL never succeeds on retry
|
|
89
|
+
return False
|
|
87
90
|
if isinstance(error, (httpx.TransportError, TimeoutError, ConnectionError)):
|
|
88
91
|
return True
|
|
89
92
|
return isinstance(error, ModelHTTPError) and classify_exception(error)[0] in (
|
|
@@ -387,6 +390,13 @@ class LLMManager:
|
|
|
387
390
|
"""Get the provider name."""
|
|
388
391
|
return self.config.get("provider", "unknown")
|
|
389
392
|
|
|
393
|
+
def _redact(self, text: str) -> str:
|
|
394
|
+
"""Keep the configured API key out of exception text: h11 quotes header values in its errors."""
|
|
395
|
+
key = self.config.get("api_key")
|
|
396
|
+
if key and key in text:
|
|
397
|
+
return text.replace(key, "***")
|
|
398
|
+
return text
|
|
399
|
+
|
|
390
400
|
def _load_config_from_env(self) -> dict[str, Any]:
|
|
391
401
|
"""Load configuration from the settings (home .env under the process environment)."""
|
|
392
402
|
llm = LlmSettings()
|
|
@@ -554,7 +564,7 @@ class LLMManager:
|
|
|
554
564
|
logger.warning(
|
|
555
565
|
"LLM call failed (%s: %s), retry %d/%d in %.1fs",
|
|
556
566
|
type(e).__name__,
|
|
557
|
-
e,
|
|
567
|
+
self._redact(str(e)),
|
|
558
568
|
attempt + 1,
|
|
559
569
|
self.max_retries,
|
|
560
570
|
delay,
|
|
@@ -781,22 +791,22 @@ class LLMManager:
|
|
|
781
791
|
# Circuit breaker is open - fail fast without attempting request
|
|
782
792
|
logger.warning(
|
|
783
793
|
"LLM query blocked by circuit breaker: %s",
|
|
784
|
-
e,
|
|
794
|
+
self._redact(str(e)),
|
|
785
795
|
)
|
|
786
796
|
return FailedResponse(
|
|
787
797
|
prompt=prompt,
|
|
788
798
|
model=self.model,
|
|
789
|
-
error=str(e),
|
|
799
|
+
error=self._redact(str(e)),
|
|
790
800
|
error_type="CircuitOpenError",
|
|
791
801
|
)
|
|
792
802
|
|
|
793
803
|
except ValidationError as e:
|
|
794
804
|
call["error_type"] = "ValidationError"
|
|
795
|
-
logger.warning("LLM query failed with ValidationError: %s", e)
|
|
805
|
+
logger.warning("LLM query failed with ValidationError: %s", self._redact(str(e)))
|
|
796
806
|
return FailedResponse(
|
|
797
807
|
prompt=prompt,
|
|
798
808
|
model=self.model,
|
|
799
|
-
error=str(e),
|
|
809
|
+
error=self._redact(str(e)),
|
|
800
810
|
error_type="ValidationError",
|
|
801
811
|
)
|
|
802
812
|
|
|
@@ -809,24 +819,24 @@ class LLMManager:
|
|
|
809
819
|
self._rate_limiter.record_rate_limit(retry_after)
|
|
810
820
|
logger.warning(
|
|
811
821
|
"LLM query rate limited: %s (retry_after: %s)",
|
|
812
|
-
e,
|
|
822
|
+
self._redact(str(e)),
|
|
813
823
|
retry_after,
|
|
814
824
|
)
|
|
815
825
|
elif category == "transient":
|
|
816
826
|
self._rate_limiter.record_failure()
|
|
817
|
-
logger.warning("LLM query failed with transient error: %s", e)
|
|
827
|
+
logger.warning("LLM query failed with transient error: %s", self._redact(str(e)))
|
|
818
828
|
else:
|
|
819
829
|
# Permanent error - don't update failure counters
|
|
820
830
|
logger.warning(
|
|
821
831
|
"LLM query failed with permanent error (%s): %s",
|
|
822
832
|
type(e).__name__,
|
|
823
|
-
e,
|
|
833
|
+
self._redact(str(e)),
|
|
824
834
|
)
|
|
825
835
|
|
|
826
836
|
return FailedResponse(
|
|
827
837
|
prompt=prompt,
|
|
828
838
|
model=self.model,
|
|
829
|
-
error=str(e),
|
|
839
|
+
error=self._redact(str(e)),
|
|
830
840
|
error_type=type(e).__name__,
|
|
831
841
|
)
|
|
832
842
|
|
|
@@ -49,6 +49,11 @@ __all__ = [
|
|
|
49
49
|
# =============================================================================
|
|
50
50
|
|
|
51
51
|
|
|
52
|
+
def _plain(value: str) -> str:
|
|
53
|
+
"""Padding and quotes stripped: a pasted key, URL or model name breaks every call otherwise."""
|
|
54
|
+
return value.strip().strip("'\"").strip()
|
|
55
|
+
|
|
56
|
+
|
|
52
57
|
@dataclass
|
|
53
58
|
class BenchmarkModelConfig:
|
|
54
59
|
"""
|
|
@@ -76,6 +81,15 @@ class BenchmarkModelConfig:
|
|
|
76
81
|
|
|
77
82
|
def __post_init__(self):
|
|
78
83
|
"""Validate provider and reasoning level."""
|
|
84
|
+
# A pasted key, URL or model name with padding or quotes breaks every call
|
|
85
|
+
self.provider = _plain(self.provider)
|
|
86
|
+
self.model = _plain(self.model)
|
|
87
|
+
if self.api_url:
|
|
88
|
+
self.api_url = _plain(self.api_url)
|
|
89
|
+
if self.api_key:
|
|
90
|
+
self.api_key = _plain(self.api_key)
|
|
91
|
+
if self.api_key_env:
|
|
92
|
+
self.api_key_env = _plain(self.api_key_env)
|
|
79
93
|
if self.provider not in VALID_PROVIDERS:
|
|
80
94
|
raise ValueError(f"Invalid provider: {self.provider}. Must be one of {VALID_PROVIDERS}")
|
|
81
95
|
reasoning_settings(self.provider, self.reasoning)
|
|
@@ -85,7 +99,8 @@ class BenchmarkModelConfig:
|
|
|
85
99
|
if self.api_key:
|
|
86
100
|
return self.api_key
|
|
87
101
|
if self.api_key_env:
|
|
88
|
-
|
|
102
|
+
key = settings.get(self.api_key_env)
|
|
103
|
+
return _plain(key) if key else key
|
|
89
104
|
return None
|
|
90
105
|
|
|
91
106
|
def get_api_url(self) -> str:
|
|
@@ -349,6 +349,8 @@ def clear(
|
|
|
349
349
|
|
|
350
350
|
def main() -> int:
|
|
351
351
|
"""Main entry point."""
|
|
352
|
+
# pydantic-ai's first-run banner is noise in CLI output
|
|
353
|
+
about.suppress_pydantic_ai_banner()
|
|
352
354
|
# Line-buffer stdout so progress appears live, also when piped to a file
|
|
353
355
|
# (redirected streams such as io.StringIO have no reconfigure)
|
|
354
356
|
if hasattr(sys.stdout, "reconfigure"):
|
|
@@ -50,6 +50,8 @@ def _print_derivation_result(result: dict) -> None:
|
|
|
50
50
|
typer.echo(f"{'-' * 60}")
|
|
51
51
|
stats = result.get("stats", {})
|
|
52
52
|
typer.echo(f" Elements created: {stats.get('elements_created', 0)}")
|
|
53
|
+
if stats.get("elements_disabled", 0) > 0:
|
|
54
|
+
typer.echo(f" Elements disabled by refine: {stats['elements_disabled']} (excluded from export)")
|
|
53
55
|
typer.echo(f" Relationships created: {stats.get('relationships_created', 0)}")
|
|
54
56
|
typer.echo(f" Elements validated: {stats.get('elements_validated', 0)}")
|
|
55
57
|
typer.echo(f" Issues found: {stats.get('issues_found', 0)}")
|
|
@@ -94,6 +96,8 @@ def _print_pipeline_result(result: dict) -> None:
|
|
|
94
96
|
stats = results["derivation"].get("stats", {})
|
|
95
97
|
typer.echo("\nDerivation:")
|
|
96
98
|
typer.echo(f" Elements created: {stats.get('elements_created', 0)}")
|
|
99
|
+
if stats.get("elements_disabled", 0) > 0:
|
|
100
|
+
typer.echo(f" Elements disabled by refine: {stats['elements_disabled']} (excluded from export)")
|
|
97
101
|
typer.echo(f" Issues found: {stats.get('issues_found', 0)}")
|
|
98
102
|
|
|
99
103
|
if result.get("errors"):
|
|
@@ -83,13 +83,18 @@ def export_provider_keys() -> None:
|
|
|
83
83
|
if name in _ORIGINAL_ENVIRONMENT:
|
|
84
84
|
continue
|
|
85
85
|
if name in file:
|
|
86
|
-
os.environ[name] = file[name]
|
|
86
|
+
os.environ[name] = file[name].strip() # a key or URL with padding breaks the header the provider library builds
|
|
87
87
|
_EXPORTED.add(name)
|
|
88
88
|
elif name in _EXPORTED:
|
|
89
89
|
os.environ.pop(name, None)
|
|
90
90
|
_EXPORTED.discard(name)
|
|
91
91
|
|
|
92
92
|
|
|
93
|
+
def suppress_pydantic_ai_banner() -> None:
|
|
94
|
+
"""Keep pydantic-ai's first-run banner out of CLI output; the library reads the variable when it would show."""
|
|
95
|
+
os.environ.setdefault("PYDANTIC_AI_NO_BANNER", "1")
|
|
96
|
+
|
|
97
|
+
|
|
93
98
|
class _MergedEnvironment(PydanticBaseSettingsSource):
|
|
94
99
|
"""The settings source of every group: ``environment()``, by env_prefix plus field name in upper case."""
|
|
95
100
|
|
|
@@ -159,6 +164,16 @@ class LlmSettings(_Group):
|
|
|
159
164
|
circuit_failure_threshold: int = 5
|
|
160
165
|
circuit_recovery_time: float = 30.0
|
|
161
166
|
|
|
167
|
+
@field_validator("*", mode="before")
|
|
168
|
+
@classmethod
|
|
169
|
+
def _credentials_plain(cls, value: Any, info: ValidationInfo) -> Any:
|
|
170
|
+
"""Keys, URLs and model names: padding and quotes stripped; a pasted key with a trailing space breaks every call."""
|
|
171
|
+
if isinstance(value, str) and info.field_name is not None and (info.field_name.endswith(("_api_key", "_api_url", "_model")) or info.field_name == "provider"):
|
|
172
|
+
value = value.strip().strip("'\"")
|
|
173
|
+
if value == "":
|
|
174
|
+
raise PydanticUseDefault()
|
|
175
|
+
return value
|
|
176
|
+
|
|
162
177
|
|
|
163
178
|
class GrafeoSettings(_Group):
|
|
164
179
|
model_config = SettingsConfigDict(env_prefix="GRAFEO_", extra="ignore")
|
|
@@ -6,7 +6,7 @@ import importlib.util
|
|
|
6
6
|
from importlib.metadata import version as _distribution_version
|
|
7
7
|
from pathlib import Path
|
|
8
8
|
|
|
9
|
-
from deriva.common import paths
|
|
9
|
+
from deriva.common import paths, settings
|
|
10
10
|
|
|
11
11
|
# The distribution that carries the version (the root project; all three packages share it)
|
|
12
12
|
DISTRIBUTION = "deriva-cli"
|
|
@@ -29,3 +29,8 @@ def features() -> dict[str, bool]:
|
|
|
29
29
|
def version() -> str:
|
|
30
30
|
"""The installed Deriva version (all three packages share it)."""
|
|
31
31
|
return _distribution_version(DISTRIBUTION)
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
def suppress_pydantic_ai_banner() -> None:
|
|
35
|
+
"""Keep pydantic-ai's first-run banner out of the CLI's and the studio's output."""
|
|
36
|
+
settings.suppress_pydantic_ai_banner()
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "deriva-cli"
|
|
3
|
-
version = "0.8.
|
|
3
|
+
version = "0.8.1"
|
|
4
4
|
description = "Deriva is a research project aimed at enabling digital architects by automating the derivation of enterprise architecture models. Deriva uses dual knowledge graphs, heuristics and LLM's."
|
|
5
5
|
readme = "packages/README-deriva-cli.md"
|
|
6
6
|
requires-python = ">=3.14"
|
|
@@ -37,7 +37,6 @@ dependencies = [
|
|
|
37
37
|
"lxml>=6",
|
|
38
38
|
"duckdb>=1.5",
|
|
39
39
|
"grafeo>=0.6.0b1",
|
|
40
|
-
"sqlglot>=30",
|
|
41
40
|
"tree-sitter>=0.26",
|
|
42
41
|
"tree-sitter-python>=0.23.0",
|
|
43
42
|
"tree-sitter-javascript>=0.23.0",
|
|
@@ -50,16 +49,11 @@ dependencies = [
|
|
|
50
49
|
"sentencepiece==0.2.2",
|
|
51
50
|
"solvor>=0.6.3",
|
|
52
51
|
"backoff>=2.2.1",
|
|
53
|
-
"pydantic-ai>=2.55",
|
|
54
|
-
"authlib>=1.8.0",
|
|
55
|
-
"pyasn1>=0.6.4",
|
|
56
|
-
"pyjwt>=2.15",
|
|
52
|
+
"pydantic-ai-slim[openai,anthropic,mistral]>=2.55",
|
|
57
53
|
"diskcache>=5.6.3",
|
|
58
|
-
"nest-asyncio>=1.6.0",
|
|
59
54
|
"structlog>=26.1.0",
|
|
60
55
|
"typer>=0.27",
|
|
61
56
|
"httpx>=0.28.1",
|
|
62
|
-
"pydantic-ai-slim[mistral]>=2.55",
|
|
63
57
|
]
|
|
64
58
|
|
|
65
59
|
[[project.authors]]
|
|
@@ -164,6 +158,57 @@ msg = "Architecture violation: cli is a top-level entry point and should not be
|
|
|
164
158
|
[tool.ruff.lint.flake8-tidy-imports.banned-api."deriva.bench"]
|
|
165
159
|
msg = "Architecture violation: only the CLI and studio entry points load deriva.bench, behind about.features()"
|
|
166
160
|
|
|
161
|
+
[tool.ruff.lint.flake8-tidy-imports.extend-banned-api.requests]
|
|
162
|
+
msg = "Not a dependency of Deriva (only installed through other packages); use httpx"
|
|
163
|
+
|
|
164
|
+
[tool.ruff.lint.flake8-tidy-imports.extend-banned-api.anywidget]
|
|
165
|
+
msg = "The studio serves the widgets' front end only (anywidget_graph.ui, anywidget_archimate.ui)"
|
|
166
|
+
|
|
167
|
+
[tool.ruff.lint.flake8-tidy-imports.extend-banned-api.ipywidgets]
|
|
168
|
+
msg = "The studio serves the widgets' front end only (anywidget_graph.ui, anywidget_archimate.ui)"
|
|
169
|
+
|
|
170
|
+
[tool.ruff.lint.flake8-tidy-imports.extend-banned-api.marimo]
|
|
171
|
+
msg = "Not a dependency of Deriva (the marimo app was replaced by the studio)"
|
|
172
|
+
|
|
173
|
+
[tool.ruff.lint.flake8-tidy-imports.extend-banned-api.pydantic_ai]
|
|
174
|
+
msg = "Library boundary: LLM calls go through deriva.adapters.llm"
|
|
175
|
+
|
|
176
|
+
[tool.ruff.lint.flake8-tidy-imports.extend-banned-api.spacy]
|
|
177
|
+
msg = "Library boundary: NLP goes through deriva.adapters.nlp"
|
|
178
|
+
|
|
179
|
+
[tool.ruff.lint.flake8-tidy-imports.extend-banned-api.ctranslate2]
|
|
180
|
+
msg = "Library boundary: NLP goes through deriva.adapters.nlp"
|
|
181
|
+
|
|
182
|
+
[tool.ruff.lint.flake8-tidy-imports.extend-banned-api.sentencepiece]
|
|
183
|
+
msg = "Library boundary: NLP goes through deriva.adapters.nlp"
|
|
184
|
+
|
|
185
|
+
[tool.ruff.lint.flake8-tidy-imports.extend-banned-api.duckdb]
|
|
186
|
+
msg = "Library boundary: the config database goes through deriva.adapters.database"
|
|
187
|
+
|
|
188
|
+
[tool.ruff.lint.flake8-tidy-imports.extend-banned-api.grafeo]
|
|
189
|
+
msg = "Library boundary: the graphs go through deriva.adapters.grafeo"
|
|
190
|
+
|
|
191
|
+
[tool.ruff.lint.flake8-tidy-imports.extend-banned-api.lxml]
|
|
192
|
+
msg = "Library boundary: ArchiMate XML goes through deriva.adapters.archimate"
|
|
193
|
+
|
|
194
|
+
[tool.ruff.lint.flake8-tidy-imports.extend-banned-api.tree_sitter]
|
|
195
|
+
msg = "Library boundary: parsing goes through deriva.adapters.treesitter"
|
|
196
|
+
|
|
197
|
+
[tool.ruff.lint.flake8-tidy-imports.extend-banned-api.fastapi]
|
|
198
|
+
msg = "Not a dependency of deriva-cli: web code lives in deriva-studio (deriva.studio) or deriva-dev (deriva.bench)"
|
|
199
|
+
|
|
200
|
+
[tool.ruff.lint.flake8-tidy-imports.extend-banned-api.starlette]
|
|
201
|
+
msg = "Not a dependency of deriva-cli: web code lives in deriva-studio (deriva.studio) or deriva-dev (deriva.bench)"
|
|
202
|
+
|
|
203
|
+
[tool.ruff.lint.flake8-tidy-imports.extend-banned-api.uvicorn]
|
|
204
|
+
msg = "Not a dependency of deriva-cli: web code lives in deriva-studio (deriva.studio) or deriva-dev (deriva.bench)"
|
|
205
|
+
|
|
206
|
+
[tool.ruff.lint.flake8-tidy-imports.extend-banned-api.anywidget_graph]
|
|
207
|
+
msg = "Not a dependency of deriva-cli: the widgets are served by deriva-studio (deriva.studio)"
|
|
208
|
+
|
|
209
|
+
[tool.ruff.lint.flake8-tidy-imports.extend-banned-api.anywidget_archimate]
|
|
210
|
+
msg = "Not a dependency of deriva-cli: the widgets are served by deriva-studio (deriva.studio)"
|
|
211
|
+
|
|
167
212
|
[tool.ruff.lint.per-file-ignores]
|
|
168
213
|
"tests/**/*.py" = [
|
|
169
214
|
"E402",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "deriva-cli"
|
|
3
|
-
version = "0.8.
|
|
3
|
+
version = "0.8.1"
|
|
4
4
|
description = "Deriva is a research project aimed at enabling digital architects by automating the derivation of enterprise architecture models. Deriva uses dual knowledge graphs, heuristics and LLM's."
|
|
5
5
|
# The PyPI page; README.md is the repository's own
|
|
6
6
|
readme = "packages/README-deriva-cli.md"
|
|
@@ -44,7 +44,6 @@ dependencies = [
|
|
|
44
44
|
# Databases
|
|
45
45
|
"duckdb>=1.5",
|
|
46
46
|
"grafeo>=0.6.0b1",
|
|
47
|
-
"sqlglot>=30",
|
|
48
47
|
# Code Analysis (tree-sitter)
|
|
49
48
|
"tree-sitter>=0.26",
|
|
50
49
|
"tree-sitter-python>=0.23.0",
|
|
@@ -62,21 +61,15 @@ dependencies = [
|
|
|
62
61
|
"solvor>=0.6.3",
|
|
63
62
|
# LLM
|
|
64
63
|
"backoff>=2.2.1",
|
|
65
|
-
# CVE-2026-107286, CVE-2026-107287 fixed in 2.53
|
|
66
|
-
|
|
64
|
+
# CVE-2026-107286, CVE-2026-107287 fixed in 2.53; slim with only the providers model_registry.py
|
|
65
|
+
# builds (azure, ollama and lmstudio go through the openai client), so no google, logfire or mcp stack
|
|
66
|
+
"pydantic-ai-slim[openai,anthropic,mistral]>=2.55",
|
|
67
67
|
# Utilities
|
|
68
|
-
|
|
69
|
-
# CVE-2026-27962, CVE-2026-28490 fix (transitive via fastmcp)
|
|
70
|
-
"pyasn1>=0.6.4",
|
|
71
|
-
# CVE-2026-30922 fix (transitive via google-auth/rsa)
|
|
72
|
-
"pyjwt>=2.15",
|
|
73
|
-
# CVE-2026-32597 fix (transitive via mcp)
|
|
68
|
+
# CVE-2026-32597 fix
|
|
74
69
|
"diskcache>=5.6.3",
|
|
75
|
-
"nest-asyncio>=1.6.0",
|
|
76
70
|
"structlog>=26.1.0",
|
|
77
71
|
"typer>=0.27",
|
|
78
72
|
"httpx>=0.28.1",
|
|
79
|
-
"pydantic-ai-slim[mistral]>=2.55",
|
|
80
73
|
]
|
|
81
74
|
|
|
82
75
|
[dependency-groups]
|
|
@@ -190,6 +183,35 @@ docstring-quotes = "double"
|
|
|
190
183
|
"deriva.bench" = { msg = "Architecture violation: only the CLI and studio entry points load deriva.bench, behind about.features()" }
|
|
191
184
|
# Note: Layer-specific bans (adapters↔modules, etc.) are in per-directory ruff.toml files
|
|
192
185
|
|
|
186
|
+
# Third-party libraries, enforced with the same rule. Each library is used where its package declares it:
|
|
187
|
+
# - not at all: transitive packages no Deriva package declares, and the widgets' notebook stack
|
|
188
|
+
# - adapters only: the heavy engines behind an adapter (LLM, NLP, databases, parsers)
|
|
189
|
+
# - studio and bench only: the web stack, which deriva-cli does not install
|
|
190
|
+
# This table is inherited by every per-directory ruff.toml that does not set its own (their banned-api
|
|
191
|
+
# tables replace the one above, this one stays); deriva/adapters/ruff.toml and the studio and bench
|
|
192
|
+
# ruff.toml files set their own to allow the libraries of their layer
|
|
193
|
+
[tool.ruff.lint.flake8-tidy-imports.extend-banned-api]
|
|
194
|
+
# Not declared by any Deriva package
|
|
195
|
+
"requests" = { msg = "Not a dependency of Deriva (only installed through other packages); use httpx" }
|
|
196
|
+
"anywidget" = { msg = "The studio serves the widgets' front end only (anywidget_graph.ui, anywidget_archimate.ui)" }
|
|
197
|
+
"ipywidgets" = { msg = "The studio serves the widgets' front end only (anywidget_graph.ui, anywidget_archimate.ui)" }
|
|
198
|
+
"marimo" = { msg = "Not a dependency of Deriva (the marimo app was replaced by the studio)" }
|
|
199
|
+
# Adapters only
|
|
200
|
+
"pydantic_ai" = { msg = "Library boundary: LLM calls go through deriva.adapters.llm" }
|
|
201
|
+
"spacy" = { msg = "Library boundary: NLP goes through deriva.adapters.nlp" }
|
|
202
|
+
"ctranslate2" = { msg = "Library boundary: NLP goes through deriva.adapters.nlp" }
|
|
203
|
+
"sentencepiece" = { msg = "Library boundary: NLP goes through deriva.adapters.nlp" }
|
|
204
|
+
"duckdb" = { msg = "Library boundary: the config database goes through deriva.adapters.database" }
|
|
205
|
+
"grafeo" = { msg = "Library boundary: the graphs go through deriva.adapters.grafeo" }
|
|
206
|
+
"lxml" = { msg = "Library boundary: ArchiMate XML goes through deriva.adapters.archimate" }
|
|
207
|
+
"tree_sitter" = { msg = "Library boundary: parsing goes through deriva.adapters.treesitter" }
|
|
208
|
+
# Studio and bench only (deriva-studio and deriva-dev declare them, deriva-cli does not)
|
|
209
|
+
"fastapi" = { msg = "Not a dependency of deriva-cli: web code lives in deriva-studio (deriva.studio) or deriva-dev (deriva.bench)" }
|
|
210
|
+
"starlette" = { msg = "Not a dependency of deriva-cli: web code lives in deriva-studio (deriva.studio) or deriva-dev (deriva.bench)" }
|
|
211
|
+
"uvicorn" = { msg = "Not a dependency of deriva-cli: web code lives in deriva-studio (deriva.studio) or deriva-dev (deriva.bench)" }
|
|
212
|
+
"anywidget_graph" = { msg = "Not a dependency of deriva-cli: the widgets are served by deriva-studio (deriva.studio)" }
|
|
213
|
+
"anywidget_archimate" = { msg = "Not a dependency of deriva-cli: the widgets are served by deriva-studio (deriva.studio)" }
|
|
214
|
+
|
|
193
215
|
[tool.ruff.lint.per-file-ignores]
|
|
194
216
|
# Tests can import from any layer for testing purposes
|
|
195
217
|
"tests/**/*.py" = ["E402", "TID251"]
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/adapters/database/data/derivation_patterns.json
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/adapters/database/scripts/7_extraction_params.sql
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/modules/derivation/refine/circular_relationships.py
RENAMED
|
File without changes
|
|
File without changes
|
{deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/modules/derivation/refine/duplicate_elements.py
RENAMED
|
File without changes
|
{deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/modules/derivation/refine/duplicate_relationships.py
RENAMED
|
File without changes
|
{deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/modules/derivation/refine/graph_relationships.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/modules/derivation/refine/relationship_consolidation.py
RENAMED
|
File without changes
|
{deriva_cli-0.8.0 → deriva_cli-0.8.1}/deriva/modules/derivation/refine/structural_consistency.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|