Skip to content

devanshusingla/modenv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

10 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

modenv

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.

πŸš€ Features

  • Share base dependencies across many projects
  • Use .modenv to store layered config per Python version
  • Link parents and children like an overlay filesystem
  • Export/import setup using spec command
  • Diagnose and fix broken links with doctor

πŸ“¦ Install

See Installation Guide

πŸ›  Usage

modenv layer init
modenv layer parent add /path/to/base --name base --priority 1

πŸ“š Docs

🐍 Requirements

  • Python >= 3.11
  • tomli_w (installed automatically)

πŸ“œ License

MIT

Acknowledgments

Thanks ChatGPT for helping out with this.

About

Layered Python virtual environments (.venv) using .pth files

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages