pysp: The SP SGML parser as a Python module

Version: 0.01
Author: Lars Marius Garshol -
Last release: 2001-02-18

What is pysp?

pysp wraps the SGML parser SP as a Python module. SP is written in C++, and so is pysp. The module provides a very simple event-based interface to the SGML parser, more or less the minimum needed in order to be able to develop SGML processing applications. There are no platform dependencies in this module, so it should be as portable as SP itself. It should work with Python 1.5.x, 1.6, 2.0 and 2.1.

Version 0.01 has not seen much testing, so this should be considered an experimental release. Bugs should be reported to me via email.


pysp is free and you can do as you like with it. If you change it, please let me know so that I can work the changes into my next releases.


You can download pysp here. The only alternative right now is a zipped source file. If more formats are wanted, please let me know.


Any and all feedback is welcome, from suggestions for improvements or new features to bug reports. And I really mean it! If you have some opinions on this program, please let me hear them.

Last update 2001-02-18.