This package consists of FlexModule.h, BisonModule.h, and assorted documentation, examples, and support files. A Python module can be created by including FlexModule.h into a Flex scanner specification and using a couple of C macros. BisonModule.h provides a set of C macros and functions that make it easy to create a parse tree of Python objects with Bison.
Python-mcrypt is a comprehensive Python interface to the mcrypt library, which provides a uniform interface to several symmetric encryption algorithms. It is intended to have a simple interface to access encryption algorithms in ofb, cbc, cfb, ecb, and stream modes. It supports algorithms like DES, 3DES, RIJNDAEL, Twofish, IDEA, GOST, CAST-256, ARCFOUR, SERPENT, SAFER+, and more.
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.
Python-mhash is a Python interface to the mhash library, which provides a uniform interface to a large number of hash algorithms. These algorithms can be used to compute checksums, message digests, and other signatures. The HMAC support implements the basics for message authentication, following RFC 2104.
arrayfrombuffer allows a programmer to use Numerical Python arrays whose contents are stored in buffer objects, including memory-mapped files. Loading an array from a file is easy, requiring only a module import and a single function call. Loading the array is quick because it doesn't require any copying from one part of memory to another. Arrays created with arrayfrombuffer are also highly memory-efficient, since only the array data that you are currently using gets loaded into memory. When an array is modified, only the modified parts get written back out to disk. These arrays can also be bigger than physical memory.
PyStem is a fast Python module with the the Porter stemming algorithm (a process for removing the commoner morphological and inflexional endings from words in English; its main use is as part of a term normalisation process that is usually done when setting up Information Retrieval systems).