Show HN: PyWebIO – Write interactive web app in script way
PyWebIO is a Python library which provides a series of imperative functions to obtain user input and output on the browser. The input function of PyWebIO is blocking, and the output function will output content to user in real time.<p>You can use PyWebIO to build simple web applications or browser-based GUI applications without the need to have knowledge of HTML and JS.<p>The way of writing PyWebIO applications is more like writing a terminal program. You can think of the browser as a rich text terminal while writing PyWebIO app. If you have a terminal script, you only need to replace the input and output functions with PyWebIO's functions to turn your terminal script to a web application.<p>Features：<p>- Support click events, layout and output updates.<p>- Support integration into existing web project, currently supports Flask, Django, Tornado, aiohttp 
framework.
 - Support for asyncio and coroutine.<p>- Compatible with data visualization libraries, e.g., plotly, bokeh, pyecharts.<p>Links:<p>- Demos: <a href="http://pywebio-demos.demo.wangweimin.site/" rel="nofollow">http://pywebio-demos.demo.wangweimin.site/</a><p>- Documents: <a href="https://pywebio.readthedocs.io/en/latest/" rel="nofollow">https://pywebio.readthedocs.io/en/latest/</a><p>PS: I am not a native speaker of English, so the documents may be a bit obscure. If you have any questions, please feel free to discuss on <a href="https://github.com/wang0618/PyWebIO/discussions" rel="nofollow">https://github.com/wang0618/PyWebIO/discussions</a>