Small CLI for managing virtual python environments
Project description
manven (0.5.1)
Welcome to manven's README.
manven
is a small CLI wrapping the functionality of virtualenv
to make managing virtual environments easier.
Functionalities include creating, activating, removing and listing virtual environments, together with simply ways to quickly create and prune temporary environments.
Follow the documentation below for how to install and how to get started.
Happy venv-ing!
Installation
See installation.
Getting started
See getting started.
Completions
If you're using zsh
you can copy (or symlink) the file completions/_manven
to a folder in your $fpath
to enable completions of commands and virtual environments to activate. This requires compinit
to have been activated in your .zshrc
.
Choose virtual environment with fzf
Additionally you can add the following functions to your .zshrc
to trigger fuzzy finding of virtual environments with a trigger sequence (default **
).
_fzf_complete_manven() {
_fzf_complete --reverse --prompt="venv> " -- "$@" < <(
manven list
)
}
_fzf_complete_smanven() {
_fzf_complete_manven
}
With these functions and if you type smanven activate **<TAB>
you can choose the virtual environment using fzf
.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
File details
Details for the file manven-0.5.1-py3-none-any.whl
.
File metadata
- Download URL: manven-0.5.1-py3-none-any.whl
- Upload date:
- Size: 10.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c83ee77a148ff86f3689f231ab56adde919b9b9900227aed4543f6b99cdb732e |
|
MD5 | 2f24872036b35e8435681311fd8741f4 |
|
BLAKE2b-256 | 34c6ee2daeaf5a48ec69f95d0ae9df5e56c9e90aaecd1f0582d8359f4fca8a46 |