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.
Schnolgo is a musical composition system. It has a number of unique features, including a way of handling polyrhythmic timing which provides a flexibility one cannot easily achieve with traditional sequencing programs or sound programming environments. Currently, Schnolgo is in the form of a Python package, and its main output format for compositions written in it is MIDI.
optparse_gui is a drop-in replacement for Python's built-in optparse. It allows the user to enter command line arguments in a dynamically generated WX-based dialog. optparse_gui generates the dialog depending on the provided optparse options: CheckBox for boolean options, ComboBox for "choice" options, TextCtrl for all other options, and an extra TextCtrl for entering non-option command line arguments. Also, the dialog contains context-sensitive help for every option.
pg_pqueue is a Python package that provides low-level PQ protocol classes for interacting with a PostgreSQL database. It supports version 3.0 of the protocol. The package also provides a basic protocol transaction class. This class keeps the state of the protocol in an interrupt safe manner, and validates the integrity of the communication as messages are received. In general, you probably will never use this package directly, unless you are writing a driver.
simplejson is a simple, fast, complete, correct, and extensible JSON encoder and decoder for Python 2.3+. It is pure Python code with no dependencies, but includes an optional C extension for a serious speed boost. The encoder may be subclassed to provide serialization in any kind of situation, without any special support by the objects to be serialized (somewhat like pickle). The decoder can handle incoming JSON strings of any specified encoding (UTF-8 by default).