<commit_before>[redis]: http://code.google.com/p/redis/ "Redis"
[redis-py]: http://github.com/andymccurdy/redis-py "Redis-Py"

*If you'd like to be a contributor, send me a note! I'd be more than glad to pass this over to a more active maintainer.*

This package exposes [Redis][redis] backed datastructures which bring together
standard Python syntax with persistent in-memory storage. Redis operations
are all atomic as well, meaning that a thoughtful approach can use them
concurrently on multiple machines.

Utimately, a trivial wrapper around [Redis-Py][redis-py].


## Simple Installation

The simplest approach to installation is:

    pip install redis
    pip install -r git+https://github.com/lethain/Redis-Python-Datastructures.git

## Installation for development

For development, you should checkout the repository,
and install it into a [virtualenv](http://www.virtualenv.org/en/latest/):

    # get the code
    git clone https://github.com/lethain/Redis-Python-Datastructures.git
    cd Redis-Python-Datastructures.git

    # create and activate a virtualenv if you don't have one already
    virtualenv env
    . ./activate<commit_msg>Update simple installation instructions now that setup.py is working cleanly.<commit_after>[redis]: http://code.google.com/p/redis/ "Redis"
[redis-py]: http://github.com/andymccurdy/redis-py "Redis-Py"

*If you'd like to be a contributor, send me a note! I'd be more than glad to pass this over to a more active maintainer.*

This package exposes [Redis][redis] backed datastructures which bring together
standard Python syntax with persistent in-memory storage. Redis operations
are all atomic as well, meaning that a thoughtful approach can use them
concurrently on multiple machines.

Utimately, a trivial wrapper around [Redis-Py][redis-py].


## Simple Installation

The simplest approach to installation is:

    pip install redis
    pip install -e git+https://github.com/lethain/Redis-Python-Datastructures.git#egg=redis_ds

## Installation for development

For development, you should checkout the repository,
and install it into a [virtualenv](http://www.virtualenv.org/en/latest/):

    # get the code
    git clone https://github.com/lethain/Redis-Python-Datastructures.git
    cd Redis-Python-Datastructures.git

    # create and activate a virtualenv if you don't have one already
    virtualenv env
    . ./activate
{'fraction_non_alphanumeric': 0.08728493495593789, 'fraction_numerical': 0.0, 'mean_word_length': 4.182608695652174, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 2, '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': '1494788', 'n_tokens_mistral': 713, 'n_tokens_neox': 669, 'n_words': 258}