Skip to main content

tempmail3

Simple, fast Python client & interactive Terminal UI for disposable Temp-Mail (com.tempmail).

Looking for the high-performance Rust implementation? Check out tempmail-rs.


Features

  • No API Key Required: Directly interfaces with the official mobile gateway (mob2.temp-mail.org).
  • Interactive TUI: Built with Textual for viewing inboxes, inspecting emails, and copying OTPs.
  • Auto OTP Parser: Automatically extracts 4–8 digit verification codes from incoming mail.
  • CLI Utilities: Generate addresses, check inboxes, or wait for codes straight from terminal.

Installation

pip install tempmail3

Quickstart

Terminal UI

tempmail

CLI

# Generate a new disposable email address
tempmail new

# Check inbox
tempmail inbox

# Wait for an incoming verification code
tempmail code --timeout 60

Python SDK

from tempmail import TempMailClient

client = TempMailClient()

# 1. Create a mailbox
box = client.new_mailbox()
print("Email:", box["mailbox"])

# 2. Check inbox
messages = client.get_messages()
for msg in messages:
    print(f"From: {msg['from']} | Subject: {msg['subject']}")

# 3. Wait for OTP
code_msg = client.wait_for_code(timeout_secs=60)

  • tempmail-rs — Native asynchronous Rust client and CLI.

License

MIT

Metadata

Release files for tempmail3 0.1.0

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

Source distribution (sdist)

Source distribution for tempmail3 0.1.0
File Size Uploaded Provenance
tempmail3-0.1.0.tar.gz 10.5 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for tempmail3 0.1.0
File Interpreter ABI Platform
tempmail3-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 20.8 kB

Release files / tempmail3-0.1.0.tar.gz

Download URL tempmail3-0.1.0.tar.gz
Size 10.5 kB
Tags Source
SHA-256 checksum
How to use checksums
3679b02b96d6fd804f0e833ff0309229e31c79c7a528216c85f634bc750af9c5
BLAKE2b-256 checksum
How to use checksums
70369f70b67abac071349776d09685d2640cc6ab716f15a82cd958376faafea7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.0

Release files / tempmail3-0.1.0-py3-none-any.whl

Download URL tempmail3-0.1.0-py3-none-any.whl
Size 10.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0f426041cc1ce57e7581dc1f32981e9702e042d2b58d0811ddda81df658ae5a3
BLAKE2b-256 checksum
How to use checksums
9fd6ce37e8088e0a8f6879f184d2b722b9f01d44f177e3617b537dd20f40d39f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.0

Security for tempmail3 0.1.0

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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.0 This release

2 release files No 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