Metadata-Version: 2.1
Name: emailrep
Version: 0.0.2
Summary: Python interface for the EmailRep API
Home-page: https://emailrep.io
Author: Sublime Security
Author-email: hi@sublimesecurity.com
License: MIT
Download-URL: https://github.com/sublime-security/python-emailrep.io
Keywords: security,phishing,analysts,soc,threat intelligence
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Natural Language :: English
Classifier: Intended Audience :: Developers
Description-Content-Type: text/markdown
Requires-Dist: python-dateutil
Requires-Dist: requests

# Python EmailRep

This is a python 3 library and cli module for interacting with the [EmailRep](https://emailrep.io) service.

## Installation
`pip install emailrep`

## Quick Start (cli)
```sh
# setup your api key (optional)
emailrep setup -k <your api key>

# query an email address
emailrep bill@microsoft.com

# report an email address (key required)
emailrep --report foo@bar.com --tags "bec, maldoc" --description "Phishing email targeting CEO"

```

## Quick Start (python library)
```py
from emailrep import EmailRep

# setup your api key (optional)
emailrep = EmailRep('<your api key>')

# query an email address
emailrep.query("bill@microsoft.com")

# report an email address (key required)
emailrep.report("foo@bar.com", ["bec", "maldoc"], "Phishing email targeting CEO")

```

Full API docs can be found [here](https://emailrep.io/docs).


