This is a Copier template for getting a new Aeromancy-managed project up and running quickly. If you're not familiar with Aeromancy, you'll want to start with its documentation. This template (along with Aeromancy) is fairly opinionated makes a lot of decisions for you in terms of workflows.
The template will build stubs for all necessary Aeromancy components. The initial setup creates a simple ML pipeline with three steps:
- Load a dataset
- Train a model on the dataset
- Evaluate the model on the dataset
This template requires the following dependencies:
pip install --user "pdm[copier]"
- Set up a new Aeromancy-managed project with this template: (this will create the project directory for you)
copier copy --trust "gh:quant-aq/aeromancy-project-template" <project_name>
- Install project dependencies:
cd <project_name>
git init ; pdm install --dev --no-self
- Check out Aeromancy docs for more information!
The template was originally based on pdm-project/copier-pdm with some modifications in dmcc/copier-pdm.
The template project uses PDM, with a pre-defined
pyproject.toml
.
- Documentation is built with MkDocs (Material theme)
pre-commit is used for both commit hook and linting, including the following hooks:
- ruff (linting and formatting in Black style)
- keep-sorted
- do-not-submit
- Tests run with pytest. GitHub Actions provide matrix support.