Re:Inbox.py: SMTP for Humans
by mmerickel on Thursday May 03, 2012 @11:35AM
(#3924266)
I don't understand why the library chooses to require gevent. That's a large dependency for an API that might be useful otherwise. That should really be up to the user since it looks like it'd work fine in its own thread or standalone.
[ Parent
| on HN ]
It's to monkey patch the socket code of smtpd to make it async. Apparently that nets a nifty speed bump:
> "One instance should handle over one thousand emails per second, thanks to Gevent."
Take a look at the code, it's very small.