conradbez / hstream

Hyper Stream
295 stars 13 forks source link

HStream

Convert your script to interactive python web app like so:

user_said = hs.text_input("What would you like to say:")

Powered by Django + htmx enables easy app ejection to scale/extend once you've outgrown HStream. Inspired by Streamlit.

Usage

pip install hstream

hstream init # populates example.py

hstream run example.py

hstream demo

Motivation

Write beautiful user interfaces that enable quick iteration for Proof-of-Concept (PoC) python scripts, without the need to start over when we go to production.

Love Streamlit but:

H-(html)-Stream is built with semantic html, Django and htmx to provide a fast and simple framework for rapid web app development that follows traditional frontend/server architecture (or at least follow it closer than Streamlit).

Some features that excite us

Some examples

Technologies

Big thanks to the following libraries in particular

Backlog (WIP)