simplejson
02/28/2012
simplejson is a simple, fast, extensible JSON encoder/decoder for Python
simplejson is compatible with Python 2.6 and later with no external
dependencies. It covers the full JSON specification for both encoding
and decoding, with unicode support. By default, encoding is done in
an encoding neutral fashion (plain ASCII with \uXXXX escapes for unicode
characters).
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).
simplejson is the externally maintained development version of the
json library included with Python 2.6 and Python 3.0, but maintains
backwards compatibility with Python 2.5.
greenlet
1/9/2006
Lightweight in-process concurrent programming
(This is the py.magic.greenlet module from the py lib, made standalone)
The "greenlet" package is a spin-off of Stackless, a version of CPython that
supports micro-threads called "tasklets". Tasklets run pseudo-concurrently
(typically in a single or a few OS-level threads) and are synchronized with
data exchanges on "channels".
A "greenlet", on the other hand, is a still more primitive notion of
micro-thread with no implicit scheduling; coroutines, in other words.
This is useful when you want to control exactly when your code runs.
You can build custom scheduled micro-threads on top of greenlet; however, it
seems that greenlets are useful on their own as a way to make advanced control
flow structures. For example, we can recreate generators; the difference with
Python's own generators is that our generators can call nested functions and
the nested functions can yield values too. Additionally, you don't need a
"yield" keyword. See the example in test_generator.py.
Greenlets are provided as a C extension module for the regular unmodified
interpreter.
xattr
8/17/2011
xattr is a Python wrapper for Darwin, Linux, and FreeBSD extended filesystem
attributes
Extended attributes extend the basic attributes of files and directories
in the file system. They are stored as name:data pairs associated with
file system objects (files, directories, symlinks, etc).
Extended attributes are currently only available on Darwin 8.0+
(Mac OS X 10.4), Linux 2.6+, FreeBSD 5.1+
PyQTSequence
10/15/2003
PyQTSequence is a PyObjC application that takes a sequence if images and turns them into a QuickTime movie with whatever QuickTime supported compression you want. Note that it uses its own version of the QuickTime bgen wrapper, because I had to add some functionality to what Jack has in Python 2.3. I'm sure these changes will make it into Python eventually, but they're not in there yet. The source distribution requires Developer Tools, Python 2.3, PIL, PyObjC. The app is standalone and should run on MacOS X 10.2 and later. It's also got a nifty little PIL codec that'll decode SoftImage lossless frames. Note that due to some inconveniences with regard to QuickTime, Python, and PIL it's not a speed demon, but it's convenient, and might be the best way to work with SoftImage lossless sequences.
Please note that I do not provide any support whatsoever for versions of Python prior to 2.3, or versions of Mac OS prior to 10.2. At all, don't bother asking. Seriously.
bob@redivi.com