Blackhole is an MTA (message transfer agent) that (figuratively) pipes all mail to /dev/null, built on top of asyncio and utilises async def and await statements available in Python 3.5.
While Blackhole is an MTA, none of the actions performed via SMTP or SMTPS are actually processed, and no email is delivered. You can tell Blackhole how to handle mail that it receives. It can accept all of it, bounce it all, or randomly do either of those two actions.
Think of Blackhole sort of like a honeypot in terms of how it handles mail, but it’s specifically designed with testing in mind.
Python support
Python 3.7+
PyPy 3.7+
Pyston 2.2+
Documentation
You can find the latest documentation here.
If you would like to contribute, please read the contributors guide.
The latest build status on GitHub https://github.com/kura/blackhole/actions/workflows/ci.yml.
And the test coverage report on codecov.
Changelog
You can find a list of changes on the blackhole website.
Release files for blackhole 2.1.19
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| blackhole-2.1.19.tar.gz | 42.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| blackhole-2.1.19-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 100.4 kB
Release files / blackhole-2.1.19.tar.gz
| Download URL | blackhole-2.1.19.tar.gz |
|---|---|
| Size | 42.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
98658f2f730b4e90620075f3505b56aca48b5486d119d36b307fdca98a516113
|
|
BLAKE2b-256 checksum How to use checksums |
dd077352f6ce50fb6e7f8718d528f7ababe12941bf73b1868d4eb5cc364e366d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.11 CPython/3.10.0 Linux/4.4.0-19041-Microsoft
|
Release files / blackhole-2.1.19-py3-none-any.whl
| Download URL | blackhole-2.1.19-py3-none-any.whl |
|---|---|
| Size | 58.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4564fb065cefd5677391d53d0e4bad90c03f4f355302c433967c517df6ac9833
|
|
BLAKE2b-256 checksum How to use checksums |
d44642beced2f36f16f73bca7f4d6695fada5b74e1d5bdcbe4fe091817d99112
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.11 CPython/3.10.0 Linux/4.4.0-19041-Microsoft
|