
Security News
npm Adopts OIDC for Trusted Publishing in CI/CD Workflows
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
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
FAQs
Sends messages to various APIs for email or discord
We found that apisender demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
Research
/Security News
A RubyGems malware campaign used 60 malicious packages posing as automation tools to steal credentials from social media and marketing tool users.
Security News
The CNA Scorecard ranks CVE issuers by data completeness, revealing major gaps in patch info and software identifiers across thousands of vulnerabilities.