Installation¶
Requirements¶
- Python 3.11 or newer
- pip, Poetry, or any PEP 517-compatible installer
Install from PyPI¶
Package name vs. import name
The PyPI package name is llmcraft, but you import it as specwright:
Optional Extras¶
State Diagrams¶
To generate Graphviz DOT diagrams for state machines:
This adds the graphviz Python package. You'll also need the Graphviz system binary installed (brew install graphviz on macOS, apt install graphviz on Debian/Ubuntu).
Verify Installation¶
Or use the CLI:
Development Installation¶
To work on Specwright itself:
git clone https://github.com/burakdalgic/Specwright.git
cd specwright
poetry install
poetry run pytest
What Gets Installed¶
Specwright brings in these dependencies:
| Package | Purpose |
|---|---|
pydantic |
Runtime type validation engine |
typing-extensions |
Backported typing features |
click |
CLI framework |
rich |
Colorized terminal output |
jinja2 |
Template rendering for code generation |
All are widely-used, stable packages with no exotic system requirements.