Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

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

Project description

is-disposable-email

PyPI Build Status 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 is-disposable-email

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.

Files for is-disposable-email, version 1.0.0
Filename, size File type Python version Upload date Hashes
Filename, size is_disposable_email-1.0.0-py3-none-any.whl (104.4 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size is_disposable_email-1.0.0.tar.gz (103.6 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page