Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

manven-0.5.1-py3-none-any.whl (10.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page