Skip to main content

pytest-nowtempmail

pytest fixtures for disposable inboxes and the OTP codes that land in them.

pip install pytest-nowtempmail
export NTM_API_KEY="ntm_live_..."     # get one at https://nowtempmail.com/developers
def test_signup(page, ntm_inbox):
    page.goto("/signup")
    page.fill("#email", ntm_inbox.address)
    page.click("text=Create account")
    page.fill("#code", ntm_inbox.wait_for_code())  # only this test's mail

Verification codes are extracted server-side, so there is no regex to write and no message body is transferred to find one.

Fixture Scope What it is
ntm_inbox session One mailbox shared by every test, with per-test watermarking so waits stay isolated. Start here.
ntm_fresh_inbox function A mailbox of this test's own. Spends daily quota that is never refunded.
ntm_client session The underlying NowTempMail client.
ntm_options session Resolved configuration, for overriding in a conftest.

This package is a thin shim: it declares the pytest11 entry point and depends on nowtempmail, where the fixtures actually live. Installing it gets you both.

Full documentation — the sharing and quota model, watermarking and its one-second limit, what does and does not reach your CI report, and the client API — is in the nowtempmail README. It is not duplicated here, because two copies of the same guidance drift and the wrong one is always the one you read.

MIT licensed.

Metadata

Release files for pytest-nowtempmail 0.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pytest-nowtempmail 0.1.3
File Size Uploaded Provenance
pytest_nowtempmail-0.1.3.tar.gz 3.2 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for pytest-nowtempmail 0.1.3
File Interpreter ABI Platform
pytest_nowtempmail-0.1.3-py3-none-any.whl Python 3 none any Details

Total release size: 6.9 kB

Release files / pytest_nowtempmail-0.1.3.tar.gz

Download URL pytest_nowtempmail-0.1.3.tar.gz
Size 3.2 kB
Tags Source
SHA-256 checksum
How to use checksums
9f0e10418ad260e5b3b6bf2985cd56ce935ff5afab3005124002648c73576834
BLAKE2b-256 checksum
How to use checksums
b20b668010086cf06a7518dd502c9e3b06805f56a862def2a629595fcb134fcf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 30, 2026.

Transparency log

Release files / pytest_nowtempmail-0.1.3-py3-none-any.whl

Download URL pytest_nowtempmail-0.1.3-py3-none-any.whl
Size 3.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d53544ecb0ff5dbc216cd3213eea6fb3e2a79869bdb29439d18bfa89ebf6cbc6
BLAKE2b-256 checksum
How to use checksums
dd577872cf4ac3d9a42dbfd8c168d43e6cf906c534e66aef8bfbf93c45638bd9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 30, 2026.

Transparency log

Security for pytest-nowtempmail 0.1.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for pytest_nowtempmail-0.1.3.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 30, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.3 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page