Install & Compatibility
Where this runs
tested against v4.5 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
muslpy 3.10–3.95 runs
installs and imports cleanly · install 0.0s · import 0.016s · 17.9MB
glibcpy 3.10–3.95 runs
installs and imports cleanly · install 1.6s · import 0.016s · 18MB
16MB installed
● package 16MB
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
DirectMailDelivery
✓ from repoze.sendmail.delivery import DirectMailDelivery
✗ from repoze.sendmail.delivery import DirectMailDelivery
Sends an email directly via SMTP using DirectMailDelivery and SMTPMailer.
from repoze.sendmail.delivery import DirectMailDelivery
from repoze.sendmail.mailer import SMTPMailer
mailer = SMTPMailer(hostname='localhost', port=25)
delivery = DirectMailDelivery(mailer)
from_addr = 'sender@example.com'
to_addrs = ['recipient@example.com']
msg = b'Subject: Test\n\nHello!'
delivery.send(from_addr, to_addrs, msg)
Upgrade
Version history
4.5latest on PyPI · released May 4, 2026
Audit
Dependencies
transactionrequiredRequired for transactional email delivery
setuptoolsoptionalRequired for package metadata and entry points