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.1.0-py3-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 76f95ae4a26083bba60985d6136846f469bb1af2085c70c3366a412445abd067 |
|
MD5 | 1d2186c632e04c2f342039eaa8802a5e |
|
BLAKE2b-256 | 3b8daf5f1ed18659046d84f816bfbbf7352fe4b25bd1bb14f9025039ebd8d5fb |
Hashes for h2o_wave-1.1.0-py3-none-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7b7cb613412974c3297464d117ad9c0b7b1b439f811ffa4ce4017a65dc9a6038 |
|
MD5 | 1c7b4da690f5265a2fb2f472a16cce15 |
|
BLAKE2b-256 | df6871031ea9db9b83d9b40c5e4de8827263d154a38de5b9f5fc72cf6dd17744 |
Hashes for h2o_wave-1.1.0-py3-none-macosx_12_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d9d6211cdf6b154398c0ee764f742f9312cdae7f52e83f9a70de8800c22e91a5 |
|
MD5 | 799c02257adef042c3da4d5275a344fc |
|
BLAKE2b-256 | daa560bf6d5d33656f1a9f6da417a66aa3d859485fc4957f66bab9fb39d0ddac |
Hashes for h2o_wave-1.1.0-py3-none-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 495dc65a49b1c41c85e6bdafee0ebd5a99443da42a6356400c9d2f71843661ac |
|
MD5 | f013bcf48acd0c90d71c0dc368c15365 |
|
BLAKE2b-256 | b1b00cccc27749342c9c38a56eaeec6006ca0399dd0a80d613c8d21faaefaea8 |
Hashes for h2o_wave-1.1.0-py3-none-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ce882a69f3fc8d6eb5422e4e04d3f2e3ef5152cbbb7f1977733aae11d9841d87 |
|
MD5 | 2928bc5d9d08d66a7fc1108087f02ac9 |
|
BLAKE2b-256 | 98e4eeade248b499b4472e347b78ce41fa6134317749bb51f2ec265c6551afa8 |