flanker
flanker copied to clipboard
Python email address and Mime parsing library
The upcoming Python 3.13 [will remove](https://docs.python.org/3.13/whatsnew/3.13.html#pep-594-dead-batteries) the built-in module `imghdr`. Its mimetype-sniffing functionality was copied into `email.mime`, so I switched to it in `flanker/mime/message/part.py`. The same file also uses `email.mime.audio._whatsnd`,...
Python 3.12 issues warnings on invalid escape sequences in strings. (This was a `DeprecationWarning` since 3.6.)
I get: ``` 2023-10-02 07:01:04,544 43 WARNING py.warnings: /usr/local/lib/python3.9/dist-packages/dnsq.py:184: DeprecationWarning: please use dns.resolver.Resolver.resolve() instead File "/usr/lib/python3.9/threading.py", line 912, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.9/threading.py", line 954, in _bootstrap_inner self.run() File "/usr/lib/python3.9/threading.py",...
I get ``` 2023-10-02 07:01:04,523 43 WARNING py.warnings: /usr/local/lib/python3.9/dist-packages/flanker/addresslib/drivers/redis_driver.py:6: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3, and in 3.10 it...
Could you update the flanker codebase for python3.10+ where has been reported before: https://github.com/mailgun/flanker/issues/260 Where collections.MutableMapping has been moved to collections.abc.MutableMapping When I try to validate an email address using...
We should be able to use setuptools' default package discovery mechanism without modification, since it supports both LICENSE and README.rst inclusion without the need for a separate MANIFEST.in. This addresses...
Hi, I am processing huge quantity error and I've noticed that sometimes there is a problem with encoding detector & decoding email body parts. I've enhanced this part by monkey...