Getting started#

Prerequisites#

Using the template#

  1. Click the Use this template button on GitHub

  2. Select Create a new repository

  3. Clone your new repository

  4. Run the setup script:

uv run python setup.py

The script will ask for:

  • Package name

  • Description

  • Author name and email

  • GitHub username/organization

  • Whether to include documentation

After setup#

Configure your GitHub repository:

  1. Add PyPI token (for publishing releases)

  2. Enable GitHub Pages (if you included documentation)

    • Go to Settings > Pages

    • Set Source to “GitHub Actions”

Development#

# Install dependencies
uv sync --all-extras --dev

# Run tests
uv run pytest tests/

# Build documentation locally
uv run jupyter-book build --builder dirhtml docs