Code

Here are some scripts and documents that I have written for my own needs that may (or may not) be useful to others too.

Obviously, some are better maintained than others.

Current Projects

VMR – a publishing and analysis system for humanities data. Used for ancient manuscripts, but may have other uses also.

Zpress – a WordPress compilable blog clone in Python/Django – i.e. this site you are looking at now. There has not been a public code release yet.

CollateX - a library for collating textual sources, for example, to produce an apparatus. I produce CollateX-Python which is are Python bindings for CollateX

Old Projects

Pixelise - a XML/document publishing system, providing a framework for rapid generation of document based sites.

Soturi - a very simple Django blog without cruft or hassle.

Better Python Console plugin for Gedit – IDLE-like console for the Gnome Editor. Aims to help people learn Python. It allows you to whack F5 to execute Python code. Visit the GNOME wiki for more information and screenshots.

Zetact - A reusable contact form module in Python. zetact has two parts. The FormProcessor class that can be reused by Python web developers to make more advanced forms with different fields. There is also a simpleform function that can be used by those who just want a simple contact form in a hurry. The other files demonstrate how to use this.

Zecoin – A Python library for coin collecting applications. Works for me, might be too low-level for you if you don’t like the Python interface.

Command Line Utilities and Python scripts

version.py – Bazaar version script, use in any Python package that is version controlled using Bazaar, then the user of a package can easily see an automatically generated minor version number.

countries.py – A CountryField for Django. This is really useful, e.g. so the user can select a country.

ssh.py – A friendly Secure Shell (SSH) module for Python program. Supports put, get and execute. Requires paramiko.

table.py – Python Module for generating reStructuredText tables.

OpenOffice History – Print out all the available OpenOffice history. You can use as a command line application, or you can use it as a Python module. Save as .py. of course.

twitnotify.py – Twitter and Gnome integration. This script sends notifications about Twitter updates to pop-up boxes on your desktop. It assumes a GNOME based Linux/Unix system.

Netwomb – If you have a Linux desktop, then this module/application allows you to access the complete history and information about the wireless connections you have used.

files.py – Python module that generates a simple webpage index from a directory. Good for temporary work with difficult servers.

MyFlickr – Put an index of your own flickr photos on your webpage.

iplocal.py – gives you access to the local network address in Python, no matter how the Linux/Unix distributor organises their config files. Useful in a crunch.

filehistory.py – Recursively order a directory of files by last modified date. A command-line application with many uses.

pdfgrep – A bash command for searching inside PDF files like grep. Requires that pdftotext is installed

bulkdelete.py – Batch admin of MoinMoin user accounts, get all the spammers off your wiki in one go.

Email to blog – Update a PyBlosxom-based blog using only your email address.

identi.py – A Python module and command line tool for the social networking site identi.ca.

Documents

Emacs Cheat Sheet – PDF Version – Key bindings for the Emacs Text Editor.

Emacs Cheat Sheet – Text Version – Key bindings for the Emacs Text Editor

Mutt Cheat Sheet – PDF Version – Key bindings for the Mutt Email Client.

Mutt Cheat Sheet – Text Version – Key bindings for the Mutt Email Client.

GPG and Keysigning guide – Ciaran has written a really nice GPG and Keysigning guide. Dead handy for key signing parties.

Using your Ipod on Linux – This was a guide for gtkpod and Sound Juicer written for non-technical users. E.g. one technical person sets up a computer for someone else and gives them this document. Nowadays, Ipod support for Linux is built into Rhythmbox and Amarok, so a non-technical user can hopefully use their Ipod on Linux without a document. But it might still be useful to someone.

How about Global Thermonuclear War? Wouldn't you prefer a good game of chess? Powered by zpress