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

Uploaded Python 3

File details

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

File metadata

  • Download URL: email_decomposer-0.0.5.tar.gz
  • Upload date:
  • Size: 2.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.3.2 CPython/3.11.15 Linux/6.17.0-1007-aws

File hashes

Hashes for email_decomposer-0.0.5.tar.gz
Algorithm Hash digest
SHA256 db58b7747b28c57cfbf5563e31ad07d67a1e0034860b30c83ab474e92759d1eb
MD5 b24b2e0b603604cfa0f36b3522d34814
BLAKE2b-256 6c803940d558b631ee5049cda42a4a09d64f0d12efa7fe444eee05db7ebfdd74

See more details on using hashes here.

File details

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

File metadata

  • Download URL: email_decomposer-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 2.6 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.3.2 CPython/3.11.15 Linux/6.17.0-1007-aws

File hashes

Hashes for email_decomposer-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 2cd56bebd64d3d842949cb1ca00b14e9a688199c46d8b7b38414314b18aa2e23
MD5 ce7168b82440f7b8657f577a2b78b27f
BLAKE2b-256 0a104838890456659c2b5f7daeffbcefe8df8aa80cba38b8aae5be9758aca753

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