Python的Email地址和Mime解析库:Flanker

jopen 8年前

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>

项目主页:http://www.open-open.com/lib/view/home/1419218365906