39 projects tagged "Python Modules"
GCache is a Python module that provides a generic cache class useful for speeding up any application where objects are referenced by keys. It uses object metadata to optimize hit-rates and freshness for fetches, and uses a "write-through" mechanism for writes and deletes. It can use "if-modified-since" fetches or rsync delta updates to refresh stale cached objects. GSource classes are provided for generating useful metadata from common sources (os.stat calls and MIME headers). A simple example urlCache is implemented that supports HTTP 1.1 (rfc2616) cache-control and expire headers to ensure freshness. Also included is an rfc2616 package useful for parsing HTTP 1.1 headers, and a PCache package implementing a persistant cache using a Python shelve.
getmail is intended as a simple, secure, and reliable replacement for fetchmail. It retrieves email (either all messages, or only unread messages) from one or more POP3, SPDS, or IMAP4 servers (with or without SSL) for one or more email accounts, and reliably delivers into qmail-style Maildirs, mboxrd files, or through external MDAs (command deliveries) specified on a per-account basis. getmail also has excellent support for domain (multidrop) mailboxes, including delivering messages to different users or destinations based on the envelope recipient address.
mxCrypto is an extension package that provides OO-style access to the cipher algorithms and hash functions included in OpenSSL/SSLeay, a very nifty cryptographic library originally written by Eric Young and now maintained by the OpenSSL team. Its main purpose is filling in the missing parts in Andrew Kuchling's pycrypt export package with high quality implementations. Due to the ITAR export restrictions on cryptographic software, Andrew's implementations are not legally downloadable from outside the US.
Pysync has both a demonstration implementation of the rsync and related algorithms in pure Python, and a high speed librsync Python extension. The pure Python is not fast and is not optimized, however it does work and provides a simple implementation of the algorithm for reference and experimentation. It includes a combination of ideas taken from librsync, xdelta, and rsync. The librsync Python extension is less flexible and harder to understand, but is very fast.
python-fchksum is a module used to find checksums of files (or stdin). It supports md5, crc32, cksum, bsd-style sum, and sysv-style sum. The advantage of using fchksum over the Python md5 and zlib(.crc32) modules is both ease of use and speed. You only need to tell it the filename, and the work is done by C code.
Papercut is a multi-threaded NNTP server written in Python. Its main objective is to integrate existing Web-based message board software (Phorum is one of the supported ones) with a Usenet front-end. However, its extensibility enables developers to write their own containers for the storage of the Usenet articles (messages). That means that the code is extensible enough that you could write new containers to integrate the news server with other Web message board projects or even other ways to store the messages.
Hep Message Server is software that transfers messages between different messaging systems. Eventually, it should transparently route messages between email, weblogs, and instant messaging. Currently Hep does one thing: fetches news feeds from Web sites and lets you view them in your email client.
A PHP5 OO template engine which supports template inheritance.
A CMS that takes up the challenge of managing Web content in today’s multi-channel environment.