https://github.com/zeioth/django-email-blacklist
Python class to detect Disposable Emails.
https://github.com/zeioth/django-email-blacklist
Last synced: over 1 year ago
JSON representation
Python class to detect Disposable Emails.
- Host: GitHub
- URL: https://github.com/zeioth/django-email-blacklist
- Owner: Zeioth
- License: mit
- Created: 2015-01-26T00:52:57.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2024-01-21T13:31:52.000Z (over 2 years ago)
- Last Synced: 2025-03-18T13:29:04.931Z (over 1 year ago)
- Language: Python
- Homepage:
- Size: 16.6 KB
- Stars: 20
- Watchers: 2
- Forks: 5
- Open Issues: 1
-
Metadata Files:
- Readme: README.rst
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
Django-email-blacklist
======================
Python class to detect fake email providers. It checks each email against a blacklist of ~890 domains used by various disposable email services. Tested in production with Django. This package requires Python 3, for Python 2.7 support `see here. `__
Installation
------------
Install it using ``pip`` and add it to your Django INSTALLED_APPS::
$ pip install django-email-blacklist
Create a folder in your templates directory and download the example email blacklist::
$ wget https://raw.github.com/zeioth/django-email-blacklist/master/disposable_email_domains.txt
Add this to to your ``settings.py``::
DISPOSABLE_EMAIL_DOMAINS = "/path_to_your/disposable_email_domains.txt"
Usage
--------
To use the checker in your own scripts::
>>> from django_email_blacklist import DisposableEmailChecker
>>> email_checker = DisposableEmailChecker()
>>> email_checker.is_disposable("foo@guerrillamail.com")
True
Updates
-----------
- Jan 2015: Stable release
- Dec 2016: All it's working fine. No changes.
- Dec 2017: All it's working fine. No changes.
- Dec 2018: All it's working fine. No changes.
- May 2019: All it's working fine. No changes.
- Jul 2020: All it's working fine. No changes.
- Jan 2023: All it's working fine. No changes.
- Jan 2024: All it's working fine. No changes.
Credits
--------
This is a fork from DisposableEmailChecker by aaronbassett, maintained by Zeioth.