Get started#
Installation#
Since there is no release yet, the only installation available is the development version.
Users#
This type of installation will be available as soon as a release is deployed.
pip install my-package
conda install my-package
Developers#
Tip
The use of a virtual environment is recommended;
a conda environment
file is provided (if you start from scratch is recommended to
install the miniforge distribution which comes with mamba as a faster alternative to conda
).
In the following instructions this is the assumed setup.
cd cloned_repo_name
conda env create -f environment.yml
(mamba
is recommended overconda
if available)pip install .[dev]
pre-commit install
# Update
Switch to the default branch and update it (
git switch main && git pull
)activate the development virtual environment (
conda activate your-env-name
)update it (
conda env update --file environment.yml --prune
)re-install the package (
pip install .[dev]
)update the pre-commit hooks (
precommit install
)