DEV Community

Axel Dahlberg
Axel Dahlberg

Posted on

Introducing manven

I like to use virualenv (I'm not such a big a fan of conda), but it is sometimes annoying to keep track of created environments and to source the correct script depending on what shell you're using. For this reason I wrote manven, which can create, activate, list and remove created environments and quickly create and prune temporary ones. Feel free to checkout https://acksld.github.io/manven/ for how to install and use it :)

This is my first open-source project on my own so I'm very happy to hear any of your thoughts!

How can manven be used?

After installing manven and adding the alias smanven as described in the installation you can create and activate an enviroment as

smanven activate myvenv
Enter fullscreen mode Exit fullscreen mode

To list all the created enviroments

smanven list
Enter fullscreen mode Exit fullscreen mode

To create and activate a quick temporary enviroment

smanven temp
Enter fullscreen mode Exit fullscreen mode

For complete documentation of the full functionality and accepted flags, see the docs.

Happy venv-ing! :)

(After releasing manven I learnt about virtualenvwrapper which solves the same problem. However virtualenvwrapper is written in bash and can be tricky to extent to other shells such as fish. manven is almost completely in Python except for the tiny top-level script and can easily be extended to other shells (current support for bash, fish, zsh, dash.)

Top comments (0)