Skip to content

Playground¤

Play with Griffe's API directly in your browser thanks to Pyodide.

You can click the Run button in the top-right corner of the editor, or hit Ctrl+Enter to run the code.

Editor (session: default) Run
import griffe, micropip

# Install your favorite Python package...
await micropip.install("cowsay")

# And load it with Griffe!
cowsay = griffe.load("cowsay")
cowsay.as_json(indent=2)[:1000]
Output Clear