flanker
flanker copied to clipboard
Python email address and Mime parsing library
There are small typos in: - docs/API Reference.md - docs/User Manual.md - tests/addresslib/plugins/aol_test.py - tests/addresslib/plugins/gmail_test.py - tests/addresslib/plugins/google_test.py - tests/addresslib/plugins/hotmail_test.py - tests/addresslib/plugins/icloud_test.py - tests/addresslib/plugins/yahoo_test.py - tests/mime/message/headers/headers_test.py Fixes: - Should read `occurring`...
In support of https://github.com/mailgun/machinegun/pull/445. See [note](https://mailgun.slack.com/archives/CQ5GTHDK5/p1643390390578999?thread_ts=1643204087.119100&cid=CQ5GTHDK5) in #ask-ops.
I'm hoping to confirm (through automated testing) if this is already compatible with Python 3.7 and 3.8.
Python version 3.7.7 flanker version 0.9.11 ``` from flanker.addresslib import address address.validate_address() ``` ``` ----> 1 address.validate_address('custom domaian email address') ~/.virtualenvs/newvenv/lib/python3.7/site-packages/flanker/utils.py in wrapper(*args, **kwargs) 62 @wraps(f) 63 def wrapper(*args, **kwargs):...
It seems that the version stayed on 0.9.11 in https://github.com/mailgun/flanker/blob/master/setup.py#L13 While the tag 0.9.14 was released https://github.com/mailgun/flanker/tags Not a big deal but that's a bit confusing.
Address two outstanding issues that are especially a problem when using flanker in a frozen application (i.e. using pyinstaller). ## #231 Disable warnings on first run When addresslib is first...
Email address lists support group syntax, and flanker barfs on stuff like: ``` A Group:Chris Jones ,[email protected],John ; ``` See: https://tools.ietf.org/html/rfc2822#appendix-A.1.3
It seems that the address parser doesn't support nested comments, but the RFC allows it, here's the relevant bits from [rfc2822](https://tools.ietf.org/html/rfc2822) ``` ccontent = ctext / quoted-pair / comment comment...