Skip to main content

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.

Source Distribution

BounceClassifier-0.3.3.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

BounceClassifier-0.3.3-py3-none-any.whl (7.7 kB view details)

Uploaded Python 3

File details

Details for the file BounceClassifier-0.3.3.tar.gz.

File metadata

  • Download URL: BounceClassifier-0.3.3.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.18.4 setuptools/41.0.1 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.3

File hashes

Hashes for BounceClassifier-0.3.3.tar.gz
Algorithm Hash digest
SHA256 96a2eb0c4d4998ebbb0bc9a4ffb876c928872602d35df753d24e88e32744df59
MD5 234ffe971c58ac918dc7ad91493c1363
BLAKE2b-256 14bf076fd739a3b810cb8ffb7b930eb4b0f3bbfb2a324ba5130d452ef99ce1a2

See more details on using hashes here.

File details

Details for the file BounceClassifier-0.3.3-py3-none-any.whl.

File metadata

  • Download URL: BounceClassifier-0.3.3-py3-none-any.whl
  • Upload date:
  • Size: 7.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.18.4 setuptools/41.0.1 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.3

File hashes

Hashes for BounceClassifier-0.3.3-py3-none-any.whl
Algorithm Hash digest
SHA256 26f9e75c276b9d057b4546bf18d0b843e84f8a6464d95ca6a64a1b377ecddd7b
MD5 b15b6d07e6000d6f5a0155698472ff0e
BLAKE2b-256 1c9672e8aa7c7392b7e066e06f8efd742c09ee50a61a160fb21b2de32336f02a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page