What is Griffe?
mainGriffe is a Python tool and library designed to extract the signatures, structure, and skeleton of entire Python programs. It is primarily used for:
- Generating API documentation: For example, the
mkdocstringsPython handler uses Griffe to collect API data for HTML rendering. - Finding breaking changes: It can compare different versions of an API to identify breaking changes.
- Data serialization: It can load and serialize API data into JSON format for programmatic use or inspection.