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.0.2-py3-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 12c5ae49b86a19d82bb6760f8cf6f8ae5a4c98f45e0d4958523b8bd9f1a6f797 |
|
MD5 | 65a2f630cfb38a2c50690b6f3268e4a0 |
|
BLAKE2b-256 | c5cfef2b1be507ba76af2ec39e17fcf71a20a641a6ce8ff9d72011c52a7a0dcc |
Hashes for h2o_wave-1.0.2-py3-none-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | eec2373756696755980aef13651c5852c26ed69dcd5f1705a643cc276aee0b38 |
|
MD5 | 2d7470b5ad9161af9d9a6353ab83134e |
|
BLAKE2b-256 | e9c5a791cb79cab2899f88b3353d25deeecd5cb9d0b3a74027e0fab328ceb226 |
Hashes for h2o_wave-1.0.2-py3-none-macosx_12_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8091178c485a7f73b20e7a55fccb91de6170c3530b04175942500ffbed5a4066 |
|
MD5 | a126f71569ab6760c29e5e56c8461282 |
|
BLAKE2b-256 | e45c7bb56fece5336d66cf0372eda548591404473c258acc950f2c820bf0a5d9 |
Hashes for h2o_wave-1.0.2-py3-none-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a83aab5ff752ba8791d42a4d14acaa0c9633aee02d7a6f7f186c0926435f7675 |
|
MD5 | c36cebe28f9e0be6014ad528d669759c |
|
BLAKE2b-256 | c187f50f962603ae06bfce379b393391353fa18d626d19e69691522440d50ead |
Hashes for h2o_wave-1.0.2-py3-none-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2de5c27c9b892f2347e2eb81a31080bde20516c9a7b65f62e6d052c10d5c040d |
|
MD5 | 31bd021f32863f266d1b50d639b46e8c |
|
BLAKE2b-256 | 38d6481374db824af99009cbc378fa27d4ccd0595399c7fad13fff0394c08cb9 |