A collection of reproducible Conda environments for my local development setup.
Each environment lives in its own folder (for example, playground or quarto-blogging) and contains:
- a
.ymlfile defining the environment (packages, Python version, and channels) - a rebuild script that recreates the environment safely and reproducibly
Shared helper scripts are stored under the helpers/ folder.
python-environments/
βββ helpers/
β βββ ensure_no_env.sh # aborts if any environment is active
β
βββ playground/
β βββ playground.yml # lightweight experimental environment
β βββ rebuild_playground.sh # rebuild script for playground
β
βββ quarto-blogging/
β βββ quarto-blogging.yml # environment for nbdev + Quarto publishing
β βββ rebuild_quarto-blogging.sh # rebuild script for blogging setup
To rebuild an environment, navigate to its folder and run the rebuild script:
cd playground
bash rebuild_playground.shEach script:
- verifies that no Conda environment is currently active
- removes the existing environment (if present)
- recreates it from the corresponding .yml file
After rebuilding, activate the environment manually:
conda activate playground- All environments are managed by Miniforge (Conda/Mamba).
- The base environment is kept clean and used only as a factory for creating other environments.
- You can safely extend this structure by adding new folders with their own *.yml and rebuild scripts.