You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

72 lines
2.4 KiB

Metadata-Version: 2.1
Name: is-disposable-email
Version: 1.0.0
Summary: Check if the email address is from a disposable email service provider
Home-page: https://github.com/akhilharihar/is_disposable_email
Author: Akhil Harihar
Author-email: hariharakhil@gmail.com
License: UNKNOWN
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Intended Audience :: Developers
Classifier: Development Status :: 5 - Production/Stable
Description-Content-Type: text/markdown
# is-disposable-email
![PyPI](https://img.shields.io/pypi/v/is-disposable-email.svg)
[![Build Status](https://travis-ci.com/akhilharihar/is_disposable_email.svg?branch=master)](https://travis-ci.com/akhilharihar/is_disposable_email)
![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)
Python package to check if the email address belongs to one of [disposable email](http://en.wikipedia.org/wiki/Disposable_email_address) 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](https://github.com/ivolo/disposable-email-domains). To add new disposable domains, visit the contributing guide for [ivolo/disposable-email-domains](https://github.com/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.