PyScript: Python in the Browser with custom url

Hey,
Is it possible to use PyScript in the custom url to build html pages ?
It would be nice as we are already using Python in the spreadsheets.

Thanks

Hi there,

It is possible. Custom widgets can use whatever you want. Note that the python code within the custom widget won’t connect directly to python formulas so having python in both places won’t be particularly helpful. Linked below is an article that walks through custom widgets and has notes on how to create your own.

https://support.getgrist.com/widget-custom/

1 Like

Ah yeah but I mean building views quickly with jinja2 for example
would be easier for people mastering only python :grinning:
so accessing the rows from a python library in the custom url would be awesome and pythonic :grin: