My Python Stuff
Let me share with you my love for Python, a state of the art, object-oriented, fully dynamic, very high-level scripting language.
Modules
My growing collection of freely available scripts and modules :
- MoreOver Client Module - A lightweight client module for moreover.com newsfeed services.
- HMAC Module - A pure Python implementation of the popular Hashed Message Authentication Code keyed-hashing algorithm, as described in RFC2014 algorithm. This module relies on the Python standard library MD5 and SHA-1 digest objects and has a very similar interface. Please note that since then the HMAC algorithm has finally made its way through the Python standard library so you can consider this module as obsolete.
- Memory Locking Module - This UNIX-only extension module (written in ANSI C) leverages the mlockall(2) and munlockall(2) system calls to allows you to make sure the memory used by your interpreted Python program won't be swapped. This is a must when you deal with sensitive data such as private cryptographical keys, passwords, credit cards numbers, ...
- HTTP Debugging Proxy - This quick and dirty hack is based on the TinyHTTPProxy written by Suzuki Hisao. This script acts as an HTTP proxy and logs all the request/response headers, I used it to track annoying cookie bugs. You may also find it useful...
Dive Into Python
I initiated the french translation effort of the GPL'd book Dive Into Python which is a very well written tutorial aimed at professional programmers.
I have no time anymore now to work on this project, but the translaction effort has been taken over by some fellow Pythonistas.
Recipes
My contributions to the Python Cookbook:
- Single-pass Multiple Replace (Text)
- Interactive POP3 Mailbox Inspector (Network)
Both of them appear in both editions of the printed version published by O'Reilly & Associates.

