|
|
|
|
|
by pitah1
670 days ago
|
|
I recently went down the rabbit hole of using PyScript for running a Python CLI app in the browser. It felt hacky the whole time, especially when dependencies were involved. I had to create wrapper classes to work around Pydantic 2.x not being available to use. I tried to put all logic into the Python files but found some things missing that I had to put in JavaScript. I think it could be good in use cases where you want some simple UI with custom UI logic on top of your Python code but maybe Streamlit or Gradio could be more suitable. GitHub repo: https://github.com/data-catering/data-contract-playground Website: https://data-catering.github.io/data-contract-playground/ |
|