Skip to main content

Fuzzy decomposition of email prefix to first/last name

Project description

CircleCI License PyPI version Downloads

Email Decomposer

Decomposition of email address to first name, last name, and host.

How to use

Install

pip install email_decomposer

Import

from email_decomposer.EmailDecomposer import EmailDecomposer

Decompose emails list

EmailDecomposer().decompose(data=['johndue@intuit.com'], get_host=True).head()
first_name last_name host
johndoe@intuit.com John Doe intuit.com

Decompose a single email

EmailDecomposer().decompose(data='johndoe@intuit.com', get_host=True)

{'first_name': 'John', 'last_name': 'Doe', 'host': 'intuit.com'}

Contributing

See CONTRIBUTING.md.

Related content

https://medium.com/@elhanan.mishraky/cracking-the-code-on-email-addresses-7927128c92a0

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

email_decomposer-0.0.4.tar.gz (2.6 MB view hashes)

Uploaded Source

Built Distribution

email_decomposer-0.0.4-py3-none-any.whl (2.6 MB view hashes)

Uploaded Python 3

Supported by

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