pyXSD maps XML and XSD (XML Schema) files into Python, checks the XML against the schema, and transforms XML documents according to user-specified Python classes. There is a framework to make these transformation classes easy to write. The program uses a simple, pythonic, non-DOM interface with the XML tree structure.
Hasard is a pseudo-random number generator (PRNG) library. It includes multiple engines (algorithms): Park-Miller, Mersenne Twister, Linux device (/dev/urandom or /dev/random), and more. It has a simple but powerful API. For example, a PRNG seed can be generated using strong entropy (using a hardware random number generator like /dev/random on Linux). The library is written in C, and a Python binding is available. The word "hasard" is the French word for "randomness" or "chance".