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.4.0-py3-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 38745c8828667a49dd45ff7f2833c5feb40363368c5977b313946d7ea682bc64 |
|
MD5 | f3d8c7917e262452e8dcd2bf07b59988 |
|
BLAKE2b-256 | 09432694ffc4d86236d194dc47284e1c70bb1a99f4de4ca8a468deda614032eb |
Hashes for h2o_wave-1.4.0-py3-none-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | edd5f5b4f30ce3aef4eb1e778936a51415d94e9418bcfaca1698ea270fe6fb28 |
|
MD5 | 324ca87fd523bc2eb75501c06bdf9e52 |
|
BLAKE2b-256 | fd254be032af642d697054ae355c7ad1d5b12c974cd8e8bc8812a276de70622e |
Hashes for h2o_wave-1.4.0-py3-none-macosx_12_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0ad85608323d9fe837a43c4161dd6d30419913fd139514ddb38fcad8a41ab7bf |
|
MD5 | c1992a5c499d0b553b820c808399b9a6 |
|
BLAKE2b-256 | 0ee0abe0c55244ca354c203db5ad9a4b21e087b8884e84117f2c950a0bc213d3 |
Hashes for h2o_wave-1.4.0-py3-none-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ecfdc1b26c01aa7e7f07b925744dbbd96d7a3366b913d17270f9a1d9a04814e5 |
|
MD5 | 60011f78a36e7d704d43ed562259d719 |
|
BLAKE2b-256 | da1da14c9a12943ff2ef5a6383672e51943619023fef901c85eee97f5ba8933d |
Hashes for h2o_wave-1.4.0-py3-none-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3b8d0dc0e84502f6d364a01581ffc90e6a8a9639e88c0b8857d0efd0e761be9b |
|
MD5 | f743a601d9c667f58d1764e0b51bc098 |
|
BLAKE2b-256 | 34f66984a779e3a0f1431e31a3cc2e31d966584e7e7a243e572702f9f3a1890d |