modenv is a Python CLI tool for managing layered virtual environments using .pth file linking. It allows multiple Python projects to share base environments while layering custom dependencies on top.
- Share base dependencies across many projects
- Use
.modenvto store layered config per Python version - Link parents and children like an overlay filesystem
- Export/import setup using
speccommand - Diagnose and fix broken links with
doctor
modenv layer init
modenv layer parent add /path/to/base --name base --priority 1- Python >= 3.11
tomli_w(installed automatically)
MIT
Thanks ChatGPT for helping out with this.