Not logged in

pyifbabel is a pure-Python implementation of the Treaty of Babel, a standard for identifying and handling the metadata of interactive fiction files. This module was originally written for Grotesque but it has been packaged separately to be easily used by other developers.

pyifbabel provides tools for extracting metadata from interactive fiction files, for working with IFiction XML files, and for building an object-oriented representation of an interactive fiction story file in Python. For more information, see the Tutorial.


This module is currently in beta. The necessary functionality to handle all of the story formats and wrappers covered by the Treaty of Babel exists and is well-tested. Some IFiction XML file handling functions, particularly the verification and lint routines covered by the official babel commandline tool, have not been written yet.

Please note that the module API might change slightly as it is developed.

More Information