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.1-py3-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4ba4b78916fd3c5649ca25e01a48cd42b77c4ef36c2c81e26054980cf097f434 |
|
MD5 | 5ce11d97272ef8e5b9c7e9dcf3f745ba |
|
BLAKE2b-256 | 8dc121374e33b6e18efff10abfc5f5a0edc7bbe53dceab56fbd88db5f45d5019 |
Hashes for h2o_wave-1.3.1-py3-none-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bfefaff08a856841578c9acee72e30b9501a2de7e9f654cfacc28e6f0c26bb6d |
|
MD5 | 6652d30e195ef6598c1e7f896fd71880 |
|
BLAKE2b-256 | 14675dd6abda1b25187594682ae660b701520654e2ce465b4b197e02fc47b84e |
Hashes for h2o_wave-1.3.1-py3-none-macosx_12_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a29a18ac0a69b63a05232c872e0ef1fcfdb1909c3cd29a8395a6ad6a342fedbc |
|
MD5 | c0bd98b8519e45ba85c3ee9646866c81 |
|
BLAKE2b-256 | fbc66f30a5e9644f262293f8329098741305ab8bb9e3b4e426edad519884c36e |
Hashes for h2o_wave-1.3.1-py3-none-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6f352d6c11537a5bff26a479bcf31d4783ceb9b92afa0997389711dbd3e191da |
|
MD5 | 26f9c64108f5ef69dfab04049c3fd711 |
|
BLAKE2b-256 | 061d161449d986d17fa84971f72a430199d619230dffdb27962ea6d056f1f94c |
Hashes for h2o_wave-1.3.1-py3-none-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ca018ea0a89811348b3c652c7ef3fa23f5ac71f8a473b94f88641306141c37bf |
|
MD5 | 848ab2582bd893b5b8225d2abb5f6d0b |
|
BLAKE2b-256 | 7a4789341fe66fe547b2876fa2b6b1a6962dd19fba072d719dd09a346b49210b |