Template for packages in the Engineering Mathematics ecosystem. Use "Use this template" on GitHub, then follow the checklist below.
- Rename: repo
<name>(kebab-case) → distributionengg-math-<name>→ importengg_math.<name_snake>. Renamesrc/engg_math/template/, and updatepyproject.toml(name,importlinter),__init__.py,tests/. - Never add
src/engg_math/__init__.py. Theengg_mathnamespace is shared between distributions. - Declare the public API in
__all__; keep implementation in_private.pymodules. - Keep
[project].dependenciesminimal; put optional features behind extras. - Set
CODEOWNERS, branch protection (seeMeta/GOVERNANCE.md), and register a PyPI Trusted Publisher. uv sync→uv run pytestmust pass on a fresh clone.
uv sync # create .venv from uv.lock
uv run ruff check . && uv run ruff format --check .
uv run mypy
uv run lint-imports
uv run pytestCI runs these plus a lowest-dependency run, a 3-OS matrix, a dependency audit, CodeQL and a commit-policy check.
Licence: Apache-2.0.