<commit_before>posthaste
=========

OpenStack Swift threaded operation utility for Uploading, Downloading and Deleting
<commit_msg>Some README fluff<commit_after># posthaste

OpenStack Swift threaded operation utility for Uploading, Downloading and Deleting

## Usage

usage: posthaste.py [-h] -c CONTAINER -r {DFW,ORD,LON} [-t THREADS]
                    [-u USERNAME] [-p PASSWORD] [-i {rackspace,keystone}] [-v]
                    {delete,upload,download} ...

positional arguments:
  {delete,upload,download}
    delete              Delete files from specified container
    upload              Upload files to specified container
    download            Download files to specified directory from the
                        specified container

optional arguments:
  -h, --help            show this help message and exit
  -c CONTAINER, --container CONTAINER
                        The name container to operate on
  -r {DFW,ORD,LON}, --region {DFW,ORD,LON}
                        Region where the specified container exists. Default
                        DFW
  -t THREADS, --threads THREADS
                        Number of concurrent threads used for deletion.
                        Default 10
  -u USERNAME, --username USERNAME
                        Username to authenticate with. Default OS_USERNAME
                        environment variable
  -p PASSWORD, --password PASSWORD
                        API Key or password to authenticate with. Default
                        OS_PASSWORD environment variable
  -i {rackspace,keystone}, --identity {rackspace,keystone}
                        Identitiy type to auth with. Default rackspace
  -v, --verbose         Enable verbosity. Supply multiple times for additional
                        verbosity. 1) Show Thread Start/Finish, 2) Show Object
                        Name.

## Examples

```shell
python posthaste.py -c example -d /path/to/some/dir/ -r DFW -u $OS_USERNAME -p $OS_PASSWORD -t 100
```

```shell
python posthaste.py -c example -r DFW -u $OS_USERNAME -p $OS_PASSWORD -t 100
```

{'fraction_non_alphanumeric': 0.07547169811320754, 'fraction_numerical': 0.004837929366231253, 'mean_word_length': 1.8923076923076922, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 6, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1930714', 'n_tokens_mistral': 572, 'n_tokens_neox': 519, 'n_words': 198}