Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > ANN: mailbox_reader 1.0.3 -- Python module to read UNIX mailboxes sequentially.

Reply
Thread Tools

ANN: mailbox_reader 1.0.3 -- Python module to read UNIX mailboxes sequentially.

 
 
Grzegorz Adam Hankiewicz
Guest
Posts: n/a
 
      07-26-2003
CHANGES

Better documentation. New Parse_error exception raised when
the opened file is not a unix mailbox. Now reading past the
end of the archive keeps returning None instead of raising
exceptions.

DESCRIPTION

The module provides two classes: Mailbox, a file-like object
which allows you to iterate through the contents of a mailbox,
and Email, an object which holds the individual emails returned
by Mailbox. Mailbox inherits from Mailbox_base, but usually you
don't need to even know about this class. Mailbox_base implements
the file like mailbox reading part of the class, and the Email
object creation. Use the Mailbox class in your code, which will
always maintain the same API for backwards compatibility.

This module has been written with simplicity in mind, and low
memory consumption. Unless you do something bad, I estimate
maximum memory consumption as twice the memory required by
the largest email of the opened mailbox. But I'm guessing,
maybe it is lower, like one time your biggest email.

DOWNLOAD

http://gradha.sdf-eu.org/program/mailbox_reader.en.html
http://www.vex.net/parnassus/
http://freshmeat.net/

LICENSE

GPL

--
Please don't send me private copies of your public answers. Thanks.

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Sorting Unix mailboxes harold barker Python 0 08-04-2007 12:20 AM
Sorting Unix mailboxes sfeil@io.com Python 3 09-16-2005 04:00 AM
Building email threads from unix mailboxes Jed Parsons Python 6 10-19-2004 07:24 PM
ANN: mailbox_reader 1.0.4 -- Python module to read UNIX mailboxessequentially. Grzegorz Adam Hankiewicz Python 1 11-29-2003 11:26 PM
Re: mailbox_reader 1.0.2 -- Python module to read UNIX mailboxes sequentially. Grzegorz Adam Hankiewicz Python 3 07-13-2003 08:48 PM



Advertisments