Skip to content

joaopalmeiro/template-python-miniconda-notebook

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

template-python-miniconda-notebook

Ruff

Opinionated Python + Miniconda template for new notebooks.

Getting Started

  1. Go to or create the project folder.
  2. Get the template files:
npx degit github:joaopalmeiro/template-python-miniconda-notebook

or

npx degit github:joaopalmeiro/template-python-miniconda-notebook --force
  1. Search for template-python-miniconda-notebook and replace it with the project name. Ignore the template repository URL in the NOTES.md file.
  2. 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.
  3. Search for João Palmeiro and replace it with the author's name.
  4. Open the environment.yml file and add the project-specific dependencies.
  5. Delete the TEMPLATE.md file.
  6. Delete the Getting Started section.

Development

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

About

Opinionated Python + Miniconda template for new notebooks.

Resources

License

Stars

Watchers

Forks