PyGgy is a Python package for generating and executing lexers and parsers. The package is complete enough to be used in its own construction. PyGgy is in the public domain.