my-package is not stable yet, so expect large and rapid changes to structure and functionality before the first stable release

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.

  1. create a new repository from this template

  2. clone your newly created repository

  3. cd cloned_repo_name

  4. conda env create -f environment.yml (mamba is recommended over conda if available)

  5. pip install .[dev]

  6. pre-commit install

# Update

  1. Switch to the default branch and update it (git switch main && git pull)

  2. activate the development virtual environment (conda activate your-env-name)

  3. update it (conda env update --file environment.yml --prune)

  4. re-install the package (pip install .[dev])

  5. update the pre-commit hooks (precommit install)