JWZ's Threading Algorithm

Category: Python - Email Systems

This script is a Python implementation of Jamie Zawinski's threading algorithm, which takes a bunch of email messages and groups them into threads. The module contains a thread() function that takes a list of Message objects. Message is a class defined in this module and not the rfc822.Message class; there's a make_message() function that will take an rfc822.Message object, look at its 'References:' and 'In-Reply-To:' headers,and return a jwzthreading.Message object. thread() will return a dictionary mapping subject lines to Container objects that are the root of trees containing the threaded messages. Date: 14 March, 2012


Threading Algorithm - Threads Email Message - Message Objects - Threading - Algorithm - Message

Homepage: http://www.amk.ca/

Developer: amk.ca

License: Freeware

Operating System: All

Add a Comment

all are required fields

     
What do you think of this resource?

Select Your Rate:

Votes:0

 

Related Scripts Download

I like how gevent is making async code to look like sync but non blocking without all the ugly callbacks.

developer Developer: Przemyslaw Podczasi
license License: Python License
operating systems Operating System: Windows


Without thinking in thread creation the idea is to call several times
a function assigning a thread for each call with related parameters
and returning the list of results in a pretty pythonic way.

developer Developer: Filippo Squillace
license License: Freeware
operating systems Operating System: Windows


NamedMutex is a class for using Windows (Win32) named mutexes for system-wide locks.

developer Developer: Ben Hoyt
license License: Freeware
operating systems Operating System: Windows


Multi-threaded Mandelbrot Fractal.

developer Developer: FB36
license License: Freeware
operating systems Operating System: Windows


A thread that accepts callable objects as "commands" or "jobs" to execute.

developer Developer: Shao-chuan Wang
license License: Freeware
operating systems Operating System: Windows


A Python 2.

developer Developer: Jan Kaliszewski
license License: Python License
operating systems Operating System: Windows


Describes a simple example of the potential for shared Singleton or Borg object methods to be proxy'd by an object that SyncManger can present to requesting subprocesses.

developer Developer: Mateyuzo
license License: Freeware
operating systems Operating System: Windows


aspNetEmail is an email control that works with any SMTP server.

developer Developer: advancedintellect.com
license License: Freeware
operating systems Operating System: All


alterMIME is a small program which is used to alter your mime-encoded mailpacks as typically received by Inflex, Xamime and AMaViS.

developer Developer: pldaniels.com
license License: Freeware
operating systems Operating System: All