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.4-py3-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | edc0bdcfdbf958288d9e49668b9d3c981ac6e64e38190aebe88ae1599f3517b0 |
|
MD5 | 8ca58e4b24747c44a27c75a2606bd949 |
|
BLAKE2b-256 | 58df8f3519f6d02baa57bee5e7958732ca90a68b9ad9717ebcdf62b0ce5a5c22 |
Hashes for h2o_wave-1.3.4-py3-none-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1a8679ffac7c5a4be6673172dc148f5c5003646151677e68b31e25c827b6dc8e |
|
MD5 | 90548973d197ca0057b3c4a5fe80d1c3 |
|
BLAKE2b-256 | 9bfbd5c69c2110d5ed885828a6adf8d474ded3df5260919812e794635735216a |
Hashes for h2o_wave-1.3.4-py3-none-macosx_12_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b08b974fbd7ed0228c45f33b6aa53587970fe64b170c64c038a8c97e9652b84d |
|
MD5 | b94f5dffdb1d2256a29a2d0626093f86 |
|
BLAKE2b-256 | 2b488455c0f7b39f7ec9991aa97c8f2fab9981ef13f7e795ffcb34bfa014bb06 |
Hashes for h2o_wave-1.3.4-py3-none-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0a8abcb4feeee4175a2ed11319da6f8c7132cf7a2c1cdc6b3f1b131ce35b573d |
|
MD5 | 874973bff13c67ba391d34316420a24a |
|
BLAKE2b-256 | 996aa035e27203626b3bad4ca859257e65e4f5f50bdbde83caf451bed49c2aef |
Hashes for h2o_wave-1.3.4-py3-none-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a85949e4c45ed7fcca94ddd01e224b15cb8059b137c4e71cd73c77fe56d45c3e |
|
MD5 | f6f689525d5562db46669028b2de1ad1 |
|
BLAKE2b-256 | 3192458ffc210daa6a3c9a23e079096f07e3c4cd1bc5f2cd97085d1dc907d3b0 |