Skip to main content

diamond-setup

Universal Python project scaffold — generate professional, CI-ready skeletons in seconds.

CI Python 3.11+ License: MIT GenesisAeon Package

No cookiecutter, no Jinja2, no magic. Just a clean CLI that produces a fully working project — uv sync, pytest, ruff, pre-commit and CI all wired up from second one.


Installation

pip install diamond-setup
# or
uv tool install diamond-setup

Usage

# New project with the minimal template (default)
diamond scaffold my-lib

# GenesisAeon preset (adds domains.yaml + entropy-table bridge)
diamond scaffold my-physics-tool --template genesis --author "Ada Lovelace"

# Preview what would be generated (no files written)
diamond scaffold my-lib --dry-run

# See all templates
diamond list-templates

# Validate any project directory
diamond validate path/to/my-project
diamond validate          # validates the current directory

What you get

Running diamond scaffold my-lib produces:

my-lib/
├── src/
│   └── my_lib/
│       └── __init__.py       # __version__ = "0.1.0"
├── tests/
│   ├── __init__.py
│   └── test_main.py
├── .github/
│   └── workflows/
│       └── ci.yml            # matrix: 3.11 + 3.12
├── pyproject.toml            # hatchling, ruff, pytest configured
├── README.md
├── AGENT.md                  # GenesisAeon release & metadata rules
├── .gitignore
└── .pre-commit-config.yaml   # ruff + standard hooks

Then just:

cd my-lib
uv sync --dev
pre-commit install
uv run pytest

Templates

Template Description
minimal Clean Python package for everyone
genesis Adds domains.yaml + entropy-table bridge (GenesisAeon preset)

Extending

Adding a new template is one Python file. See docs/templates.md.

Role in the GenesisAeon Ecosystem

diamond-setup is P-INFRA-1 in the GenesisAeon ecosystem registry — the ecosystem infrastructure / template scaffold package. It generates the standardized project skeletons (CI, packaging, pre-commit) used to bootstrap new GenesisAeon packages, including the genesis preset that wires in the entropy-table bridge.

Citation

DOI


Built with uv · Typer · Rich

Download files

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

Source Distribution

diamond_setup-2.3.0.tar.gz (97.9 kB view details)

Uploaded Source

Built Distribution

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

diamond_setup-2.3.0-py3-none-any.whl (16.8 kB view details)

Uploaded Python 3

File details

Details for the file diamond_setup-2.3.0.tar.gz.

File metadata

  • Download URL: diamond_setup-2.3.0.tar.gz
  • Upload date:
  • Size: 97.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for diamond_setup-2.3.0.tar.gz
Algorithm Hash digest
SHA256 599453e622a29db48d03158451d2666a53600432e81c834e84c78bda00e70c3f
MD5 af122713121e174292e6376edb3f2fff
BLAKE2b-256 cfe7265966bf71567fc39df247c6e3b50e8e12c0ddc35fa983d114aad8528f64

See more details on using hashes here.

Provenance

The following attestation bundles were made for diamond_setup-2.3.0.tar.gz:

Publisher: release.yml on GenesisAeon/diamond-setup

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

File details

Details for the file diamond_setup-2.3.0-py3-none-any.whl.

File metadata

  • Download URL: diamond_setup-2.3.0-py3-none-any.whl
  • Upload date:
  • Size: 16.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for diamond_setup-2.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c01e26e8f4cca0d00bb0c63ba2d0497de183158f7bf115101664e5a67f81af6b
MD5 6ced28112121fd00696ce96cffea1ef1
BLAKE2b-256 be7729a36254cc3d942642d73a5b91c8b1524a3b242ce6ad07cac11f30faf1fe

See more details on using hashes here.

Provenance

The following attestation bundles were made for diamond_setup-2.3.0-py3-none-any.whl:

Publisher: release.yml on GenesisAeon/diamond-setup

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

Release history Release notifications | RSS feed

This release

2.3.0 This release

2 files

2.2.0

2 files

2.1.0

2 files

1.0.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page