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.2-py3-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 162ac35a0df20bbb23bfe417ee285c4008fca6896ef5047b293b144a4520b2bb |
|
MD5 | c96459e13242bf8dd2e0c35e6bd6ba80 |
|
BLAKE2b-256 | c83a8055e5d5d89ecf069af02140bad37fc3e2c34b9a50372892ab01894b81e5 |
Hashes for h2o_wave-1.1.2-py3-none-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ef4c38a878ea958364a352c3870ba0f475b933c928307031497d5d082019aa86 |
|
MD5 | f5e963ce35ada36c15cdce562238d2b0 |
|
BLAKE2b-256 | 3f158bda3d3e4d8667cd8ca9ef3a6cc9742a782743782cb86770b135de8f3f68 |
Hashes for h2o_wave-1.1.2-py3-none-macosx_12_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 02e25fd0a40d1f733b181007fb683a0f575041ee9f86cc9daf4dcaba2f1232eb |
|
MD5 | e0e1ae4be8e8e75b416d48c5752e3896 |
|
BLAKE2b-256 | 0cb9779de0c53a27d8d62fecaf37b24fa548d63dbdfb7acde56d0ac57a67364a |
Hashes for h2o_wave-1.1.2-py3-none-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8510904dbd1b38755a70fbb512bcf9a41a27a407d3efdd41894cdb6488945165 |
|
MD5 | f1b6d5f29ae53f2899772043e3e935fa |
|
BLAKE2b-256 | 4bfabfce43f6e9f9a292340fe76d2ce4181001349464818712734abc28cf55dc |
Hashes for h2o_wave-1.1.2-py3-none-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 122f5183482502ae4d13acb7fbf601967e14f760741aed86c8b3886d645fd9c3 |
|
MD5 | a060fe93fd34c6b09906c734a9d454cd |
|
BLAKE2b-256 | 5f17e2c5013772523d0b605e6cc90abfbcb2d156af190a5a7ad32fc289e84c36 |