GO Tools

Smart Game Format Parser Library: sgflib.py

version 1.0 (2000-03-26)

Download sgflib.tgz


There isn't much (yet; this will change), but what there is, you can find here, for sgflib.py and typelib.py. The source code is very well commented, and Python code can be (& I hope my code is :-) exceedingly easily read and understood.


Please note that sgflib.py and typelib.py are included as part of the sgfsummary.py download, so you need not download them separately. Although these modules are only useful to Python programmers, if you're not one, I encourage you to take a look. Python is a cool programming language.

You'll need the Python language itself, freely available from http://www.python.org.

To install, download and expand sgflib.tgz (tarred, gzipped) archive, which contains the following:


Description (what it is and what to do with it)


SGF Parser Library. Put this in a folder on Python's path. (documentation here)


Type Class Library. Put this in a folder on Python's path. (documentation here)


Installation instructions.


The GNU Lesser General Public License; applies to sgflib.py.

I have only tested this code on my system, MacOS 8.6, running Python 1.5.2. I did try to write it to be platform-independent. If you have any trouble running it, find (fix?) any bugs, or add any features, please contact me.

MacOS users: please see the Macintosh Python Notes and the Macintosh SGF Notes.

To Do

There's nothing on my list for sgflib.py right now.


Have any suggestions? Want to help? Let me know!

Return to the Go Tools main page

Go Tools project page

Project administrator: David Goodger

page last updated: 2000-03-26

Hosted by SourceForge.net

123count.com : counter and tracker