DEV Community

Axel Dahlberg
Axel Dahlberg

Posted on

2 1

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.)

Heroku

Simplify your DevOps and maximize your time.

Since 2007, Heroku has been the go-to platform for developers as it monitors uptime, performance, and infrastructure concerns, allowing you to focus on writing code.

Learn More

Top comments (0)

Billboard image

Create up to 10 Postgres Databases on Neon's free plan.

If you're starting a new project, Neon has got your databases covered. No credit cards. No trials. No getting in your way.

Try Neon for Free →

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay