Python Guerrillamail
Python Guerrillamail is a Python client API and command line interface for interacting with a Guerrillamail temporary email server.
Installation
pip install python-guerrillamail
Example Usage
Create session using auto-assigned email address, print email address and print id of first message in inbox:
from guerrillamail import GuerrillaMailSession
session = GuerrillaMailSession()
print session.get_session_state()['email_address']
print session.get_email_list()[0].guid
Example CLI Usage
Set email address:
$ guerrillamail setaddr john.doe
$ guerrillamail info
Email: john.doe@guerrillamailblock.com
List inbox contents:
$ guerrillamail list
(*) 48859781 23:45:27+00:00 spam@example.com
Example messsage 2
(*) 48859574 09:25:01+00:00 spam@example.com
Example message
( ) 1 00:00:00+00:00 no-reply@guerrillamail.com
Welcome to Guerrilla Mail
Read email message:
$ guerrillamail get 48859781
From: spam@example.com
Date: 2016-06-11 23:45:27+00:00
Subject: Example message 2
Example Guerrillamail message body.
Using Alternative Guerrillamail Server
By default, http://api.guerrillamail.com is used as the base URL for Guerrillamail API calls. This can be overridden by providing the base_url property when constructing a GuerrillaMailSession instance. When using the CLI the base_url property can be defined in the ~/.guerrillamail JSON config file, for example:
{
"base_url": "https://api.guerrillamail.com"
}
License
Python Guerrilla Mail is free software, licensed under the GPLv3.
Change History
0.2.0
Add support for Python 3.3, 3.4 and 3.5.
Add “guerrillamail” executable.
0.1.2
Fix mail “excerpt” property.
0.1.1
Remove version restriction on Requests dependency.
0.1.0
Initial release.
Metadata
Release files for python-guerrillamail 0.2.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-guerrillamail-0.2.0.tar.gz | 5.9 kB | Without provenance | Details for python-guerrillamail-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| python_guerrillamail-0.2.0-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details for python_guerrillamail-0.2.0-py2.py3-none-any.whl |
Total release size: 14.1 kB
Release files / python-guerrillamail-0.2.0.tar.gz
| Download URL | python-guerrillamail-0.2.0.tar.gz |
|---|---|
| Size | 5.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f04c48c58ddc55f81c2fe63c43e5f8d806ea77695fc621fe8bdbc11413bf9e31
|
|
BLAKE2b-256 checksum How to use checksums |
307c48e0eca47883678ff7868514b96fc14907a8828a6b8cef2c9596ca7a1231
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / python_guerrillamail-0.2.0-py2.py3-none-any.whl
| Download URL | python_guerrillamail-0.2.0-py2.py3-none-any.whl |
|---|---|
| Size | 8.2 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
993934d09cdba4c0f8a70b00eedf3563acabdec3e24bb82335121a0e022afff5
|
|
BLAKE2b-256 checksum How to use checksums |
0c767f384d3aec93ae9ceaeef70a10c1ceaa5be9b039b34fd60df570be49f0fd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for python-guerrillamail 0.2.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.