pip install grance
import grance app = grance.Grance() @app.query("hello") def hello() -> str: return "world" print(app.execute("{ hello }"))