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.5.0-py3-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b83b0d1cf13613dbf7d1c8e52933a24f2bd557cc992897b6526d9d2e7ebc110e |
|
MD5 | d29c4106a453c6953663e2d1b4fed3b0 |
|
BLAKE2b-256 | 5c5177c9fa480c7d4d4baa76c82558187eaf7240b464b7102be3342a70221de1 |
Hashes for h2o_wave-1.5.0-py3-none-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 26ba5165362c778d4ee951594f2d5c8bac16f162109a94e6f17ddeeb3722518b |
|
MD5 | a4132c757ccfbb8c6ee908a22aa8f668 |
|
BLAKE2b-256 | 3baddcbabf4f572a6ebc4bf3776ee147aa5236c59f38017790c9366255f50c0e |
Hashes for h2o_wave-1.5.0-py3-none-macosx_12_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 609e26ec32ecad2085f98c011b911afd031c6f9cb0691d3dbe9dab92f75af249 |
|
MD5 | 5f631fa1226d0332d0eafcf7645be5b1 |
|
BLAKE2b-256 | b14be4a416b491161900abbc6f82897aa3091f3b771faec07bdafb0a1d41cec4 |
Hashes for h2o_wave-1.5.0-py3-none-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7e96d033f12388a51558de369bed14f78abbddc5517aeb19420e3613c0ebb814 |
|
MD5 | 58d87e82ac77d4de87954cab03ca7670 |
|
BLAKE2b-256 | 462aab939300c541ca4b7e950aeaeaac950034859646c836c8b8a50f2910f6e8 |
Hashes for h2o_wave-1.5.0-py3-none-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 161827bc0039b200f0c1ad816b62cb695186a7f29db8cd4dd86ce38490a0377f |
|
MD5 | b21ef3679eb0a56ea83337ffd0f2812a |
|
BLAKE2b-256 | b53dbbb7e69ecd2feb8fe96d860ed8ba001cda6fdc52315e0155ebd6b6035207 |