Projects

This is a list of projects that I am currently, or have previously, worked on.

reStructuredText Viewer

Online editor and viewer for reStructuredText documents

Web application to enable editing and preview of reStructuredText using the docutils package. Implemented using the Flask web framework.

Begins

Command line programs for busy developers.

Simplifying the creation of Python command line programs, Begins automatically performs command line parsing from function signatures. The developer decorates a program's 'main' function and Begins handles parsing the command line and calling the main function when the program is run. Begins also supports sub-commands as well as configuring the logging module, extended tracebacks, configuration files and environment variables.

Funcsigs

Python function signatures from PEP362 for Python 2.6, 2.7 and 3.2+.

This is a backport the sections of the Python standard libraries inspect module that implement function signatures. It is functionally equivalent to the standard library. Changes are limited to those necessary for compatibility.

Filemagic

A Python API for libmagic, the library behind the Unix file command.

Implemented using ctypes, Filemagic simplifies the identification of file types from magic strings by Python applications. Developers can identify files from filenames or string buffers as well as supplying their own magic string files.

Prefixtree

Python dictionary and set implemented using prefix trees.

Providing dict and set like Python objects using a pure Python implementation of a trie or prefix tree. Using a trie keeps all keys in sorted order, enabling prefix scan functionality to be added. Unfortunately the performance of this package is quite poor.