from shanks import App app = App() @app.get('api/hello') def hello(req): return {'message': 'Hello World'} urlpatterns = app.get_urls()