Socket
Socket
Sign inDemoInstall

temp-mail

Package Overview
Dependencies
0
Maintainers
1
Alerts
File Explorer

Install Socket

Detect and block malicious and high-risk dependencies

Install

    temp-mail

Wrapper for online service which provides temporary email address: https://temp-mail.ru/


Maintainers
1

Readme

temp-mail

Python API Wrapper for temp-mail.ru <https://temp-mail.ru/>_ service. Temp-mail is a service which lets you use anonymous emails for free. You can view full API specification in api.temp-mail.ru <http://api.temp-mail.ru/>_.

Requirements

requests <https://crate.io/packages/requests/>_ - required.

simplejson <https://crate.io/packages/simplejson/>_ - optional, for a serious speed boost in JSON decode.

Installation

Installing with pip::

$ pip install temp-mail

Usage

Get all emails from given email login and domain::

from tempmail import TempMail

tm = TempMail(login='denis', domain='@gnail.pw')
print tm.get_mailbox()  # list of emails in denis@gnail.pw

Generate email address and get emails from it::

from tempmail import TempMail

tm = TempMail()
email = tm.get_email_address()  # v5gwnrnk7f@gnail.pw
print tm.get_mailbox(email)  # list of emails

Changes

0.2 (2013-08-20)

  • Improved readme
  • Created github page
  • Improved docstrings for class methods
  • Some minor fixes

0.1 (2013-08-18)

  • Initial release

Keywords

FAQs


Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc