Python的Email地址和Mime解析库:Flanker
jopen
10年前
Flanker是一个开源的Python库。包括Email地址解析库(flanker.addresslib) 和 MIME解析库 (flanker.mime)。
Address Parsing
To parse a single mailbox (display name as well as email address):
>>> from flanker.addresslib import address >>> >>> address.parse('Foo foo@example.com') Foo <foo@example.com>