Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

Python interface for the EmailRep API

Project description

Python EmailRep

This is a python 3 library and cli module for interacting with the EmailRep service.

Installation

pip install emailrep

Quick Start (cli)

# 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)

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for emailrep, version 0.0.3
Filename, size File type Python version Upload date Hashes
Filename, size emailrep-0.0.3-py3-none-any.whl (6.1 kB) File type Wheel Python version py3 Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page