Skip to content

Latest commit

 

History

History
52 lines (34 loc) · 1.19 KB

readme.md

File metadata and controls

52 lines (34 loc) · 1.19 KB

Overview

Release

Test

Code style: black

An opinionated library to help deploy data science projects

  • Free software: MIT license

Install

pip install "."

Develop, Lint & Test

Setup virtual environment:

python3.10 -m venv .venv

Or setup homebrew virtual environment:

brew install [email protected]
python3.12 -m venv .venv

Once virtual environment is setup:

. .venv/bin/activate
pip install -U pip setuptools wheel
pip install -e ".[dev]"
pre-commit install

Session:

. .venv/bin/activate
pytest
...
pre-commit run --all-files
...
git commit -m 'Message'
...
deactivate

CI/CD Lint & Test:

docker compose up test
docker compose up pre-commit
docker compose up build-wheel && docker compose up install-wheel
...
docker compose down