https://github.com/quant-aq/aeromancy-project-template
🧠Template for creating a new Aeromancy-managed project.
https://github.com/quant-aq/aeromancy-project-template
aeromancy copier-template pdm reproducible-science
Last synced: 21 days ago
JSON representation
🧠Template for creating a new Aeromancy-managed project.
- Host: GitHub
- URL: https://github.com/quant-aq/aeromancy-project-template
- Owner: quant-aq
- License: mit
- Created: 2024-02-07T17:05:23.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-09-12T23:00:34.000Z (over 1 year ago)
- Last Synced: 2024-09-13T12:07:25.943Z (over 1 year ago)
- Topics: aeromancy, copier-template, pdm, reproducible-science
- Language: Jinja
- Homepage: https://quant-aq.github.io/aeromancy/
- Size: 104 KB
- Stars: 1
- Watchers: 4
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# Aeromancy project template
[](https://quant-aq.github.io/aeromancy/)
[](https://github.com/psf/black)
[](https://pdm.fming.dev)
[](https://github.com/astral-sh/ruff)
[](https://pre-commit.com/)

This is a [Copier](https://copier.readthedocs.io/en/stable/) template for
getting a new [Aeromancy](https://github.com/quant-aq/aeromancy)-managed project
up and running quickly. If you're not familiar with Aeromancy, you'll want to
start with its [documentation](https://quant-aq.github.io/aeromancy/). 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:
1. Load a dataset
2. Train a model on the dataset
3. Evaluate the model on the dataset
## Requirements
This template requires the following dependencies:
- [Python](https://python.org) (3.10+)
- [Git](https://git-scm.com/)
## Quick Start
1. Install [PDM](https://pdm.fming.dev) with
[Copier](https://copier.readthedocs.io/en/stable/) support:
```bash
pip install --user "pdm[copier]"
```
2. Set up a new Aeromancy-managed project with this template: (this will create
the project directory for you)
```bash
copier copy --trust "gh:quant-aq/aeromancy-project-template"
```
3. Install project dependencies:
```bash
cd
git init ; pdm install --dev --no-self
```
4. Check out [Aeromancy](https://quant-aq.github.io/aeromancy/) docs for more
information!
## Template features
The template was originally based on
[pdm-project/copier-pdm](https://github.com/pdm-project/copier-pdm) with some
modifications in [dmcc/copier-pdm](https://github.com/dmcc/copier-pdm).
### Package manager
The template project uses [PDM](https://pdm.fming.dev), with a pre-defined
`pyproject.toml`.
### Documentation and changelog
- Documentation is built with [MkDocs](https://github.com/mkdocs/mkdocs)
([Material theme](https://github.com/squidfunk/mkdocs-material))
### Pre-commit and linter
[pre-commit](https://pre-commit.com/) is used for both commit hook and linting,
including the following hooks:
- [ruff](https://github.com/charliermarsh/ruff) (linting and formatting in
[Black](https://github.com/psf/black) style)
- [keep-sorted](https://github.com/google/keep-sorted)
- [do-not-submit](https://github.com/jlebar/pre-commit-hooks/blob/master/check_do_not_submit.py)
### Tests
- Tests run with [pytest](https://pytest.org/). GitHub Actions provide matrix
support.