
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.
A deeply abstract, fully asynchronous Python client for the Barid temporary email API with complex architecture and type-heavy design.
Barid is a fully asynchronous, highly modular, and type-driven Python client for interacting with the barid.site temporary email API.
It is designed for developers who require a professional, extensible, and heavily abstracted interface to manage disposable email inboxes programmatically.
Barid is engineered with extreme complexity using deep Python patterns like strict type hints, decorators, layered abstraction, and dynamic data models—offering full control over every operation in a highly structured SDK.
import asyncio
from barid.client import BaridClient
from barid.types import EmailAddress, EmailId
async def main():
email = EmailAddress("example@barid.site")
async with BaridClient() as client:
domains = await client.get_domains()
print("Available Domains:", domains)
total = await client.count_emails(email=email)
print("Total Emails:", total)
emails = await client.get_emails(email=email, limit=5)
print(f"\nFetched {len(emails)} email(s)\n")
for msg in emails:
print("Subject:", msg.subject)
details = await client.get_email(email_id=EmailId(msg.id))
print(details)
print("Content:", details.text_content or details.html_content)
print()
if emails:
await client.delete_email(email_id=EmailId(emails[0].id))
print("Deleted the latest email")
await client.delete_emails(email=email)
print("Deleted all emails")
asyncio.run(main())
Contributions are highly welcome. Feel free to open issues or submit pull requests for enhancements, bugs, or design improvements.
MIT © 2025 Hexa
FAQs
A deeply abstract, fully asynchronous Python client for the Barid temporary email API with complex architecture and type-heavy design.
We found that barid 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.