<commit_before>PyPwned
======
A Python client for the HaveIBeenPwned REST API. https://haveibeenpwned.com/

Installation
-----
'''pip install python-instagram'''

Requires
-----
  * requests
  * pyOpenSSL
  * ndg-httpsclient
  * pyasn1

Usage
-----

### Breaches


#### Getting all breaches for an account

##### Get all breaches for an account across all domains. 

```
import pypwned
print pypwned.getAllBreachesForAccount(email="<EMAIL>")
```

##### Get all breaches for an account across a specific domain. 

```
import pypwned
print pypwned.getAllBreachesForAccount(email="<EMAIL>",domain="adobe.com")
```


#### Getting all breached sites in the system

##### Return the details of each breach in the system.

```
import pypwned
print pypwned.getAllBreaches()
```

##### Return the details of each breach associated with a specific domain.

```
import pypwned
print pypwned.getAllBreaches(domain="adobe.com")
```

#### Getting a single breached site

Return the details of a single breach, by breach name.

```
import pypwned
print pypwned.getSingleBreachedSite(name="adobe")
```

#### Getting all data classes in the system

Return the different types of data classes that are associated with a record in a breach. E.G, Email addresses and passwords

```
import pypwned
print pypwned.getAllDataClasses()
```

### Pastes


#### Getting all pastes for an account

Return any pastes that contain the given email address

```
import pypwned
print pypwned.getAllPastesForAccount(account="<EMAIL>")
```

<commit_msg>Moar Markdown fixes<commit_after>PyPwned
======
A Python client for the HaveIBeenPwned REST API. https://haveibeenpwned.com/

Installation
-----
```pip install python-instagram```

Requires
-----
  * requests
  * pyOpenSSL
  * ndg-httpsclient
  * pyasn1

Usage
-----

### Breaches


#### Getting all breaches for an account

##### Get all breaches for an account across all domains. 

```
import pypwned
print pypwned.getAllBreachesForAccount(email="<EMAIL>")
```

##### Get all breaches for an account across a specific domain. 

```
import pypwned
print pypwned.getAllBreachesForAccount(email="<EMAIL>",domain="adobe.com")
```


#### Getting all breached sites in the system

##### Return the details of each breach in the system.

```
import pypwned
print pypwned.getAllBreaches()
```

##### Return the details of each breach associated with a specific domain.

```
import pypwned
print pypwned.getAllBreaches(domain="adobe.com")
```

#### Getting a single breached site

Return the details of a single breach, by breach name.

```
import pypwned
print pypwned.getSingleBreachedSite(name="adobe")
```

#### Getting all data classes in the system

Return the different types of data classes that are associated with a record in a breach. E.G, Email addresses and passwords

```
import pypwned
print pypwned.getAllDataClasses()
```

### Pastes


#### Getting all pastes for an account

Return any pastes that contain the given email address

```
import pypwned
print pypwned.getAllPastesForAccount(account="<EMAIL>")
```


{'fraction_non_alphanumeric': 0.12302631578947368, 'fraction_numerical': 0.0006578947368421052, 'mean_word_length': 4.621072088724584, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 2, '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': '696684', 'n_tokens_mistral': 1020, 'n_tokens_neox': 933, 'n_words': 322}