Skip to main content

A package containing a list of free email domains.

Project description

List of free email domains

This repo is a python package that provides a comprehensive list of free email domains from around the world. This package is designed to simplify the process of checking if an email address belongs to a free email provider.

Installation

You can install free-email-domains via pip:

pip install free-email-domains

Usage

After installing the package, you can use it in your Python projects as follows:

>>> from free_email_domains import whitelist
>>> 'gmail.com' in whitelist
True

Example

from free_email_domains import whitelist as free_domains

# Check if an email domain is free
email = "example@sample.com"
if email.split('@')[1] in free_domains:
    print("This is a free email domain.")
else:
    print("This is not a free email domain.")

Contributing

Contributions are welcome! If you want to add or update any free email domains, feel free to submit a pull request.

License

This package is licensed under the MIT License. See the LICENSE file for details.

Acknowledgements

This package utilizes data from HubSpot, which contains a compiled free email domain list.

Issues

If you encounter any issues or have suggestions for improvement, please report them on the GitHub issue tracker.

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

free_email_domains-1.0.2.tar.gz (27.7 kB view details)

Uploaded Source

Built Distribution

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

free_email_domains-1.0.2-py3-none-any.whl (27.0 kB view details)

Uploaded Python 3

File details

Details for the file free_email_domains-1.0.2.tar.gz.

File metadata

  • Download URL: free_email_domains-1.0.2.tar.gz
  • Upload date:
  • Size: 27.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for free_email_domains-1.0.2.tar.gz
Algorithm Hash digest
SHA256 25d3fddbd61ba83bff02466817403f68a805d701507cea85f37dab3a72449348
MD5 84ca545c85aed761a24a9815027f2bb8
BLAKE2b-256 432675b64b963e99eff350356c978738e4903000cfbae10fd680c5699cbe5cd5

See more details on using hashes here.

File details

Details for the file free_email_domains-1.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for free_email_domains-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c7938a58db6fde82966eaf0b6fa72cff52f0877e1451e5dde2cc9d747eb422f8
MD5 682900fdc4824e980b1bbf33c2b177c4
BLAKE2b-256 b3c586c2f1679afc091b3f5502593d5078a57bf9d32cfe9a3ceae6e920ab9e51

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