1.4 KiB
1.4 KiB
Python Project Boilerplate
Welcome! This repository provides a minimal, well-structured starting point for new Python projects.
What You Get
src/package layout for application codetests/with placeholder unit testspyproject.tomlconfigured with placeholder metadata- Ruff linting and formatting
- Pyright type checking
- Nox automation sessions (format, lint, typecheck, tests, docs, build)
- MkDocs configuration for documentation
- Dev container setup for consistent environments
Getting Started
- Clone or template this repository
- Rename the package under
src/to match your project - Update metadata in
pyproject.toml,README.md, and this documentation - Create a virtual environment and install dependencies:
python -m venv .venv source .venv/bin/activate pip install -e .[dev] - Run the sample quality checks:
nox -s format lint typecheck tests - Launch the example CLI:
python -m boilerplate
Customization Checklist
- Replace placeholders in documentation and configuration
- Add real dependencies to
pyproject.toml - Expand tests in
tests/ - Remove this checklist when done
Next Steps
- Add project-specific modules under
src/ - Implement real CLI or application entry points
- Document usage, architecture, and development workflow
- Configure CI/CD pipelines as needed
Happy building!