Metadata-Version: 2.4
Name: mighty-temp-mail
Version: 0.1.0
Summary: Official Python SDK for Mighty Temp Mail — programmatic inboxes, OTP extraction, webhooks.
Author-email: Mighty Temp Mail <support@heartsyncmatch.com>
License: MIT
Project-URL: Homepage, https://tempmail.heartsyncmatch.com
Project-URL: Documentation, https://tempmail.heartsyncmatch.com/api-docs.html
Project-URL: Repository, https://github.com/mightythunder/mighty-temp-mail
Keywords: temp-mail,disposable-email,otp,email-api,ai-agents
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.8
Description-Content-Type: text/markdown

# Mighty Temp Mail — Python SDK

pip install mighty-temp-mail

## Quickstart

    from mighty_temp_mail import MightyMail
    mail = MightyMail("mk_live_your_key_here")
    inbox = mail.inboxes.create()
    print("Send email to:", inbox.address)
    message = inbox.wait_for_message(timeout=30)
    print("OTP:", message.otp)

## Error handling

    from mighty_temp_mail import (
        MightyMail, AuthError, ScopeError, RateLimitError,
        InsufficientBalanceError, NotFoundError,
    )
    try:
        inbox = mail.inboxes.create()
    except InsufficientBalanceError as e:
        print("Need", e.required_cents, "have", e.balance_cents)
    except ScopeError as e:
        print("Missing scope:", e.data.get("required_scope"))

## License

MIT
