r/PyScript • • May 22 '22
PyScript and websockets
Can I use PyScript on the front end to handle websockets with a Python server like FastAPI on the backend? I’ve been using JavaScript on the front and curious if PyScript will work with websockets.
3
Upvotes
View all comments
Show parent comment
2
u/HandyGold75 Oct 24 '22
Published this repo as a small demo for anyone interested:
https://github.com/HandyGold75/PyScript-WebSocket