Skip to main content

AXM Init — Python project scaffolding CLI with Copier templates.

Project description

axm-init

Python project scaffolding, auditing & governance CLI.

CI axm-init Coverage PyPI Python 3.12+ Typed Ruff uv Docs


Features

  • 🚀 Scaffold — Bootstrap production-grade Python projects with Copier templates
  • 📋 Check — Score any project against the AXM gold standard (37 checks, A–F grade)
  • 📦 Reserve — Claim a package name on PyPI before you're ready to publish

Installation

uv add axm-init

Quick Start

# Scaffold a new project
axm-init init my-project \
  --org axm-protocols \
  --author "Your Name" --email "you@example.com"

# Audit against AXM standards
axm-init check
# Score: 100/100 — Grade A 🏆

# Reserve a name on PyPI
axm-init reserve my-cool-lib --dry-run

CLI Commands

axm-init init

Scaffold a production-grade Python project (src layout, PEP 621, CI, docs).

Option Short Default Description
PATH . Directory to initialize
--org -o required GitHub org or username
--author -a required Author name
--email -e required Author email
--name -n dir name Project name
--license -l MIT License (MIT, Apache-2.0, EUPL-1.2)
--license-holder --org License holder
--description -d One-line description
--check-pypi False Verify PyPI availability first
--json False Output as JSON

axm-init check

Score a project against the AXM gold standard (38 checks across 7 categories).

Option Short Default Description
PATH . Directory to check
--category -c all Filter to one category
--json False Output as JSON

Categories: pyproject, ci, tooling, docs, structure, deps, changelog

axm-init reserve

Reserve a package name on PyPI with a minimal placeholder.

Option Short Default Description
NAME required Package name to reserve
--author -a Gabriel Jarry Author name
--email -e jarry.gabriel@gmail.com Author email
--dry-run False Skip actual publish
--json False Output as JSON

CI Audit Badge

Projects scaffolded with axm-init init include an automated audit badge that updates on every push. The badge shows your score and grade using the AXM logo.

push → axm-init check → badge JSON → gh-pages → shields.io

The badge is already in your README — just push to main and it appears after the first CI run.

Existing projects can add the badge too — copy .github/workflows/axm-init.yml from a scaffolded project and add the badge markup. See the howto guide for details.

Development

git clone https://github.com/axm-protocols/axm-init.git
cd axm-init
uv sync --all-groups
uv run pytest           # 317 tests
uv run ruff check src/  # lint

License

Apache License 2.0

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

axm_init-0.3.0.tar.gz (2.0 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

axm_init-0.3.0-py3-none-any.whl (65.1 kB view details)

Uploaded Python 3

File details

Details for the file axm_init-0.3.0.tar.gz.

File metadata

  • Download URL: axm_init-0.3.0.tar.gz
  • Upload date:
  • Size: 2.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for axm_init-0.3.0.tar.gz
Algorithm Hash digest
SHA256 ef0cac4fb874624fbab53bc81fb60f4349ae3bd0cea07a63c778fef2299e1088
MD5 9e8bd7aa795a4c8dd9773a791cacf721
BLAKE2b-256 15f5e78268832a3bbf9b63938d5c0aa452668922d599a4c9327e9ba47a75e1bf

See more details on using hashes here.

Provenance

The following attestation bundles were made for axm_init-0.3.0.tar.gz:

Publisher: publish.yml on axm-protocols/axm-init

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file axm_init-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: axm_init-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 65.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for axm_init-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6270a3b72a1f4a6165dd84354808b30f16277c90a4f51c7e238cc1b970a47418
MD5 2bc1549f3c655bac5462c4b942f66dcf
BLAKE2b-256 7c53f6ea09b68ce58c846cbf81d0bb7ec1da4917db62752b7cb6031bb6a7b6c8

See more details on using hashes here.

Provenance

The following attestation bundles were made for axm_init-0.3.0-py3-none-any.whl:

Publisher: publish.yml on axm-protocols/axm-init

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page