Skip to main content
Python Software Foundation 20th Year Anniversary Fundraiser  Donate today!

Classify email content by key-word mapping

Project description

Bounce Classification based on email text

Sample usage:

with open('sample.txt','r') as f:
	email_text = f.read()
bc = Bounce_classifier(email_text)
# if the email text contains a diagonostic code, use diagonostic_code()
dia_code, classification = bc.diagonostic_code()
# if the email text does not contains a diagonostic code, use no_diagonostic_code()
classification = bc.no_diagonostic_code()

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 BounceClassifier, version 0.3.3
Filename, size File type Python version Upload date Hashes
Filename, size BounceClassifier-0.3.3-py3-none-any.whl (7.7 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size BounceClassifier-0.3.3.tar.gz (3.7 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page