Skip to main content

Check if the email address is from a disposable email service provider

Project description

is-disposable-email

License: MIT

Python package to check if the email address belongs to one of disposable email service provider like mailinator.com.

You can use it to detect or block accounts created with these addresses during signup process.

Installation

Install and update using pip:

pip install git+https://github.com/akhilharihar/is_disposable_email.git

Examples

import is_disposable_email

# check if the domain of the email address is disposable

result = is_disposable_email.check('dfaf@getnada.com')

# to get the list of disposable email domains

is_disposable_email.domain_list

Contributing

Disposable domains in this package are grabbed from ivolo/disposable-email-domains. To add new disposable domains, visit the contributing guide for ivolo/disposable-email-domains

License

WWWWWW||WWWWWW
 W W W||W W W
      ||
    ( OO )__________
     /  |           \
    /o o|    MIT     \
    \___/||_||__||_|| *
         || ||  || ||
        _||_|| _||_||
       (__|__|(__|__|

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

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

is_disposable_email-0.9.0.tar.gz (104.8 kB view hashes)

Uploaded Source

Built Distribution

is_disposable_email-0.9.0-py3-none-any.whl (104.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page