Installation¶
Via pip (recommended)¶
After installation, the crunch_uml command is available:
From source code¶
Or run directly from source:
Requirements¶
- Python 3.9, 3.10, 3.11 or 3.12
- Dependencies are installed automatically (SQLAlchemy, lxml, pandas, etc.)
Database¶
By default crunch_uml uses a SQLite database in the current directory (crunch_uml.db). You can use any SQLAlchemy-compatible database:
# SQLite (default)
crunch_uml -db_url sqlite:///my_model.db import -f model.xmi -t eaxmi
# PostgreSQL
crunch_uml -db_url postgresql://user:pass@localhost/crunch import -f model.xmi -t eaxmi
First test¶
Check if the installation works: