Skip to main content

remove & reinstall python packages in one command

Project description

# ripe [![Build Status](https://travis-ci.org/shaunvxc/ripe.svg?branch=master)](https://travis-ci.org/shaunvxc/ripe) [![PyPI version](https://badge.fury.io/py/ripe.svg)](https://badge.fury.io/py/ripe) [![forthebadge](https://img.shields.io/badge/warning-NSFW-orange.svg)](http://forthebadge.com) An unnecessary micro-optimization for those who (like me) spend too much time using –force-reinstall or pip uninstall/install while testing every little incremental change to their packages.

## Why? If you find yourself in a workflow where you are continuously reinstalling local copies of your packages to test out changes, you might find ripe to be a useful little hack.

While pip itself offers equivalent functionality with its –force-reinstall flag, ripe will accomplish the same thing in fewer keystrokes.

## Usage

  • Run from the root-level of a package to uninstall the currently installed version, and reinstall using your local changes:

    $ ripe

  • You can also point ripe to the package you wish to reinstall with your local changes:

    $ ripe packagename

  • For more complicated paths:

    $ ripe /path/to/local/package

In all cases, ripe will automatically pass y to the Proceed (y/n) prompt for uninstalling.

*Note* ripe must either be run from or pointed to a pip-installable location (it checks for setup.py. If it is run from elsewhere, it will tell you as much before exiting)

## Installation

$ pip install ripe

#### Disclaimer This is a little tool that uses os.system() to pip uninstall and pip install the local copy of your package onto your system (or current virtual environment). As such this package should only be used locally and properly.

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

ripe-0.0.4.tar.gz (4.0 kB view details)

Uploaded Source

File details

Details for the file ripe-0.0.4.tar.gz.

File metadata

  • Download URL: ripe-0.0.4.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for ripe-0.0.4.tar.gz
Algorithm Hash digest
SHA256 34834b1cde52a1ae5da6f18b907c299bf9add1182cf8001c99b2bc43099f0299
MD5 ff3acc2d05580b75ea3a3c0265990cc6
BLAKE2b-256 02d777fb31559f76aabd7813727dbd8238b51404a352223e5545acd54c3ccbff

See more details on using hashes here.

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