/hyperdiv

Build reactive web UIs in Python

Primary LanguagePythonApache License 2.0Apache-2.0

Hyperdiv

Hyperdiv is a framework for rapidly developing reactive browser UI apps in Python, with built-in components, terse immediate-mode syntax, and minimal tool boilerplate.

Hyperdiv includes the Shoelace component system, markdown support via Mistune, charts via Chart.js, support for reading/writing browser local storage, and forms whose validation logic is implemented in Python.

Click this image to watch the coding demo video:

video-image

Intro Article

Check out the website and read the intro article.

Demo Apps

There is a separate repo with a few demo apps built with Hyperdiv.

Installation

Install Hyperdiv from PyPI:

pip install hyperdiv

Hyperdiv requires Python 3.9+ and has been tested on macOS and Linux.

Documentation

After installing Hyperdiv, open the documentation app locally with the following command:

hyperdiv docs

The documentation app is built with Hyperdiv.

Roadmap

  • Third-party plugins
  • Distributed state
  • Diffing changes to text inputs
  • Visual component builder
  • Performance improvements

Contact

If you're interested in deploying Hyperdiv, want to share ideas, or have questions, say hello.