Check if the email address is from a disposable email service provider
Project description
is-disposable-email
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file is_disposable_email-0.9.1.tar.gz
.
File metadata
- Download URL: is_disposable_email-0.9.1.tar.gz
- Upload date:
- Size: 103.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.4.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7836478129eb46537d89f530bf403e51a9323ab4a93b776f39f24dec1c73bf1f |
|
MD5 | 31ba1749500d51ba1b4a48e89b50f91f |
|
BLAKE2b-256 | 0266598cdb4ea5843ad457bc3dec4f91454ef080e3d65031f6770b1876b482b0 |
File details
Details for the file is_disposable_email-0.9.1-py3-none-any.whl
.
File metadata
- Download URL: is_disposable_email-0.9.1-py3-none-any.whl
- Upload date:
- Size: 104.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.4.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e4b5798dc95712fac2f4b41fd0e82f490f697f96f1ea54d918a7182c4f55fba1 |
|
MD5 | 6c7e1f1c7f9959ab85db430045b14307 |
|
BLAKE2b-256 | f4c75ab951b04523adb845eaa90689daf5f9c4d9a37128a06d444ec30febcdfb |