Python API for reading binary data files created with the Goby next-gen data management framework.
This directory contains the Python API for reading binary data files created using the Goby next-gen data management framework.
Normally, this directory comes as part of the complete Goby package, available from:
The complete package includes the Java source code. If you downloaded this package from PyPI or some other Python-specific source, you may have received only the Python part of the code.
The Goby Python libraries are not as mature as the Java implementation. It may be more buggy and is not intended to provide the complete set of features that are found in the Java version.
Make sure you have Python 2.5 or newer. If in doubt, run:
$ python -V
Download and install the prerequisite python packages:
Available from http://code.google.com/p/protobuf/ or PyPI
pyjavaproperties - Python replacement for java.util.Properties
Available from http://pypi.python.org/pypi/pyjavaproperties
Install the Goby package:
$ python setup.py install
This step may require superuser privileges.
Example scripts are provided to demonstrate how to access the content of Goby files in Python.
Here is how to scan a Goby alignment file:
(The files basename.entries and basename.header must exit.)
The complete documentation for Goby is available online at: