Mailinator Python SDK
The official Mailinator Python SDK. This REST API client is implemented as a thin wrapper around the Mailinator API. The OpenAPI specification is the source of truth.
API Reference
See Mailinator's API Reference for all of the currently available API endpoints.
Documentation
- OpenAPI spec: https://github.com/manybrain/mailinatordocs/blob/main/openapi/mailinator-api.yaml
- SDK examples:
EXAMPLE.md
Installation
pip install mailinator-python-client-2
Quick Start
from mailinator import Mailinator
client = Mailinator("YOUR_API_TOKEN")
For request examples (inbox, messages, domains, rules, webhooks, and stats), see EXAMPLE.md.
Tests
Run tests with:
python -m pytest -s
Most tests require valid environment values.
Use either:
.env(recommended): copy.env.exampleto.envand fill in values.tests/localsettings.py: copytests/localsettings.py.templatetotests/localsettings.py(it also loads.envif present).
Metadata
Release files for mailinator-python-client-2 1.0.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| mailinator_python_client_2-1.0.8.tar.gz | 13.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mailinator_python_client_2-1.0.8-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 28.6 kB
Release files / mailinator_python_client_2-1.0.8.tar.gz
| Download URL | mailinator_python_client_2-1.0.8.tar.gz |
|---|---|
| Size | 13.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
07ba2b76640725e30210ff4b2f693f5bea345977012318a5524d7a1934c39075
|
|
BLAKE2b-256 checksum How to use checksums |
451d0a7776f42ac1e20b5f5e5b4ef4f6797954ca0c9f2d3be116b4fff1381ac0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.6
|
Release files / mailinator_python_client_2-1.0.8-py3-none-any.whl
| Download URL | mailinator_python_client_2-1.0.8-py3-none-any.whl |
|---|---|
| Size | 15.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
777f09594544851149fe687d31c7f82aa3450106a6aec90385fdb8b7d7209d4e
|
|
BLAKE2b-256 checksum How to use checksums |
f2d8b9a4188a9f29bc5a98cf1b46a9a850b58d169c5d1ef0bf392a46511ee7af
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.6
|