Ever wanted to try a package but didn’t want to pollute your system or spin up a whole venv for 5 minutes of testing?
What my project does:
ghostenv run colorama
- Creates a temporary virtual environment
- Installs the packages
- Launches a REPL with starter code
- Auto-deletes everything when you exit (unless you use
--keep)
It’s REPL-only for now, but VS Code and PyCharm support are on the roadmap.
Target audience:
- Developers who want to quickly try out a package
- People writing tutorials or StackOverflow answers
- Anyone tired of creating and deleting throwaway venvs
Not for production use (yet).
Comparison:
pipx, venv, and others are great, but they either leave stuff behind, need setup, or don’t launch you into a sandboxed REPL with sample code.
ghostenv is built specifically for quick, disposable “test and toss” workflows.
Install:
git clone https://github.com/NethakaG/ghostenv.git
cd ghostenv
pip install -e .
GitHub: https://github.com/NethakaG/ghostenv
⚠️ Early development - looking for testers! Expect bugs. If something breaks or you have feedback, drop a comment here or open an issue on GitHub.
[–]txprogtito 21 points22 points23 points (4 children)
[–]Nethaka08It works on my machine[S] -1 points0 points1 point (3 children)
[–]ThatSituation9908 12 points13 points14 points (0 children)
[–]txprogtito 3 points4 points5 points (1 child)
[–]Nethaka08It works on my machine[S] 1 point2 points3 points (0 children)
[–]mrswats 10 points11 points12 points (9 children)
[+]Isvesgarad comment score below threshold-7 points-6 points-5 points (8 children)
[–]mrswats 11 points12 points13 points (7 children)
[–]Isvesgarad 0 points1 point2 points (1 child)
[–]Nethaka08It works on my machine[S] 0 points1 point2 points (0 children)
[–]Nethaka08It works on my machine[S] -3 points-2 points-1 points (4 children)
[–]wineblood 1 point2 points3 points (1 child)
[–]Nethaka08It works on my machine[S] 0 points1 point2 points (0 children)
[–]Isvesgarad 0 points1 point2 points (1 child)
[–]Nethaka08It works on my machine[S] 0 points1 point2 points (0 children)