User guide¤
Welcome to the Griffe user guide!
Manipulating APIs¤
The following topics will guide you through the various methods Griffe offers for exploring and exploiting Python APIs.
-
Loading
Griffe can find packages and modules to scan them statically or dynamically and extract API-related information.
-
Navigating
Griffe exposes the extracted API information into data models, making it easy to navigate your API.
-
Serializing
Griffe can serialize your API data into JSON, for other tools to navigate or manipulate it.
-
Checking
Griffe can compare snapshots of the same API to find breaking changes.
-
Extending
API data can be augmented or modified thanks to Griffe's extension system.
Recommendations¤
These topics explore the user side: how to write code to better integrate with Griffe.
-
Public API
See our recommendations for exposing public APIs to your users.
-
Python code best practices
See our best practices for writing Python code.
-
Docstrings
Griffe supports multiple docstring styles. Learn about these different styles, and see our recommendations to write docstrings.