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


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

mimedecode.py version 2.4.0

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!newsfeed.xs4all.nl!newsfeed4a.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
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; 'parameters': 0.04; 'messages.': 0.05; 'output': 0.05; 'binary': 0.07; 'desirable.': 0.07; 'gpl': 0.07; 'users,': 0.07; 'decodes': 0.09; 'git': 0.09; 'subject:version': 0.09; 'url:software': 0.09; 'python': 0.11; '(also': 0.16; '(either': 0.16; 'arrived': 0.16; 'clone': 0.16; 'command-line': 0.16; 'email addr:phdru.name': 0.16; 'email name:phd': 0.16; 'encodings': 0.16; 'expects': 0.16; 'header:X-Face:1': 0.16; 'non-english': 0.16; 'requires:': 0.16; 'skipping': 0.16; 'stdout': 0.16; 'subject:skip:m 10': 0.16; 'to:addr:python-announce-list': 0.16; 'types,': 0.16; 'appropriate': 0.16; 'options.': 0.19; 'command': 0.22; 'input': 0.22; 'header:User-Agent:1': 0.23; 'copied': 0.24; 'headers': 0.24; 'file.': 0.24; '(c)': 0.29; 'character': 0.29; 'converting': 0.30; 'skip:g 30': 0.30; 'especially': 0.30; 'included': 0.31; 'usually': 0.31; 'controlled': 0.31; 'exceptions': 0.31; 'parameters.': 0.31; 'txt': 0.31; 'allows': 0.31; 'file': 0.32; 'lists': 0.32; 'option': 0.32; 'run': 0.32; 'text': 0.33; 'url:python': 0.33; 'programmers': 0.33; 'add': 0.35; 'version': 0.36; 'format.': 0.36; 'html,': 0.36; 'charset:us-ascii': 0.36; 'example,': 0.37; 'list': 0.37; 'configured': 0.38; 'though,': 0.39; 'to:addr:python.org': 0.39; 'remove': 0.60; 'new': 0.61; 'skip:* 10': 0.61; 'simple': 0.61; 'content-disposition:inline': 0.62; 'such': 0.63; 'different': 0.65; 'license': 0.66; 'here': 0.66; 'header:Reply-To:1': 0.67; 'design.': 0.68; 'home': 0.69; 'countries,': 0.84; 'lists:': 0.91
Date Sat, 8 Mar 2014 19:59:10 +0100
From Oleg Broytman <phd@phdru.name>
To Python Announce Mailing List <python-announce-list@python.org>
Subject mimedecode.py version 2.4.0
MIME-Version 1.0
Content-Type text/plain; charset=us-ascii
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-Url http://phdru.name/
Mail-Followup-To Oleg Broytman <phd@phdru.name>, Python Mailing List <python-list@python.org>
User-Agent Mutt/1.5.21 (2010-09-15)
X-Mailman-Approved-At Mon, 10 Mar 2014 15:16:51 +0100
X-BeenThere python-announce-list@python.org
X-Mailman-Version 2.1.15
Precedence list
Reply-To python-list@python.org, Oleg Broytman <phd@phdru.name>
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>
Approved python-announce-list@python.org
Newsgroups comp.lang.python.announce
Message-ID <mailman.7995.1394461013.18130.python-announce-list@python.org> (permalink)
Lines 87
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1394461013 news.xs4all.nl 2924 [2001:888:2000:d::a6]:44058
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python.announce:1237

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.


WHAT'S NEW in version 2.4.0 (2014-03-08)

   Change option -d to accept a comma-separated list of headers:
-d h1,h2,h3,...

   Change option -d to decode all headers and accept a list of exceptions:
-d *,-h1,-h2,...

   Change option -p to accept lists of headers and parameters:
-p h1,h2,h3,..:p1,p2,p3,..

   Allow * and exceptions for -p in the headers and parameters lists:
-p *,-h1,-h2,-h3:p1,p2,p3
-p h1,h2,h3:*,-p1,-p2,-p3
-p *,-h1,-h2,-h3:*,-p1,-p2,-p3

   Change option -r to accept a list of headers: -r h1,h2,h3,...

   Change option -r to remove all headers and accept a list of exceptions:
-r *,-h1,-h2,...

   Change option -R to accept lists of headers and parameters:
-R h1,h2,h3:p1,p2,p3
-R h1,h2,h3:*,-p1,-p2,-p3
-R *,-h1,-h2,-h3:p1,p2,p3
-R *,-h1,-h2,-h3:*,-p1,-p2,-p3

   Publish docs in html format.

   Add ChangeLog.

WHAT'S NEW in version 2.3.7 (2014-02-23)

   Add option -r to remove headers and option -R to remove headers parameters.


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

   Requires: Python 2.2.2+, m_lib 2.0+.

   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-2014 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.py version 2.4.0 Oleg Broytman <phd@phdru.name> - 2014-03-08 19:59 +0100

csiph-web