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.1-py3-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cde482fa74d7d01a649a5223bcb68352eca6473ad122822ca1dafeb784979768 |
|
MD5 | 35930e48355436dc160e56bf7d5583c1 |
|
BLAKE2b-256 | 910009103f9d9b57e90037f060debce1d05c25821e1cd4e25a92f28ce3a42c05 |
Hashes for h2o_wave-1.0.1-py3-none-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 59f3d2c9f7d2a6362de183c28f29bed1b866059660ad5718ff924adbebdc748b |
|
MD5 | 1b5f99ee18256149a2a20b40f888abb6 |
|
BLAKE2b-256 | 2b270ed092987f9b14cade616835304d5c2aa5dd818ad59a6a0531ae99acb24d |
Hashes for h2o_wave-1.0.1-py3-none-macosx_12_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2543d0bd688f9d664bcedf8082540cdeda99eef6851fd02f03ad60b8a6f76a9e |
|
MD5 | b38468fe97cdf811dad9695a89a1b692 |
|
BLAKE2b-256 | c9a2e2a07d0e4685ebc0dadad47a7f0230b4f41592f4ff42aa6d22809a25eb43 |
Hashes for h2o_wave-1.0.1-py3-none-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7a5bf73247f26f3c7ba7651a87285c57a42fd10b6c9c9b5ba5214a89a39c3495 |
|
MD5 | d0c8774b9585113b0f2be7760d98d301 |
|
BLAKE2b-256 | be0edf54a10cdbd8ab4574b9f06980f975a31a78095fa3f0ab45883733c347c5 |
Hashes for h2o_wave-1.0.1-py3-none-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c09ade421a728e6753c2942734507d5fa8c1a5e454a2312dbab6f1c473d6bb02 |
|
MD5 | 06442bcec81bf49675c5c8e5e0609a9c |
|
BLAKE2b-256 | 3b0789eeae91047c51853874813f6abf4ef10cb35c58d781c09c8beb35878cdf |