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.0-py3-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9efa760c49d609399340c29ebfe17cdf269a822a316e7d45209b59f51b0e15e9 |
|
MD5 | 1d62fcce8b3bd1c8766704d975e38a35 |
|
BLAKE2b-256 | ba2d7bf4e20850224947d33699df76ca9861421bb3bcbba58a43b0779b4beaa6 |
Hashes for h2o_wave-1.0.0-py3-none-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f6950b764387d648727a23d3f0c31d63865ab6e2effb52695ed138ce9786bd5b |
|
MD5 | d1816ab3e1cc86d07ff79cf8fb97e279 |
|
BLAKE2b-256 | bb9cdf5a50dc39f9ff95e3d1720ec1a1093f1efb6d6e59c76857e60fa88b06fd |
Hashes for h2o_wave-1.0.0-py3-none-macosx_12_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ecd77d49412bbae1b8d0eaa54f0079a15c1534b815b4eee9ced357e52f4f6d26 |
|
MD5 | 15acaf5569de5f75be711e9f4e5b9003 |
|
BLAKE2b-256 | 6e4b10484e7efcc096a66cf033d0b684f8255beded52c466cd4d3f73d3eb7fdb |
Hashes for h2o_wave-1.0.0-py3-none-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0a290b28dc2fce5d3ed7370cca103322a8a5874b7e5bc06d132a8be5ea555713 |
|
MD5 | 50513e959839059972530be5b0327fdc |
|
BLAKE2b-256 | 448fe2652cf593e9dd7be35b875a517c7f4b9c9fbb1a487f8981d7226c56bff6 |
Hashes for h2o_wave-1.0.0-py3-none-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7af7edf73adf3f6ef9cb297934b203cfd81951cf6f71dbc64308b00a86ced946 |
|
MD5 | 07413d167cb6fb77a79ac71822bceace |
|
BLAKE2b-256 | afc1bb283a2eaa4f409282a7cb807c1e05bb5c5511f6d59a4250e01ae7c88411 |