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
pip3 install emailrep --upgrade
or python3 -m pip install --upgrade 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.
Source Distribution
emailrep-0.0.5.tar.gz
(4.2 kB
view details)
Built Distribution
File details
Details for the file emailrep-0.0.5.tar.gz
.
File metadata
- Download URL: emailrep-0.0.5.tar.gz
- Upload date:
- Size: 4.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8aa29dda074f9c74cc89559fa2a26f4132e01d0783915b03eed81bee72cba26e |
|
MD5 | 4dfa2cd1e9c37e71666ebc60b07f4bc5 |
|
BLAKE2b-256 | 2a76d2bfad2ce8d7bcc2e5d83e6712244dfce38b6165ff3df7d00a095f1e28a9 |
File details
Details for the file emailrep-0.0.5-py3-none-any.whl
.
File metadata
- Download URL: emailrep-0.0.5-py3-none-any.whl
- Upload date:
- Size: 5.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9fff46c52a17c3e9a875bffcf482ebcfc5652f4aee5d6b4e63fb395194c760cc |
|
MD5 | 60b581dcc7ee97b769ae354aa0547086 |
|
BLAKE2b-256 | b292704e9ca706e8618e92289bbde81347675c615ae550dfa1cb9a912cbb99dd |