Skip to main content

A simple python package which checks for the domain in a list of free and disposable email domains. Includes gmail.com and mailinator.com style

Project description

freemailchecker

Small python package which checks for free or disposable email addresses from a pre-compiled list

Includes gmail.com style free email addresses and mailinator style disposable addresses.

Installing

pip install freemailchecker

Usage

>>> from freemailchecker import check_free_email, check_free_domain

>>> check_free_email('test@gmail.com')
True
>>> check_free_email('test@google.com')
False
>>> check_free_domain('hotmail.com')
True
>>> check_free_domain('microsoft.com')
False 

Contributions

Contributions to the project or list of domains are very welcome. Please issue a PR.

The list of domains are in src/freemailchecker/data/freemaildomains.csv

Licence

This code is released under an MIT licence.

Author

Author is Philip Reynolds. First name dot last name at gmail.com.

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

freemailchecker-0.1.1.tar.gz (27.2 kB view details)

Uploaded Source

Built Distribution

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

freemailchecker-0.1.1-py3-none-any.whl (26.3 kB view details)

Uploaded Python 3

File details

Details for the file freemailchecker-0.1.1.tar.gz.

File metadata

  • Download URL: freemailchecker-0.1.1.tar.gz
  • Upload date:
  • Size: 27.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.6

File hashes

Hashes for freemailchecker-0.1.1.tar.gz
Algorithm Hash digest
SHA256 299e69138d06dc0f3dd58429bdf6d6c51a0baa7e91a27db7451525736061efed
MD5 842de99fefc8d028d0e05968f3228023
BLAKE2b-256 db7453e3c75652b672ae8f1437263612d307146dde44c12bf0d248a7c87bb196

See more details on using hashes here.

File details

Details for the file freemailchecker-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for freemailchecker-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c0044f7f36b9214fd3f87a17334fb30c4a86e0dbf8fd45232886a02ca5f395fc
MD5 1f8b6ed54f73b83398b5499c38243f37
BLAKE2b-256 4d285f333884ab63cf7fd09da38f070ec5becaebb7ee353dc17db5cb31c8c68d

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