Python driver for H2O Wave Realtime Apps
Project description
H2O Wave is a lightweight software stack for programming interactive web applications entirely in Python (no HTML/Javascript/CSS required).
It is designed to make it fast, fun and easy to build low-latency, realtime, collaborative, web-based applications. It ships batteries-included with a suite of form and data visualization components for rapidly prototyping analytical and decision-support applications.
Wave’s components work in conjunction with the Wave relay server that facilitates realtime state synchronization between Python and web browsers.
Installing
Install and update using pip:
pip install -U h2o-wave
Hello world
hello.py:
from h2o_wave import main, app, Q, ui
@app('/')
async def serve(q: Q):
q.page['hello'] = ui.markdown_card(
box='1 1 3 3',
title='Hello world!',
content='Welcome to Wave!'
)
await q.page.save()
Run hello.py:
$ wave run hello.py
Links
Website: https://wave.h2o.ai/
Releases: https://pypi.org/project/h2o-wave/
Issue tracker: https://github.com/h2oai/wave/issues
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
Hashes for h2o_wave-1.3.2-py3-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c94a3a05f47e142254e9dee0eaa6af15c778ff24346828c9e1d9b1b925b07c8b |
|
MD5 | c3d8c0f2a25efbd69060d49a9a7f0ade |
|
BLAKE2b-256 | ba14527df084beb709f3a2920c307803e8cc4631ee4027dd09bdd5ccd299e6d9 |
Hashes for h2o_wave-1.3.2-py3-none-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d20fb02233ac3d61386cd95a28770e99e5ce3837e6c1d5074b7098aa6e543e81 |
|
MD5 | 929436f8c34faba15076fd91099ddf6c |
|
BLAKE2b-256 | e40dc346f30b917ad7bad10e045347e010788f5e40376ed6ec7621c8bd9f0241 |
Hashes for h2o_wave-1.3.2-py3-none-macosx_12_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3370c0f10e749a7c89459384ed71e4fadde1618b8c40b7eee19d3bacaa6815d0 |
|
MD5 | db50bb4bd5f03e67b17a8807ecae4db0 |
|
BLAKE2b-256 | 3365469a9f3e167908816da3b87296b4a1f6312e4be31a65d36cf5e7b2fee06a |
Hashes for h2o_wave-1.3.2-py3-none-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 31e24caa58e2ca7e5e5e26c30752491bb3e02212bb8cb8cbdc3126b2e6d3f159 |
|
MD5 | 43446da45355903fa29e67798e33c797 |
|
BLAKE2b-256 | cf266e31acfac0aa8e42c27d1fa16129cf0de493d15819e708d19c873de1ad33 |
Hashes for h2o_wave-1.3.2-py3-none-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a7d04f42b0ecb6662198ae0f9bffe3ba41eaffa1cf80649c2c88e40ebdc01e93 |
|
MD5 | 22b9b55106b504ded18e7944dc0d0f12 |
|
BLAKE2b-256 | 83d0064a967773630839e7d5a18b760c30d7d2498089d12ab6e3b016cf77534c |