Skip to main content

CLI Tool to help manage Pipenv Enviroments and corresponding Project Directories.

Project description

Pipes

A friendly Pipenv Environment Switcher for your shell

Pypi Badge Traves CI Badge Codecov Badge Documentation Status

Overview

Pipes is a Pipenv companion CLI tool that provides a quick way to jump between your pipenv powered projects.

https://raw.githubusercontent.com/gtalarico/pipenv-pipes/master/docs/static/pipes-gif.gif

Install

>>> pip install pipenv-pipes

Usage

List available Pipenv Environments

>>> pipes
[ Pipenv Environments ]
  0: project1-LwEMcb8W *
  1: project2-R1v7_ynT *

* Indicates the Environment already has a Project Directory associated.

Activate Pipenv Enviroment Shell

$ pipes project1

This would cd into directory /path/to/project1 and the corresponding Pipenv Shell is activated.

If query term (project1) returns 2 or more matches, a more specific query term needs to be used. For instance, to match 0: project1-LwEMcb8W user would need to type project1 or Lw` to get a single match. If ``envname argument was project, activation would fail since Pipes cannot guess which enviroment users wants (`project1 or project2).

The environment index can also be used. To active the enviroment 1: project2-R1v7_ynT user would run:

$ pipes 1:

Other Commands

For more details check pipes --help

Todo

  • Add Documentation

  • Add tests + Contributing

  • Setup Travis CI

  • Add cd-only flag (don’t activate shell)

Credits

Send me a message on twitter

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.

History

0.4.1 (2018-05-02)

  • Allow New Line on Read

0.4.0 (2018-05-02)

  • Renamed Set/Unset to Link/Unlink

  • Use pipenv –venv to verify project directory

0.3.0 (2018-05-02)

  • Improved Set/Unset CLI

  • Improved validation for Project Directories

0.2.0 (2018-05-02)

  • New CLI API (single command for simplicity)

  • Indicates if has project directory set on project list

  • Updated Verbose Project List

0.1.2 (2018-05-02)

  • Bug Fixes

  • Updated PipFile

0.1.1 (2018-05-02)

  • Disallow Pipes when VENV is active.

  • Added Colorama

0.1.0 (2018-05-02)

  • First release on PyPI.

Project details


Download files

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

Source Distribution

pipenv_pipes-0.4.1.tar.gz (236.1 kB view hashes)

Uploaded Source

Built Distribution

pipenv_pipes-0.4.1-py2.py3-none-any.whl (7.5 kB view hashes)

Uploaded Python 2 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