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.3-py3-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 14e314cb2ae3ecc267179fa43c2d974b52a506f1bd86e7d34079e97573b3f8d6 |
|
MD5 | 35019215a384c385e48174f4a9f63705 |
|
BLAKE2b-256 | 556da29ef6af9a8b3d9f43e055d7f5f13fbeda1eb7a02789deebcf8ffeff4695 |
Hashes for h2o_wave-1.3.3-py3-none-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bba180c80da2d77dc5c98ec11393a2d802c9b1e96b0a09f3b3ada0131359cd87 |
|
MD5 | 731c8f3d27e4bc6e7c7b7fc5951863d6 |
|
BLAKE2b-256 | 65e5aefd119fbdcd8e76ace69763fda20207ddfe79c58b166435587384b4dd64 |
Hashes for h2o_wave-1.3.3-py3-none-macosx_12_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 59fb24d27fdcc77722dbf42eb3055bc166bd0b756dd4cf8a22aba2eed35b8da1 |
|
MD5 | fef9e622b68de537a53859a1f1ffb0e3 |
|
BLAKE2b-256 | d02647cf1f2d0e8eb0f27496549e7c84e9c17acb672cbd5b88c8fdfc65fcf296 |
Hashes for h2o_wave-1.3.3-py3-none-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6643eb63efda04bad893ec988105e0590bfe3a0f38379e3477b5081f252b2b02 |
|
MD5 | 7cea2d558bf0d5a794a03ee0d5030fa3 |
|
BLAKE2b-256 | e8ddd8a857deb24f332e2057dc88270a0485f957124183dd76cadbb4e56d62f3 |
Hashes for h2o_wave-1.3.3-py3-none-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c595773f2ef7f13113af97cc6894551589cf587575fa25f5899086c957d0f4de |
|
MD5 | b6e995db25d8a223859dcf7f681f3093 |
|
BLAKE2b-256 | 3d19c8a4a749e5448f0dbf53309656afd7ac5aa656988ae0b7b3d3dbff897279 |