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.3.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.3-py3-none-any.whl (2.6 MB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for email_decomposer-0.0.3.tar.gz
Algorithm Hash digest
SHA256 358169178153ab695969c1fd40bc24184d7f489861f9fe5fa656b51c8a7edcbf
MD5 02465de0c6968cf88500bb42da20322c
BLAKE2b-256 5780cae5fef654e283d6798a2977dfa68dedbbd9cb7687cc1de05aa251274375

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for email_decomposer-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 f71f8dae9980ceffaaf1bbe85bc32d143221587d149a6adba46e556b90edf642
MD5 6e91b8bdfe00541db5f3a7bd087551ef
BLAKE2b-256 c925a903983db41080c7fb9c567896d191ab0f48e60ffacfc458006cc4df37f3

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