1secmail unofficial API
This is an unofficial wrapper for 1secmail API.
It provides:
-
MailBoxMessage,MailMessage, andMailAttachmentconvience dataclasses. -
Wrapper methods for:
- Getting list of 1secmail active domains ->
get_domain_list - Generating random emails ->
gen_random_emails - Fetching mailbox for an email ->
fetch_mailbox - Fetching a message out of an email ->
fetch_msg - Downloading file attachments from email messages:
download_attachment
- Getting list of 1secmail active domains ->
How to install
pip install onesecmail-api
How to import
Import this library with:
import onesecmail_api
or just some individual components with:
from onesecmail_api import (
MailBoxMessage,
MailAttachment,
MailMessage,
get_domain_list,
gen_random_emails,
fetch_mailbox,
fetch_msg,
download_attachment,
)
Release files for onesecmail-api 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| onesecmail-api-0.1.1.tar.gz | 2.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| onesecmail_api-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.2 kB
Release files / onesecmail-api-0.1.1.tar.gz
| Download URL | onesecmail-api-0.1.1.tar.gz |
|---|---|
| Size | 2.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0da6c0bc01e945b984f180e7bda6ce21d220ddbb40f9f0c456a3d2ae5fd6646f
|
|
BLAKE2b-256 checksum How to use checksums |
5f01b3b21333bdb59f6e7fc467a439146a608172b926e772ef16f48b2641ec4a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.18
|
Release files / onesecmail_api-0.1.1-py3-none-any.whl
| Download URL | onesecmail_api-0.1.1-py3-none-any.whl |
|---|---|
| Size | 3.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4d616fc727b262bba1310356923771889204e76596e1f8ba9cc2587088fbf8d3
|
|
BLAKE2b-256 checksum How to use checksums |
fb6151d0f8b46c930152e6022765bb709f109c4d356bc8c5b0654418bc9b2452
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.18
|