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 details)

Uploaded Source

Built Distribution

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

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

Uploaded Python 3

File details

Details for the file email_decomposer-0.0.4.tar.gz.

File metadata

  • Download URL: email_decomposer-0.0.4.tar.gz
  • Upload date:
  • Size: 2.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.17

File hashes

Hashes for email_decomposer-0.0.4.tar.gz
Algorithm Hash digest
SHA256 30aca22be195aae0985879e9d9cdf51ce7e04978553921b4d4cb771419c2cec6
MD5 d8b0677a1921d694f3f8666d9c7b3d4f
BLAKE2b-256 bf11512fe164e6412cf6d46dc1efe010a4037c80dba04da9122568ec3ba4a573

See more details on using hashes here.

File details

Details for the file email_decomposer-0.0.4-py3-none-any.whl.

File metadata

File hashes

Hashes for email_decomposer-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 e4ff66c3fca7a33ff6fca3c1e0a7e9d03c4e3f860c4e65e01c8c185bebc49a80
MD5 569311a744e3105d000eca8b60722309
BLAKE2b-256 ceb4d7d972c54d7609698460217c7ac279ca567e3a20d5d16ee1bd10cf383a91

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