Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python.announce > #2674

mimedecode 2.8.0

Path csiph.com!feeder.erje.net!1.eu.feeder.erje.net!news.szaf.org!fu-berlin.de!uni-berlin.de!not-for-mail
From Oleg Broytman <phd@phdru.name>
Newsgroups comp.lang.python.announce
Subject mimedecode 2.8.0
Date Fri, 3 Nov 2017 00:46:45 +0100
Lines 65
Approved python-announce-list@python.org
Message-ID <mailman.16.1509898929.2819.python-announce-list@python.org> (permalink)
References <20171102234645.GA4593@phdru.name>
Mime-Version 1.0
Content-Type text/plain; charset=us-ascii
X-Trace news.uni-berlin.de s8w4FykPxMTrtTftAShQPwn1HuhCMPQazPnR7W94Xd3Q==
Return-Path <phd@phdru.name>
X-Original-To python-announce-list@python.org
Delivered-To python-announce-list@mail.python.org
X-Spam-Status OK 0.000
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'binary': 0.05; 'messages.': 0.05; 'url:github': 0.05; 'desirable.': 0.07; 'git': 0.07; 'gpl': 0.07; 'archive,': 0.09; 'arrived': 0.09; 'decodes': 0.09; 'non-english': 0.09; 'skipping': 0.09; 'stdout': 0.09; 'python': 0.10; '2.7': 0.11; 'pushed': 0.13; '(also': 0.16; 'clone': 0.16; 'decode': 0.16; 'decoding': 0.16; 'email addr:phdru.name': 0.16; 'email name:phd': 0.16; 'encodings': 0.16; 'expects': 0.16; 'formats,': 0.16; 'header:X-Face:1': 0.16; 'requires:': 0.16; 'return.': 0.16; 'tests': 0.18; 'appropriate': 0.18; 'input': 0.18; 'to:2**1': 0.20; 'controlled': 0.22; 'copied': 0.22; 'txt': 0.22; 'users,': 0.22; 'file.': 0.24; 'output': 0.24; 'command': 0.26; 'header:User-Agent:1': 0.27; 'errors': 0.27; 'command-line': 0.29; 'url:software': 0.29; 'character': 0.29; 'usually': 0.30; 'code': 0.31; 'url:python': 0.33; 'included': 0.33; 'fixed': 0.33; 'converting': 0.33; 'html,': 0.33; '(c)': 0.34; 'allows': 0.34; 'run': 0.35; 'file': 0.35; 'to:addr:python-list': 0.35; 'especially': 0.36; 'text': 0.36; 'version': 0.36; 'programmers': 0.36; 'received:io': 0.37; 'received:psf.io': 0.37; 'received:ams1.psf.io': 0.38; 'received:mail1.ams1.psf.io': 0.38; 'charset:us-ascii': 0.38; 'some': 0.39; 'proto:https': 0.39; 'to:addr:python.org': 0.40; 'where': 0.40; 'header:Received:3': 0.60; 'different': 0.64; 'license': 0.65; 'here': 0.66; 'home': 0.70; 'design.': 0.72; 'to:addr:python-announce-list': 0.72; 'countries,': 0.84
Content-Disposition inline
X-Attribution phd
X-Face "4chVP^f8; 3Bi>x"ic0%DuP(ZLyn:; kzQ1njs]5,GRZG<{<\~`|Shxi7|)d|8uO~HFRfyym {[xs@OYG]2Q]0#}0sjJp`1^1+B6]A2+{9fW=S<O7^"hul]^|AGtiI7SkYF-2VD?UH*h_!zuCIf+^F7 c0x8?W,UfhCAx^YY#1ALhvG\2yG}LW:)zw#1;Yajq"hK~S
X-Operating-System Debian GNU/Linux
X-Skip-DKIM-Sig mailing list
X-Url http://phdru.name/
Mail-Followup-To Oleg Broytman <phd@phdru.name>, Python Mailing List <python-list@python.org>
User-Agent Mutt/1.5.23 (2014-03-12)
X-Mailman-Approved-At Sun, 05 Nov 2017 11:22:08 -0500
X-BeenThere python-announce-list@python.org
X-Mailman-Version 2.1.25
Precedence list
List-Id Announcement-only list for the Python programming language <python-announce-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-announce-list>, <mailto:python-announce-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-announce-list/>
List-Post <mailto:python-announce-list@python.org>
List-Help <mailto:python-announce-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-announce-list>, <mailto:python-announce-list-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID <20171102234645.GA4593@phdru.name>
Xref csiph.com comp.lang.python.announce:2674

Show key headers only | View raw


Hello!

                                mimedecode.py

WHAT IS IT

   Mail users, especially in non-English countries, often find that mail
messages arrived in different formats, with different content types, in
different encodings and charsets. Usually this is good because it allows us to
use appropriate format/encoding/whatever. Sometimes, though, some unification
is desirable. For example, one may want to put mail messages into an archive,
make HTML indices, run search indexer, etc. In such situations converting
messages to text in one character set and skipping some binary attachments is
much desirable.

   Here is the solution - mimedecode.py.

   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 RFC822
message, and decodes to stdout or an output file. If the file is not an RFC822
message it is just copied to the output one-to-one. If the file is a simple
RFC822 message it is decoded as one part. If it is a MIME message with multiple
parts ("attachments") all parts are decoded. Decoding can be controlled by
command-line options.


Version 2.8.0 (2017-11-03)

   Python 3.

   Stop supporting Python 2.6.

   Code cleanup: fixed flake8 errors and warnings.

   Pushed to GitHub. Tests at Travis.


WHERE TO GET
   Home page: http://phdru.name/Software/Python/#mimedecode
    git clone https://github.com/phdru/mimedecode.git
    git clone http://git.phdru.name/mimedecode.git
    git clone  git://git.phdru.name/mimedecode.git

   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
      (also included in the package in html, man and txt formats).


AUTHOR
   Oleg Broytman <phd@phdru.name>

COPYRIGHT
   Copyright (C) 2001-2017 PhiloSoft Design.

LICENSE
   GPL

Oleg.
-- 
     Oleg Broytman            http://phdru.name/            phd@phdru.name
           Programmers don't die, they just GOSUB without RETURN.

Back to comp.lang.python.announce | Previous | Next | Find similar | Unroll thread


Thread

mimedecode 2.8.0 Oleg Broytman <phd@phdru.name> - 2017-11-03 00:46 +0100

csiph-web