Quick Start
This tutorial walks you through installing axm-init and creating your first project.
Prerequisites
- Python 3.12+
- uv (recommended) or pip
Installation
Or with pip:
Verify the installation:
Step 1: Create a New Project
Scaffold a fully configured Python project:
You'll see output with all scaffolded files:
β
Project 'my-project' created at /path/to/my-project
π pyproject.toml
π src/my_project/__init__.py
π tests/__init__.py
π README.md
Default name
If you omit --name, the project name defaults to the target directory name.
Step 2: Explore the Scaffolded Project
my-project/
βββ pyproject.toml # PEP 621, hatch-vcs, ruff, mypy, pytest
βββ src/
β βββ my_project/
β βββ __init__.py
β βββ py.typed
βββ tests/
β βββ __init__.py
βββ Makefile # make lint, make test, make ci
βββ mkdocs.yml # Material for MkDocs + DiΓ‘taxis
βββ docs/
βββ index.md
Note
The actual scaffolded project contains additional files (CI workflows, pre-commit config, Makefile, docs setup). The tree above shows the essential structure.
What's included
The scaffolded project comes pre-configured with:
- pyproject.toml β PEP 621 metadata, hatch-vcs versioning, ruff, mypy, pytest
- Makefile β
make lint,make test,make ci - MkDocs β Material theme, DiΓ‘taxis nav, auto-gen API docs
- py.typed β PEP 561 marker for type checkers
Step 3: Run the Checks
make ci runs the full quality pipeline in sequence: Ruff lint β MyPy type-check β Pytest. It's equivalent to:
If everything passes, your project is ready for development.
Next Steps
- Scaffold a project β Options, flags, PyPI check
- Reserve a package name β Claim names on PyPI
- Check your project β Quality grade (AβF)
- CLI Reference β Full command documentation