PyHJB is a Python-to-JMS gateway that makes it possible to access JMS 1.1 (Java Message Service) messaging providers via HJB, the HTTP JMS bridge. It acts as an HTTP gateway server for any JMS messaging provider, and provides a RESTful equivalent for most of the non-optional portions of the JMS API. It is distributed with a few demo scripts that show it being used with WebSphere MQ, Swift MQ, Active MQ, and JBoss Messaging.
Powernap is a small Python extension for accurate sleeping. Python's time.sleep() function is fairly inaccurate. It is definitely not accurate enough for music, games, or graphics. It can sleep too long or too short, and usually does. Using Linux's real-time clock (RTC) allows for more accurate timing. This extension wraps all the messy RTC stuff and provides nap(), which performs the same job as sleep(), but more accurately. Even more usefully, it provides rnap(), which is a padding nap. That is, if you call rnap(30), it will nap for however many milliseconds are required to make the time since the last nap 30 milliseconds. rtc_on() sets up the real-time clock, and rtc_off() turns it off. It also switches the scheduler to SCHED_FIFO.
Shizzle is an X-session based daemon that runs in the background and monitors D-Bus activity. When a D-Bus capable application is started, Shizzle will activate the loaded plugins (which are Python modules or applications) which matche the application started. The plugins are designed to enable various D-Bus aware applications to interact with each other, creating new functionalities and possibilities for enhanced desktop user experience. For example, a plugin could allow a media player to interact with chat and IM software.
PySTDF is a Python module which makes it easy to work with STDF (Teradyne's Standard Test Data Format). STDF is a commonly-used file format in semiconductor tests. Automated test equipment (ATE) from such vendors as Teradyne, Verigy, LTX, Credence, and others supports this format. PySTDF provides event-based stream parsing of STDF version 4, indexers that help structure the data into a more useful tabular form, and the ability to generate missing summary records or new types of derivative records. The parser architecture is very flexible and can easily be extended to support STDF version 3 and custom record types.
pytimeago is a small Python library that transforms the numerical difference between timestamps into human-readable strings like "3h ago" or "5 months ago". Such functionality is often present in email, issue tracking and other applications that display a number of items to the user. It is practical to briefly describe the age of a certain item.
The dvdauthor module allows you to create a structure of menus, titles, and titlesets (including the VMGM menu) in an object-oriented manner. It can cross-reference commands (typically in <pre> and <post> tags in the dvdauthor .xml) with the actual location of a particular video. For example: "jump f:%s" % thismenu.id would be turned into "jump titleset 2 menu 3" if it was added to the second titleset as the third menu. This allows you to build complex interactive DVDs.
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.
Cimbiote allows writing and running CIM providers written in Python. It is intended to make CIM development more accessible to developers. A good analogy is that Cimbiote is to CIM as mod_python is to Apache. Plugins are distributed as separate RPMs. Incoming CIM requests are routed through Cimbiote to the appropriate plugins and back into Cimbiote, allowing CIM plugins to be written without any C or C++ code, and, more importantly, without vast knowledge of CIM. Cimbiote plugins register MOF files like any other CIM provider, and are fully accessible over standard CIM tools like wbemxec and wbemcli.
Are You Human? is a script that uses a graphical test to insure that a human is being dealt with rather than a script. This is useful to avoid automated Web signups or automated attempts to crack passwords. There are many equivalent libraries for other languages but this is the first one for Python. The Python Imaging Library (PIL) is required.