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.2.0-py3-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 18c2fe0ab3a4239c0beac44905a8a4e1307ee0982e80542a69c71a6de0512752 |
|
MD5 | 72996ca2673d55ed53e24e5f90a56ee3 |
|
BLAKE2b-256 | b626db778fa8f9ee0504d983e0b94cfee5bc4f703456ba1958943a04f8e95008 |
Hashes for h2o_wave-1.2.0-py3-none-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f1cff2492a69efd659724cce678b5fafdf9db5f21cd729b813c197302b3f221a |
|
MD5 | c1b06446afad18b21b4b0af1c16075e1 |
|
BLAKE2b-256 | a78e5a03f06833de16748209d9dc2a823cb5d26e8ba2d74e28b3bac3bf9a62ac |
Hashes for h2o_wave-1.2.0-py3-none-macosx_12_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | df7baac24e1994f3ea1e2d9d1080d1431f05a782a61fa8e67dfc4124e4dcf8f9 |
|
MD5 | dcd166a9b1ec6b72ae810687a43bb250 |
|
BLAKE2b-256 | 3d7e914a060670851f8019c3413ba9f198c2b4bbd3ae563bf5a33189f0968eea |
Hashes for h2o_wave-1.2.0-py3-none-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 53d30f2af665d4825aca8cd0cc15eb8f34ca33032c2cecc53b013d18804bc777 |
|
MD5 | a5274d3763c5826cba3657c6175e9ee9 |
|
BLAKE2b-256 | 4f81adc43c83ae5e27bd6cc947ff31f1107012f5abb960ac16b53df9d895cced |
Hashes for h2o_wave-1.2.0-py3-none-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9ec031acc989c4f34d41324aadc7e72448eee41f8aad9d2306a0d800717ee0c2 |
|
MD5 | a387ddbf6076deb57bebb96025477db2 |
|
BLAKE2b-256 | 3b0aa878505b7ad9feeaa50517d6cd26ebd537ec7081e00fa9a745dd66ea1da4 |