Skip to main content



TIL - Automatically Set Your virtualenv
·321 words·2 mins
TIL python poetry hatch venv direnv
I’m a big fan of using direnv to set project-specific env variables. And at one point I was using it to automatically activate my poetry virtualenv whenever I entered the directory per this function.