Fast, offline burner / disposable email detection with three-list (blacklist/whitelist/graylist) classification.
Project description
is-burner-email (Python)
Fast, offline detection of burner / disposable emails.
- Offline. Domain lists bundled inside the wheel. No network calls at runtime.
- Zero runtime dependencies.
- Three lists.
blacklist(burners),whitelist(always allowed),graylist(email alias / forwarding services — blocked only in strict mode). - Typed (ships
py.typed). Python 3.9+.
Install
pip install is-burner-email
Usage
from is_burner_email import is_burner, check
is_burner("user@mailinator.com") # True
is_burner("user@gmail.com") # False
is_burner("user@duck.com") # False (normal mode)
is_burner("user@duck.com", mode="strict") # True
check("user@duck.com", mode="strict")
# {
# 'burner': True,
# 'domain': 'duck.com',
# 'list': 'graylist',
# 'reason': 'graylisted-strict'
# }
Runtime overrides
from is_burner_email import add_to_blacklist, add_to_whitelist
add_to_blacklist("badactor.example")
add_to_whitelist("our-corporate-domain.example")
Whitelist always wins over blacklist.
CLI
burner user@mailinator.com
# BURNER (blacklist): mailinator.com [blacklisted]
burner user@duck.com --strict --json
# {"burner": true, "domain": "duck.com", "list": "graylist", "reason": "graylisted-strict", "mode": "strict"}
burner --stats
Exit codes: 0 clean, 1 burner, 2 invalid input.
License
MIT
Project details
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file is_burner_email-1.2.0.tar.gz.
File metadata
- Download URL: is_burner_email-1.2.0.tar.gz
- Upload date:
- Size: 915.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fcad17526a77165f1e826bdd04404b91b37b92063cc788b3edcf2d7d242365e6
|
|
| MD5 |
73a3518f3d742ab1ad32d6a42236ca25
|
|
| BLAKE2b-256 |
fee1002c3f3741226f1bb3e7f7c7e64eaf88bb423975c876c9ba4107fd439399
|
Provenance
The following attestation bundles were made for is_burner_email-1.2.0.tar.gz:
Publisher:
release.yml on kristijandraca/is-burner-email
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
is_burner_email-1.2.0.tar.gz -
Subject digest:
fcad17526a77165f1e826bdd04404b91b37b92063cc788b3edcf2d7d242365e6 - Sigstore transparency entry: 1359156819
- Sigstore integration time:
-
Permalink:
kristijandraca/is-burner-email@4856e2b8a260027c8bc7bf0f72cb9625a51cf5a9 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/kristijandraca
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@4856e2b8a260027c8bc7bf0f72cb9625a51cf5a9 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file is_burner_email-1.2.0-py3-none-any.whl.
File metadata
- Download URL: is_burner_email-1.2.0-py3-none-any.whl
- Upload date:
- Size: 917.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2af50a32a571fa4eb1d873e55e23988790cc06d14c974f97b14e252157ea5383
|
|
| MD5 |
cf828bef7c6ec6cf72e34c1dcb2c378a
|
|
| BLAKE2b-256 |
54a30f830516698dc730d7d55945736652251e3f352cc9cf19d5edf406a57e4d
|
Provenance
The following attestation bundles were made for is_burner_email-1.2.0-py3-none-any.whl:
Publisher:
release.yml on kristijandraca/is-burner-email
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
is_burner_email-1.2.0-py3-none-any.whl -
Subject digest:
2af50a32a571fa4eb1d873e55e23988790cc06d14c974f97b14e252157ea5383 - Sigstore transparency entry: 1359156837
- Sigstore integration time:
-
Permalink:
kristijandraca/is-burner-email@4856e2b8a260027c8bc7bf0f72cb9625a51cf5a9 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/kristijandraca
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@4856e2b8a260027c8bc7bf0f72cb9625a51cf5a9 -
Trigger Event:
workflow_dispatch
-
Statement type: