<commit_before># Python IndexedRDD

IndexedRDD extends RDD[(K, V)] and pre-indexes the entries imposing unique keys to facilitate efficient point lookups, updates and deletion. It:
 	- hash-partitions the entries based on the keys
 	- follows a dictionary structure within wacg partition

# Installation

Before using IndexedRDD, take a quick look at the license and make sure you're OK with their terms.

Since, Python IndexedRDD isn't published as a package, download the folder to a location of your choice, and run the setup.py inside.

For example:
```
curl --location --remote-name "https://github.com/quinngroup/python-indexedrdd.git" 
curl -sL https://github.com/quinngroup/python-indexedrdd/archive/master.zip
wget https://github.com/quinngroup/python-indexedrdd/archive/master.zip -O python-indexedrdd.zip
unzip -q python-indexedrdd.zip
cd python-indexedrdd-master/
python setup.py clean build install

# You're good to go!
```
# Usage

Once installed you can use Python IndexedRDD as follows:

```
from indexedrdd import IndexedRDD
from pyspark import SparkContext

def main():<commit_msg>README updated<commit_after># Python IndexedRDD

IndexedRDD extends RDD[(K, V)] and pre-indexes the entries imposing unique keys to facilitate efficient point lookups, updates and deletion. It:
 	- hash-partitions the entries based on the keys
 	- follows a dictionary structure within wacg partition

# Installation

Before using IndexedRDD, take a quick look at the license and make sure you're OK with their terms.

Since, Python IndexedRDD isn't published as a package, download the folder to a location of your choice, and run the setup.py inside.

For example:
```
wget https://github.com/quinngroup/python-indexedrdd/archive/master.zip -O python-indexedrdd.zip
unzip -q python-indexedrdd.zip
cd python-indexedrdd-master/
python setup.py clean build install

# You're good to go!
```
# Usage

Once installed you can use Python IndexedRDD as follows:

```
from indexedrdd import IndexedRDD
from pyspark import SparkContext

def main():
{'fraction_non_alphanumeric': 0.07549019607843137, 'fraction_numerical': 0.0, 'mean_word_length': 4.638121546961326, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4565074', 'n_tokens_mistral': 627, 'n_tokens_neox': 598, 'n_words': 243}