Hacker News new | ask | show | jobs
by Izkata 2381 days ago
> - All dependencies installed locally to the project, in the equivalent of a `node_modules` folder

That's basically what a virtualenv is, the python version of a node_modules directory. You just need to explicitly activate/deactivate to move in and out of that environment, instead of it being based on the directory tree. And the requirements file is equivalent to the "dependencies" section(s) of package.json