Python Slippery
A python library for interacting with the burner email website slippery.email.
Introduction
This library provides a pure Python abstraction for the burner email website Slippery. It works with Python 2.x.
Slippery is a website that allows users to create temporary burner email addresses to receive emails. This is useful for testing email services or for filling out forms that force you to provide an email address.
Since the site has no API, I decided to create this library. The library supports creating new burner email addresses, checking for emails, and fetching their contents. In the spirit of burners, the library also supports SOCKS5 proxies should you want to interact with Slippery via a SSH tunnel, tor, or other proxy.
Installing
The module is on PyPI, install using pip:
$ pip install python-slippery
Development
You will need to install python-slippery’s dependencies:
$ pip install -Ur requirements.txt
and then you can import the module.
Usage
Getting Started
The core of the library is the BurnerEmail object. Here are some examples on how to use it:
from slippery.burner_email import BurnerEmail
email = BurnerEmail.generate() # create a new email address
print email.getmailto() # send emails here!
email.setinbox('aaaaa', 'aaaaaaaaaaaaaaaa') # use this instead of generate if you
# already have an email
msgs = email.fetch_emails() # see what's in the inbox
print email.fetch_email('12345') # get the contents of an email
email.delete_email('12345') # delete an email
When you use the method fetch_emails() it returns an array of dictionaries with the following form:
{'id':int, 'sender':str, 'subject':str, 'date':str}
id is what should be passed to fetch_email() and delete_email().
The library also includes a useful method for setting a SOCKS5 proxy:
from slippery import proxy
proxy.set_proxy('localhost', '9050')
And that’s it! Super simple. There’s also an example of a very simple console program in the examples directory of the repo.
Documentation
Documentation is available via pydoc:
$ pydoc slippery.[model]
License
Copyright 2016 Carter Yagemann
This file is part of python-slippery.
python-slippery is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
python-slippery is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with python-slippery. If not, see <http://www.gnu.org/licenses/>.
Carter Yagemann
Metadata
Release files for python-slippery 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| python-slippery-1.0.0.tar.gz | 18.7 kB | Without provenance | Details for python-slippery-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| python_slippery-1.0.0-py2-none-any.whl | Python 2 | none | any | Details for python_slippery-1.0.0-py2-none-any.whl |
Total release size: 29.2 kB
Release files / python-slippery-1.0.0.tar.gz
| Download URL | python-slippery-1.0.0.tar.gz |
|---|---|
| Size | 18.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
dcdaa96f4d24b70752ab8d3148b2d9317f9d040fe570c7db9d2a3be07bc8f11c
|
|
BLAKE2b-256 checksum How to use checksums |
7cc49da5b43905437fe595f2a6072b7284dbad21c624539b712b6dfe18b4ec89
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / python_slippery-1.0.0-py2-none-any.whl
| Download URL | python_slippery-1.0.0-py2-none-any.whl |
|---|---|
| Size | 10.5 kB |
| Tags | Python 2 |
|
SHA-256 checksum How to use checksums |
8ea2f949c48fa0582e3123d7c196155bfcdda35ad28f3c5851ffec8a0e84c927
|
|
BLAKE2b-256 checksum How to use checksums |
7d05533a117bdb15c91a50f274ebec0e66cd593b4ea78bc5bf008544e15f18f7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for python-slippery 1.0.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.