<commit_before>A client for the [UK parliament API](http://www.data.parliament.uk/).

# Example

```python
from ukparliament import Parliament
parliament = Parliament()
parliament.commons.recent_divisions(limit=4)
```
    [<Commons division: "European Union (Notification of Withdrawal) Bill: Programme" on 2017-02-01>,
     <Commons division: "European Union (Notification of Withdrawal) Bill: Second Reading" on 2017-02-01>,
     <Commons division: "European Union (Notification Etc.) Bill: Second Reading - <NAME>'s Amendment" on 2017-02-01>,
     <Commons division: "Opposition Motion: Prisons" on 2017-01-25>]<commit_msg>Readme update<commit_after>A client for the [UK parliament API](http://www.data.parliament.uk/).
Python 3 only, contributions welcome.

# Installing

    pip install ukparliament

# Example

```python
from ukparliament import Parliament
parliament = Parliament()
divisions = parliament.commons.recent_divisions(limit=4)
print(divisions)
```
    [<Commons division: "European Union (Notification of Withdrawal) Bill: Programme" on 2017-02-01>,
     <Commons division: "European Union (Notification of Withdrawal) Bill: Second Reading" on 2017-02-01>,
     <Commons division: "European Union (Notification Etc.) Bill: Second Reading - <NAME> Amendment" on 2017-02-01>,
     <Commons division: "Opposition Motion: Prisons" on 2017-01-25>]
{'fraction_non_alphanumeric': 0.11829537105069801, 'fraction_numerical': 0.04922850844966936, 'mean_word_length': 5.0265486725663715, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 13, 'https://': 0, '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': '547580', 'n_tokens_mistral': 464, 'n_tokens_neox': 389, 'n_words': 129}