This release is a pre-release and may not be stable for production use.
API Sender
Sends messages to various APIs for email or discord
from apisender import Apisender
Supported APIs:
- Discord
- Mailjet
- SMTP2GO
Todo:
- Mailgun
- Twillo (sms)
- Telnyx (sms)
Examples:
fromname = "fromname"
fromid = "from@test.com"
subject = "test subject"
toid = "to@test.com"
toname = "toname"
bodytext = "test text"
bodyhtml = "<h1>test html</h1>"
subject = "test subject"
print(Apisender(fromname=fromname,
bodytext=bodytext).discord().text)
print(Apisender(fromname=fromname,
fromid=fromid,
toname=toname,
toid=toid,
subject=subject,
bodytext=bodytext,
bodyhtml=bodyhtml).mailjet().text)
print(Apisender(fromid=fromid,
toid=toid,
subject=subject,
bodytext=bodytext).smtp2go().text)
Notes:
- No except checks are done for failed sending.
- Check is done if password file is missing.
- Requires requests to work.
- Returns requests responses.
- apisender.json is where you keep your passwords
Metadata
Release files for apisender 1.0.0b0
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 |
|---|---|---|---|---|
| apisender-1.0.0b0.tar.gz | 3.3 kB | Without provenance | Details for apisender-1.0.0b0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| apisender-1.0.0b0-py3-none-any.whl | Python 3 | none | any | Details for apisender-1.0.0b0-py3-none-any.whl |
Total release size: 7.0 kB
Release files / apisender-1.0.0b0.tar.gz
| Download URL | apisender-1.0.0b0.tar.gz |
|---|---|
| Size | 3.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4e2dfcb080bde9da6222b66ebce7395e1a13c7aa4dbfbadc47bb97f698624f46
|
|
BLAKE2b-256 checksum How to use checksums |
5206e1551f166a2251e16be9e8f43677585021817b1d608a1d2ae9aab8adc753
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.9.12
|
Release files / apisender-1.0.0b0-py3-none-any.whl
| Download URL | apisender-1.0.0b0-py3-none-any.whl |
|---|---|
| Size | 3.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f86c5dd70d10093ef31bc723daf62808b31867d4bf15cdd175da32217c4a02ba
|
|
BLAKE2b-256 checksum How to use checksums |
2329efa166e3d59aa6cfb3c8d6bb59cc3ee2114632b32d0a4bd45a6553e6e6dd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.9.12
|
Security for apisender 1.0.0b0
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.