No description
Find a file
2025-11-18 21:20:32 +00:00
.devcontainer Significantly revamped the base project to use more robust static checking including benchmarks and integration test support 2025-10-31 16:18:53 -04:00
.forgejo/workflows Significantly revamped the base project to use more robust static checking including benchmarks and integration test support 2025-10-31 16:18:53 -04:00
benchmarks Significantly revamped the base project to use more robust static checking including benchmarks and integration test support 2025-10-31 16:18:53 -04:00
docs Significantly revamped the base project to use more robust static checking including benchmarks and integration test support 2025-10-31 16:18:53 -04:00
examples Significantly revamped the base project to use more robust static checking including benchmarks and integration test support 2025-10-31 16:18:53 -04:00
features Significantly revamped the base project to use more robust static checking including benchmarks and integration test support 2025-10-31 16:18:53 -04:00
robot Significantly revamped the base project to use more robust static checking including benchmarks and integration test support 2025-10-31 16:18:53 -04:00
scripts Initial checkin with scripts. 2025-11-18 13:18:15 -08:00
src/boilerplate Significantly revamped the base project to use more robust static checking including benchmarks and integration test support 2025-10-31 16:18:53 -04:00
typings Significantly revamped the base project to use more robust static checking including benchmarks and integration test support 2025-10-31 16:18:53 -04:00
.bumpversion.cfg Added boilerplate code for python 2024-03-06 23:57:14 -05:00
.cz-config.js Initial commit 2024-01-25 23:10:04 -05:00
.cz.json Initial commit 2024-01-25 23:10:04 -05:00
.dockerignore Significantly revamped the base project to use more robust static checking including benchmarks and integration test support 2025-10-31 16:18:53 -04:00
.editorconfig Initial commit 2024-01-25 23:10:04 -05:00
.gitattributes Initial commit 2024-01-25 23:10:04 -05:00
.gitignore Significantly revamped the base project to use more robust static checking including benchmarks and integration test support 2025-10-31 16:18:53 -04:00
.python-version Significantly revamped the base project to use more robust static checking including benchmarks and integration test support 2025-10-31 16:18:53 -04:00
asv.conf.json Significantly revamped the base project to use more robust static checking including benchmarks and integration test support 2025-10-31 16:18:53 -04:00
ATTRIBUTIONS.md Initial commit 2024-01-25 23:10:04 -05:00
behave.ini Significantly revamped the base project to use more robust static checking including benchmarks and integration test support 2025-10-31 16:18:53 -04:00
CHANGELOG.md Significantly revamped the base project to use more robust static checking including benchmarks and integration test support 2025-10-31 16:18:53 -04:00
CODE_OF_CONDUCT.md Initial commit 2024-01-25 23:10:04 -05:00
CONTRIBUTING.md Initial commit 2024-01-25 23:10:04 -05:00
CONTRIBUTORS.md Initial commit 2024-01-25 23:10:04 -05:00
Dockerfile Significantly revamped the base project to use more robust static checking including benchmarks and integration test support 2025-10-31 16:18:53 -04:00
LICENSE Added Apache OSS license 2024-01-25 23:14:00 -05:00
mkdocs.yml Significantly revamped the base project to use more robust static checking including benchmarks and integration test support 2025-10-31 16:18:53 -04:00
NOTICE Added Apache OSS license 2024-01-25 23:14:00 -05:00
noxfile.py Significantly revamped the base project to use more robust static checking including benchmarks and integration test support 2025-10-31 16:18:53 -04:00
pyproject.toml Significantly revamped the base project to use more robust static checking including benchmarks and integration test support 2025-10-31 16:18:53 -04:00
pyrightconfig.json Significantly revamped the base project to use more robust static checking including benchmarks and integration test support 2025-10-31 16:18:53 -04:00
README.md Significantly revamped the base project to use more robust static checking including benchmarks and integration test support 2025-10-31 16:18:53 -04:00
robot.cfg Significantly revamped the base project to use more robust static checking including benchmarks and integration test support 2025-10-31 16:18:53 -04:00

Python Project Boilerplate

Start new Python applications quickly with a minimal, well-structured foundation.

Features

  • Python package layout under src/
  • pyproject.toml with placeholders for metadata and dependencies
  • Ruff formatting & linting
  • Nox automation for format, lint, type-check, tests, docs, build
  • MkDocs configured for documentation
  • Ready-made dev container configuration

Quick Start

# clone the template
# replace <your-org> and <project-name>
git clone https://example.com/<your-org>/<project-name>.git
cd <project-name>

# optional: rename package directory under src/

# create virtual environment and install dependencies
python -m venv .venv
source .venv/bin/activate
pip install -e .[dev]

# run quality checks
nox -s format lint typecheck tests

# run the sample CLI
python -m boilerplate

Replace Placeholders

Update the following files with real project information:

  • pyproject.toml
  • mkdocs.yml
  • docs/index.md
  • README.md

Documentation

nox -s docs
nox -s serve_docs

Tests

Simple placeholder tests live in tests/. Run them with nox -s tests or pytest.