GO Tools

SGF Summarizer: sgfsummary.py

version 1.0 (2000-03-26)

Download sgfsummary.tgz

Documentation

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

Here is some example output. It is a tab-delimited text file, so it won't look good in a browser. Try importing it into a spreadsheet.

Installation

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

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

File

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

sgfsummary.py

The main program. Put this wherever you like. On Unix/Linux, you will have to set the mode bits (chmod a+x sgfsummary.py), and if your Python interpreter is not at /usr/local/bin/python, you will have to edit the first (#!) line. (documentation here)

sgflib.py

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

typelib.py

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

README.txt

Installation instructions.

gpl.txt

The GNU General Public License; applies to sgfsummary.py.

lgpl.txt

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 write it to be at least minimally portable (POSIX-style command-line & stdout interface) to other platforms. 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

Have any other 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

SourceForge
Hosted by SourceForge.net

123count.com : counter and tracker