- mimedecode.py
+ mimedecode
WHAT IS IT
situations converting messages to text in one character set and skipping
some binary attachments is much desirable.
- Here is the solution - mimedecode.py.
+ Here is the solution - mimedecode.
This is a program to decode MIME messages. The program expects one
input file (either on command line or on stdin) which is treated as an
images decoding base64 to html but leaving images encoded, and ignore
everything else. This is how it could be done:
- mimedecode.py -t application/pdf -t application/postscript -t text/plain -b text/html -B 'image/*' -i '*/*'
+ mimedecode -t application/pdf -t application/postscript -t text/plain -b text/html -B 'image/*' -i '*/*'
-Version 2.9.0 (2017-12-??)
+Version 3.0.1 (2019-??-??)
- Split mimedecode.py into a mimedecode library and a small script.
+ Replaced outdated and insecure `mktemp` with `NamedTemporaryFile`.
- Made the library executable via ``python -m mimedecode``.
+Version 3.0.0 (2019-02-01)
-Version 2.8.0 (2017-11-03)
+ Python 3.7.
- Python 3.
-
- Stop supporting Python 2.6.
+ Drop support for Python 3.3.
WHERE TO GET
- Home page: http://phdru.name/Software/Python/#mimedecode
+ Home page: https://phdru.name/Software/Python/#mimedecode
git clone https://github.com/phdru/mimedecode.git
- git clone http://git.phdru.name/mimedecode.git
+ git clone https://git.phdru.name/mimedecode.git
git clone git://git.phdru.name/mimedecode.git
- Requires: Python 2.7 or Python 3.3+, m_lib.defenc 1.0+.
+ Requires: Python 2.7 or Python 3.4+, m_lib.defenc 1.0+.
Tests require: tox, m_lib 3.1+.
Recommends: configured mailcap database.
- Documentation: http://phdru.name/Software/Python/mimedecode.html
+ Documentation: https://phdru.name/Software/Python/mimedecode.html
(also included in the package in html, man and txt formats).
Oleg Broytman <phd@phdru.name>
COPYRIGHT
- Copyright (C) 2001-2017 PhiloSoft Design.
+ Copyright (C) 2001-2018 PhiloSoft Design.
LICENSE
GPL