Daily Shaarli

All links of one day in a single page.

April 29, 2026

Using direnv with Python

In short, add

layout python3

to .envrc.

To customize the name of the virtualenv that direnv automatically creates, add the line export VIRTUAL_ENV=your_venv_name to the top of the file.

And also, completely new to me, it is possible to use direnv with Github Actions (with a complete example in the direnv docs)!