Installatie¶
Via pip (aanbevolen)¶
Na installatie is het commando crunch_uml beschikbaar:
Vanuit broncode¶
Of start direct vanuit de broncode:
Vereisten¶
- Python 3.9, 3.10, 3.11 of 3.12
- Afhankelijkheden worden automatisch geïnstalleerd (SQLAlchemy, lxml, pandas, etc.)
Database¶
Standaard gebruikt crunch_uml een SQLite-database in de huidige directory (crunch_uml.db). Je kunt elke SQLAlchemy-compatible database gebruiken:
# SQLite (default)
crunch_uml -db_url sqlite:///mijn_model.db import -f model.xmi -t eaxmi
# PostgreSQL
crunch_uml -db_url postgresql://user:pass@localhost/crunch import -f model.xmi -t eaxmi
Eerste test¶
Controleer of de installatie werkt: