Metadata-Version: 2.4
Name: deriva-cli
Version: 0.8.1
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.
Keywords: archimate,enterprise-architecture,code-analysis,llm,grafeo,fastapi
Author: S. T. Grond
Author-email: S. T. Grond <steven@deriva.dev>
License-Expression: AGPL-3.0-or-later
License-File: LICENSE
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Web Environment
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Science/Research
Classifier: Intended Audience :: Information Technology
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.14
Classifier: Topic :: Software Development :: Documentation
Classifier: Topic :: Scientific/Engineering :: Visualization
Classifier: Topic :: Scientific/Engineering :: Information Analysis
Classifier: Typing :: Typed
Requires-Dist: pydantic>=2
Requires-Dist: pydantic-settings>=2
Requires-Dist: python-dotenv>=1.2
Requires-Dist: pyyaml>=6.0
Requires-Dist: rich>=15
Requires-Dist: lxml>=6
Requires-Dist: duckdb>=1.5
Requires-Dist: grafeo>=0.6.0b1
Requires-Dist: tree-sitter>=0.26
Requires-Dist: tree-sitter-python>=0.23.0
Requires-Dist: tree-sitter-javascript>=0.23.0
Requires-Dist: tree-sitter-java>=0.23.0
Requires-Dist: tree-sitter-c-sharp>=0.23
Requires-Dist: pypdf>=6
Requires-Dist: python-docx>=1.2
Requires-Dist: spacy==3.8.16
Requires-Dist: ctranslate2==4.8.2
Requires-Dist: sentencepiece==0.2.2
Requires-Dist: solvor>=0.6.3
Requires-Dist: backoff>=2.2.1
Requires-Dist: pydantic-ai-slim[openai,anthropic,mistral]>=2.55
Requires-Dist: diskcache>=5.6.3
Requires-Dist: structlog>=26.1.0
Requires-Dist: typer>=0.27
Requires-Dist: httpx>=0.28.1
Requires-Python: >=3.14
Project-URL: Homepage, https://deriva.dev
Project-URL: Documentation, https://docs.deriva.dev
Project-URL: Repository, https://github.com/StevenBtw/deriva
Project-URL: Issues, https://github.com/StevenBtw/deriva/issues
Project-URL: Changelog, https://github.com/StevenBtw/deriva/blob/main/CHANGELOG.md
Description-Content-Type: text/markdown

# Deriva CLI

**From code repositories to ArchiMate models, from the command line.**

Deriva reads a software repository, builds a graph of what is in it, and derives an [ArchiMate](https://www.opengroup.org/archimate-forum) enterprise architecture model you can open in [Archi](https://www.archimatetool.com/). `deriva-cli` runs the whole pipeline without a browser, for scripts, CI jobs and servers.

```bash
uv tool install --python 3.14 deriva-cli

deriva-cli repo clone https://github.com/user/my-repo.git
deriva-cli run all --repo my-repo -v
deriva-cli export -o model.xml --repo my-repo
deriva-cli status
```

- Configuration from the command line: `deriva-cli config list derivation`, `deriva-cli config show extraction BusinessConcept`; every change is a new version, earlier versions stay.
- Models are configured in `.env` in the home folder `~/.deriva` (`DERIVA_HOME` moves it).
- For the local web interface install [deriva-studio](https://pypi.org/project/deriva-studio/); for benchmarking, [deriva-dev](https://pypi.org/project/deriva-dev/).
- Install it as a tool or in its own environment: its Python package is named `deriva`, like ISI's `deriva-py`, and the two cannot share an environment.

Documentation: https://docs.deriva.dev. Source and releases: https://github.com/StevenBtw/deriva

Deriva is part of a research project on AI-assisted domain modeling. License: AGPL-3.0-or-later.
