disposable-email-domains
A set of disposable email domains
What it is and what it does
This package mirrors the disposable-email-domains project as a Python module, exposing a set of known disposable email domain names. It's designed for developers who need to filter or validate email addresses by rejecting those from temporary or throwaway email services. The blocklist is provided as a simple Python set, with all domains normalized to lowercase and stripped of whitespace, making membership testing straightforward.
The package has no runtime dependencies and installs cleanly as a pure Python wheel. It's actively maintained and draws from a community-sourced upstream project, so the domain list reflects ongoing curation. Use it in signup forms, account validation, or email verification workflows where you want to prevent registration with disposable email addresses.
Use it for:
- Reject disposable email addresses during user registration or account creation flows
- Filter incoming email lists to identify and exclude temporary email domains
- Validate email domains in data cleaning or ETL pipelines before processing
- Implement email domain whitelisting by checking against the blocklist
- Build email security or spam-prevention tooling that flags suspicious domains
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides a Python set of known disposable email domains for validation and filtering purposes.
Yes. The package solves a specific, common problem with zero dependencies, permissive licensing, and active maintenance. It has proven reliable for production use. Install it if you need to filter disposable email domains; skip it only if your application has no email validation requirements.
Install
disposable-email-domains on PyPI
pip
pip install disposable-email-domainsuv
uv add disposable-email-domainspoetry
poetry add disposable-email-domainsInstalling disposable-email-domains
Before you install
Low friction installation with no runtime dependencies. Actively maintained with a recent release and strong repository engagement (5425 stars).
License in practice
MIT license permits unrestricted use, modification, and distribution in both open-source and commercial projects.
Quickstart
pip install disposable-email-domains
from disposable_email_domains import blocklist
if 'example.com' in blocklist:
print('Disposable domain detected')
Verify before relying
- How frequently the blocklist is updated relative to new disposable email services appearing
- Coverage completeness: what percentage of known disposable domains are included
- Performance characteristics when checking membership in very large datasets
Package facts
| License | MIT (permissive) |
| Python support | not specified |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | none |
| Maintenance | actively maintained — 12 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 4,816,225/month — #2,221 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: disposable_email_domains-0.0.237-py3-none-any.whl
Keywords: disposable, email, domains, blocklist
Tags
More Utilities packages
Converts domain names between Unicode and…
permissive · top 100 on PyPI
charset-normalizerDetects and normalizes text encoding from…
permissive · top 100 on PyPI
setuptoolsSetuptools is a Python build backend and…
permissive · top 100 on PyPI
pluggyPluggy provides a plugin system that lets you…
permissive · top 100 on PyPI
PygmentsPygments is a syntax highlighter that colorizes…
permissive · top 100 on PyPI
sixSix provides utility functions to write Python…
permissive · top 100 on PyPI
free-email-domainsProvides a curated list of free email domains…
permissive · top 5,000 on PyPI
mailcheckerValidates email addresses against format rules…
permissive · top 15,000 on PyPI
pyIsEmailValidates email addresses against RFC standards…
permissive · top 15,000 on PyPI
email-normalizeNormalizes email addresses by detecting the…
permissive · top 15,000 on PyPI
email-validatorValidates email address syntax and optionally…
permissive · top 1,000 on PyPI
dnstwistGenerates domain name permutations to detect…
permissive · top 15,000 on PyPI
tldsProvides a set of valid top-level domains…
permissive · top 15,000 on PyPI
validate_emailValidates email addresses for proper format and…
copyleft · top 15,000 on PyPI
lxml-html-cleanCleans and sanitizes HTML by removing unwanted…
permissive · top 5,000 on PyPI
temp-mailsProvides a unified Python API to generate…
permissive · top 15,000 on PyPI