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.5.1-py3-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f453661b60f5dcd55c20216178eca0a23aa41aafa0cb23313ac8bb4c2bcb962c |
|
MD5 | a5f281376826096cdfdbaa25b01cbb40 |
|
BLAKE2b-256 | 10c1d8e00dabcd3719d86899ce9b9e4fcc7c8556d3dd3b112d0c1e2431ec34be |
Hashes for h2o_wave-1.5.1-py3-none-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8c52015b5d4911f169c202f37a1fad005f959230b5973abeaf8c6704577926d6 |
|
MD5 | 1f1178d8fcb7527e3bda317741ac1162 |
|
BLAKE2b-256 | 9256dfe56258b2aa48026d34961f1db1f977b16186307f92dbec0b5306a1c616 |
Hashes for h2o_wave-1.5.1-py3-none-macosx_12_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ff91ac837f2214b43dde0f7135f663e8d93d75715c58e65998b418cf3bef3984 |
|
MD5 | d251f4b9f4af2cfeebc55f6567fc040c |
|
BLAKE2b-256 | f0e734eb417617c43144c58a804be0a03be1b91f48822913249f741caa020ba4 |
Hashes for h2o_wave-1.5.1-py3-none-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fc8130802e03fbfbd4161ab4592305dc551668c070442e077a6d1f72453d6955 |
|
MD5 | 683e801266dd92368a90348b78fbd008 |
|
BLAKE2b-256 | 6eb80b149fd7370c5430ad0eb288c3706cb5bfca4eb11dddd5c6f9fb71f7590e |
Hashes for h2o_wave-1.5.1-py3-none-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f33424ae39bfe25acaf0be085a818e7f59ebf941fc544c13327569002343aa74 |
|
MD5 | 321fce96f4aea37a10a834255d75eae9 |
|
BLAKE2b-256 | ab817c03a8f8430fd44a39687547ab9453d7445105e6c44867588a44de6cdb9f |