abravalheri / liveview

Real time browser <> ASGI communication / re-rendering for Python (inspired by Phoenix Live View)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

liveview

Real time browser <> ASGI communication / re-rendering for Python (inspired by Phoenix Live View)

Warning

Experimental Software

Description

Erlang, Elixir and Phoenix are awesome… but sometimes we just need something that is simpler and that must run on Python.

This package provides a simple implementation for something that resembles Phoenix LiveView, but less ambitious and much more unstable. The main idea is to be able to drive changes in the browser using a Python ASGI server.

Example Use Cases

  • Live editing and responsive preview for - SVG - markdown - reStructuredText (and other markup languages …) - plantUML - nwDiag - graphviz (and other text-driven diagram tools …)
  • matplotlib graphs and other kinds of server generated content
  • Avoid writing JS for simple applications

Note

This project has been set up using PyScaffold 3.2.3. For details and usage information on PyScaffold see https://pyscaffold.org/.

About

Real time browser <> ASGI communication / re-rendering for Python (inspired by Phoenix Live View)

License:Mozilla Public License 2.0


Languages

Language:Python 95.6%Language:Shell 4.4%