Opinionated Python + Miniconda template for new notebooks.
- Go to or create the project folder.
- Get the template files:
npx degit github:joaopalmeiro/template-python-miniconda-notebook
or
npx degit github:joaopalmeiro/template-python-miniconda-notebook --force
- Search for
template-python-miniconda-notebook
and replace it with the project name. Ignore the template repository URL in the NOTES.md file. - Search for
Opinionated [Python](https://www.python.org/) + [Miniconda](https://docs.anaconda.com/free/miniconda/) template for new notebooks.
and replace it with the (short) project description. - Search for
João Palmeiro
and replace it with the author's name. - Open the environment.yml file and add the project-specific dependencies.
- Delete the TEMPLATE.md file.
- Delete the
Getting Started
section.
Install Miniconda (if necessary).
conda env create -f environment.yml
conda env list
conda activate template-python-miniconda-notebook
conda list
jupyter lab
ruff check
ruff check --fix
ruff format
conda deactivate