<commit_before>spreadsheet2labels
==================

Convert Google Spreadsheets with multiple columns and categories into a single 2-column .csv for mail merge.

Dependencies
------------
- Python 2.7
- gspread

Example
-------

Turn a spreadsheet like this:

|   | A          | B          |
| - | ---------- | ---------- |
| 1 | California | Maine      |
| 2 | Half Dome  | Katahdin   |
| 3 | Whitney    | Saddleback |
| 4 |            | Cadillac   |		   
| 5 | Washington |            |
| 6 | Rainier    |            |
| 7 | Olympus    |            |

Into this:

```
California, Half Dome
California, Whitney
Washington, Rainier
Washington, Olympus
Maine, Katahdin
Maine, Saddleback
Maine, Cadillac
```

Usage
-----
1. `python setup.py install`
2. `spreadsheet2labels [-h]`<commit_msg>Markdown table mess<commit_after>spreadsheet2labels
==================

Convert Google Spreadsheets with multiple columns and categories into a single 2-column .csv for mail merge.

Dependencies
------------
- Python 2.7
- gspread

Example
-------

Turn a spreadsheet like this:

| 0 | A          | B          |
| - | ---------- | ---------- |
| 1 | California | Maine      |
| 2 | Half Dome  | Katahdin   |
| 3 | Whitney    | Saddleback |
| 4 |            | Cadillac   |		   
| 5 | Washington |            |
| 6 | Rainier    |            |
| 7 | Olympus    |            |

Into this:

```
Categoy, Value
California, Half Dome
California, Whitney
Washington, Rainier
Washington, Olympus
Maine, Katahdin
Maine, Saddleback
Maine, Cadillac
```

Usage
-----
1. `python setup.py install`
2. `spreadsheet2labels [-h]`
{'fraction_non_alphanumeric': 0.16677076826983137, 'fraction_numerical': 0.01811367895065584, 'mean_word_length': 1.955719557195572, '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': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1282301', 'n_tokens_mistral': 541, 'n_tokens_neox': 485, 'n_words': 148}