How I use Direnv with Pyenv and Nvm for isolated Python & JavaScript development project directories. Direnv is a tool that runs a script named .envrc when you change to the folder it is in.
Scripts: https://gist.github.com/chr15m/fa077f...
Direnv: https://direnv.net
Pyenv: https://github.com/pyenv/pyenv
Nvm: https://github.com/nvm-sh/nvm