GmailBox
With this library, you can create random Gmail and receive messages
Install :
pip install -U GmailBox
How to use?
- Here an example to use it:
from GmailBox import GmailBox
Gmail = GmailBox()
# Create a new gmail
New_Gmail = Gmail.new_email()
email = New_Gmail.email
print(email)
# Start checking the inbox
inbox = Gmail.inbox(email)
# If there are messages in the inbox, print them
if inbox:
for message in inbox:
print("=" * 21)
print(message)
print("=" * 21)
# If no messages were received, print a message
else:
print(f' [!] No messages were received.')
- Here an async example:
from GmailBox.asyncio import GmailBox
import asyncio
# Define the main function
async def main():
Gmail = GmailBox()
# Create a new gmail
New_Gmail = await Gmail.new_email()
email = New_Gmail.email
print(email)
# Start checking the inbox
inbox = await Gmail.inbox(email)
# If there are messages in the inbox, print them
if inbox:
for message in inbox:
print("=" * 21)
print(message)
print("=" * 21)
# If no messages were received, print a message
else:
print(f' [!] No messages were received.')
# Run the main function
asyncio.run(main())
On GitHub
Author
Metadata
Release files for GmailBox 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 |
|---|---|---|---|---|
| gmailbox-1.0.0.tar.gz | 5.5 kB | Without provenance | Details for gmailbox-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| GmailBox-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for GmailBox-1.0.0-py3-none-any.whl |
Total release size: 13.2 kB
Release files / gmailbox-1.0.0.tar.gz
| Download URL | gmailbox-1.0.0.tar.gz |
|---|---|
| Size | 5.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c1b9ee5084b550c4c149f315d91dfc3ce0f6ad56505d4057a4e7433ef4fe9695
|
|
BLAKE2b-256 checksum How to use checksums |
1b40de64b54db106302ca74bbd0e3fac6887336e32d9e5e12a5fec0be2570bae
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.12.0
|
Release files / GmailBox-1.0.0-py3-none-any.whl
| Download URL | GmailBox-1.0.0-py3-none-any.whl |
|---|---|
| Size | 7.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9494fc6a5a27ff6307511c2fb4d7460eb862b0bb08fc9cf0b27758a4fe601656
|
|
BLAKE2b-256 checksum How to use checksums |
3947c341b14eb7d998cab8e56414b9021ab8cbc199c4505d8adf95d2db46bb4c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.12.0
|
Security for GmailBox 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.