Port of Ruby version bounce_email to Python
------------------------------------------
https://github.com/getoutreach/bounce_email
Setup workinv env
-----------------
mkvirtualenv bounce_email
pip install -r requirements.txt
Run the tests
-------------
nosetests --verbose
Usage
-----
from bounce_email import bounce_email
msg = """ Fill with raw email text
"""
# Do something with bounce info
bounce = bounce_email.BounceEmail(msg)
bounce.is_bounced # True/False
bounce.code # e.g. "5.0.0"
bounce.reason # e.g. "Description of the bounce code"
bounce.bounce_type # "Permanent Failure", "Persistent Transient Failure", "Success" -- BounceEmail::TYPE_HARD_FAIL, TYPE_SOFT_FAIL, TYPE_SUCCESS
------------------------------------------
https://github.com/getoutreach/bounce_email
Setup workinv env
-----------------
mkvirtualenv bounce_email
pip install -r requirements.txt
Run the tests
-------------
nosetests --verbose
Usage
-----
from bounce_email import bounce_email
msg = """ Fill with raw email text
"""
# Do something with bounce info
bounce = bounce_email.BounceEmail(msg)
bounce.is_bounced # True/False
bounce.code # e.g. "5.0.0"
bounce.reason # e.g. "Description of the bounce code"
bounce.bounce_type # "Permanent Failure", "Persistent Transient Failure", "Success" -- BounceEmail::TYPE_HARD_FAIL, TYPE_SOFT_FAIL, TYPE_SUCCESS
Release files for bounce_email 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| bounce_email-0.0.3.tar.gz | 7.4 kB | Details |
Release files / bounce_email-0.0.3.tar.gz
| Download URL | bounce_email-0.0.3.tar.gz |
|---|---|
| Size | 7.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
129493f1f15c5577fe330ea68c8bbfefbbcf52db809fec1b9de95c75a8e9295a
|
|
BLAKE2b-256 checksum How to use checksums |
50b11317ac7c8401055fb5e160d54b455d31438711a72ffa6640b81dd4e0505a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |