Hacker News new | past | comments | ask | show | jobs | submit login

If it "uses symlinks and caching" in the way you describe, then it isn't really "throwing everything away again", surely?

Also, how is that different from `pipx run`?




You don't need to think about the virtual environment that might have been created to run the tool, that thing is entirely ephemeral. The caching is shared with all other virtual environments on your machine, so if some other project uses the same version of a dependency that cached dependency will be shared.

Contrast that with other Python virtual environment tools where you can end up with the same exact dependency copied dozens of times across your system.

"pipx run" for example can result in identical copies of dependencies that are used by multiple tools.


Ah, so by "everything" you just meant some configuration explaining what's in that environment. (In a broad sense, including e.g. the use of hard links to the cache.)

Yes, it's a quite clever system. I have plans to follow a similar strategy, implemented in Python (self-installing into its own isolated environment, similar to the one that Pipx makes for its Pip copy).




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: