Getting Started
This tutorial walks you through installing axm-anvil and verifying your setup.
Prerequisites
- Python 3.12+
- uv (recommended) or pip
Installation
Or with pip:
Step 1: Verify Installation
Step 2: Run Your First Move
Create two throwaway modules to see a move in action:
Python
# models.py
__all__ = ["User"]
def _slug(name: str) -> str:
return name.lower()
class User:
def __init__(self, name: str) -> None:
self.id = _slug(name)
Preview the move (nothing is written yet):
The plan shows User moving, the _slug helper being copied along, and the
__all__ entries being synced. Drop --dry-run to apply it atomically. Try
--rename '{"User": "Account"}' to rename in flight, or --no-include-helpers
to leave _slug behind.
Step 3: Run the Tests
This runs lint + type check + security audit + tests.
Next Steps
- How-To Guides — Task-oriented move recipes
- CLI Reference — Full command documentation
- Architecture — How the project is structured