email-address-parser

Software Screenshot:
email-address-parser
Software Details:
Version: 0.0.1
Upload Date: 14 Apr 15
Developer: Alex Milstead
Distribution Type: Freeware
Downloads: 16

Rating: nan/5 (Total Votes: 0)

email-address-parser is a tool to parse email addresses from an outlook-like "To:" field.

The nice thing about this parser is you could give it a ridiculously jacked up list of emails: no commas, no names, names and emails stuck together (no spaces), and it'll still parse that string and give you a pretty list back.

To use:

from eparser.parsers import email_address_parser

...

emails = email_address_parser.parse(some_email_list)


Alternatively, you can instantiate your own with a list of additional bad tokens you want stripped from names:

from eparser.parsers import EmailAddressParser

parser = EmailAddressParser(bad_tokens=[";"])

emails = parser.parse(some_email_list)


String and Unicode representations are in the format: "Foo Bar" If there is no name, it's just the email.

Requirements:

  • Python

Similar Software

Ricochet
Ricochet

3 Jun 15

Grendel
Grendel

3 Jun 15

Dada Mail
Dada Mail

26 Apr 16

Comments to email-address-parser

Comments not found
Add Comment
Turn on images!