Package: pydispo
pydispoA Disposable Mailbox Powered by Pure-Pythonpydispois a pure-pythonic way of managing disposable mailbox that allows users to create several disposable email addresses and receive emails on those. It can be directly used from the command line or imported as a python module for advanced usage.pydispois platform-independent and uses python standard libraries, so if you have python installed you don't need to satisfy any additional dependencies.Optionally,pydispocan fetch attached files and there's also a provision to save emails as HTML.  By default, the emails are shown as text, optionally any standard web browser can be used to view the emails. Currently, it uses 1secmail API to receive emails, and soon it would support additional APIs.  If you want a bash-like implementation with some dependencies, please check thetmpmailscript.InstallationStandaloneDownload thepydispostandalone script and make it executable$curl-L"https://git.io/pydispo">pydispo&&chmod+xpydispoPyPIpydispois also available as a python package fromhttps://pypi.org/project/pydispo/.
Download and install it as a system or environment package with pip. It can be then used in a CLI mode or as a python module$pipinstallpydispoSourceAlternatively, the latestpydispopackage source tarball can be downloaded fromhere(18.9 kB).UsageUsage: pydispo [-h] [-a] [-r] [-g] [-s] [-b BROWSER] [-e EMAIL] [id]Optionsid                    Check email with message ID (default shows mailbox)-h, --help            show this help message and exit-a, --attached        Download all attached files in the email-r, --recent          Check the recent email-g, --generate        Generate a new email address-s, --save            Save email in an HTML file-b, --browser         Browser to check the email in HTML-e, --email           Check mailbox of a particular emailExamplesGenerate a disposable email address$pydispo-gGenerated: ma4x8pgolq@1secmail.orgCheck the mailbox$pydispoMailbox:  ma4x8pgolq@1secmail.org  Mails in Inbox: 1Message ID       Sender                  Subject         Date84784986         yourfriend@mail.com     About pydispo   2020-09-16 17:34:13Check a particular email$pydispo84784986ID:  84784986To:  ma4x8pgolq@1secmail.orgFrom:  yourfriend@mail.comDate:  2020-09-16 17:34:13Subject:  About pydispoAttachments:  ['pydispo_leaflet.pdf   (application/pdf)   0.2 MB ']--------------------Check this outCheers.--------------------Check the recent email$pydispo-rCheck a particular email, get attached files, and save email as HTML$pydispo-a-s84784986Check a particular email in a browser of choice$pydispo84784986-belinksCheck mailbox of another disposable email$pydispo-eg6cqog5utd@1secmail.netUsing as a python module$python>>>frompydispoimport*>>>email_addr=generate_email_address(size=10,storeInFile='email_address',mode='w')Generated:ma4x8pgolq@1secmail.org>>>check_mailbox(email_addr,showInbox=True,showRecent=False)Mailbox:ma4x8pgolq@1secmail.orgMailsinInbox:1MessageIDSenderSubjectDate84784986yourfriend@mail.comAboutpydispo2020-09-1617:34:13Issues:Problems? Please raise an issue athttps://github.com/aakash30jan/pydispo/issues.Why disposable emails?To avoid SPAM. To protect your PRIVACY.  Lots of web pages, blogs, forums and services would ask you to register or provide email addresses to read comments, download content, or register account or profile. And a lot of them will use your private email address to send you spam. Disposable emails are perfect for any transaction where you want to improve your online privacy, like when you trade cryptocurrencies. These are also used by developers and testers for several time-saving reasons.
Read More :How-To Geek,WIREDCreditspydispois a dependency-free, platform-independent replication of Siddharth'stmpmailbash-script and follows a usage pattern similar to it.LicenseThis work is licensed under a GNU General Public License Version 3 .