<commit_before># pyenv-pip-rehash

[![Build Status](https://travis-ci.org/yyuu/pyenv-pip-rehash.png)](https://travis-ci.org/yyuu/pyenv-pip-rehash)

**NOTICE** from pyenv v20141211, it bundles built-in `pip-rehash` feature. You don't need to install this plugin anymore.

## Installation

Make sure you have pyenv 0.2.0 or later, then run:

    git clone https://github.com/yyuu/pyenv-pip-rehash.git ~/.pyenv/plugins/pyenv-pip-rehash

## Usage

1. `pip install` a pip that provides executables.
2. Marvel at how you no longer need to type `pyenv rehash`.

## How It Works

pyenv-pip-rehash hooks every invokation of `pip` commands via `pyenv`.
If the first argument for `pip` is `install` or `uninstall`, it invokes `pyenv rehash` automatically.

## History

**0.0.4** (Mar 30, 2014)

* Fix infinite loop issue with `system` version (yyuu/pyenv#146)<commit_msg>Add installation instructions for Homebrew<commit_after># pyenv-pip-rehash

[![Build Status](https://travis-ci.org/yyuu/pyenv-pip-rehash.png)](https://travis-ci.org/yyuu/pyenv-pip-rehash)

**NOTICE** from pyenv v20141211, it bundles built-in `pip-rehash` feature. You don't need to install this plugin anymore.

## Installation

### Installing as a pyenv plugin

Make sure you have pyenv 0.2.0 or later, then run:

    git clone https://github.com/yyuu/pyenv-pip-rehash.git ~/.pyenv/plugins/pyenv-pip-rehash


### Installing with Homebrew (for OS X users)

Mac OS X users can install pyenv-pip-rehash with the
[Homebrew](http://brew.sh) package manager.

*This is the recommended method of installation if you installed pyenv
 with Homebrew.*

```
$ brew install pyenv-pip-rehash
```

Or, if you would like to install the latest development release:

```
$ brew install --HEAD pyenv-pip-rehash
```

## Usage

1. `pip install` a pip that provides executables.
2. Marvel at how you no longer need to type `pyenv rehash`.

## How It Works

pyenv-pip-rehash hooks every invokation of `pip` commands via `pyenv`.
If the first argument for `pip` is `install` or `uninstall`, it invokes `pyenv rehash` automatically.

## History

**0.0.4** (Mar 30, 2014)

* Fix infinite loop issue with `system` version (yyuu/pyenv#146)
{'fraction_non_alphanumeric': 0.12609295904279796, 'fraction_numerical': 0.02300966405890474, 'mean_word_length': 4.127358490566038, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 6, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3969587', 'n_tokens_mistral': 792, 'n_tokens_neox': 728, 'n_words': 252}