Python Modules:

Moments:

Moments is a python module to parse text based journal log files. These files use a simple micro-format to organize journal entries. This format can be summarized as each entry having:

*YYYY.MM.DD [mm:hh:ss] [space separated list of tags]
entry data
\n

The Moments module also provides a higher level object called a Journal which allows multiple logs to be merged together, and separated based on tags or times.

These logs are meant to be easy to create with simple text editors. Making new entries can be simplified further by extending your text editor to create the timestamp for you. In emacs, this can be done with the following emacs lisp file. It binds the new timestamp function to the keystroke Ctl-x j

journal.el

Download Moments (20KB): moments.tgz

 

OSBrowser:

OSBrowser is a python module that provides an object oriented interface to your computer's local filesystem.  It leverages python's native os and os.path libraries to give a higher level interface to the system.  Starting at the level of Nodes on a filesystem, it works up to higher level objects such as Images and Playlists. 

I like to think of it as a python based file system explorer/browser/finder without a graphical user interface.

OSBrowser can utilize the Moments module for logging and meta data generation.  This ensures metadata will not get locked into proprietary formats. 

Download OSBrowser (40KB): osbrowser.tgz

 

Pose:

Pose started as a python based image gallery utilizing the Pylons framework.

Since then, Pose has evolved into a more general purpose content management system based on the Pylons framework.  It utilizes the OSBrowser module as an interface to the local filesystem being served by Pose.  OSBrowser is essentially the model in terms of MVC. In this way, Pose could be considered a web based filesytem browser.

Pose should allow you to quickly organize a collection of data into a structure and see how that structure will work.  Then, as custom functionality is needed, Pylons is right there to adapt the system to your needs.

Pose now includes tiny_mce, a few open source flash based audio players, and S5 rendering javascripts in the public directory.  This has caused the size to go up to 1.8MB:

Download Pose (1.8MB): pose.tgz

Also available at the Python Package Index (PyPi) (CheeseShop)

 

(the context is you!)