Skip to main content

Weed out disposable email providers with ease

Project description


Weed out disposable email providers with ease 🚀


You can install this package using PyPI:

pip3 install disposable-emails

There are no dependencies. You don't need Django, Flask or any third-party API.

How to use

Check an email:

>>> from disposable_emails import is_disposable_email
>>> is_disposable_email('')
>>> is_disposable_email('')

Check a domain:

>>> from disposable_emails import is_disposable_domain
>>> is_disposable_domain('')
>>> is_disposable_domain('')

Using Django? There is a form validator which you can use with forms:

from django import forms
from disposable_emails.contrib.django import disposable_validator

class FooForm(forms.Form):
    email = forms.EmailField(

And with models:

from django import models
from disposable_emails.contrib.django import disposable_validator

class FooModel(models.Model):
    email = models.EmailField(validators=[disposable_validator])


This package uses disposable by @andreis as a source of disposable email services.


Code contributions are welcome! Just drop a pull request.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for disposable-emails, version 1.0.1
Filename, size File type Python version Upload date Hashes
Filename, size disposable_emails-1.0.1-py3-none-any.whl (116.2 kB) File type Wheel Python version py3 Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page