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.1-py3-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9d6dc5a9d7e7c3ddb806e20c73c3dd1cdf762b6932cdb795b48f12acd3332220 |
|
MD5 | 0d05182c68786ec808d1ae3ad597da2d |
|
BLAKE2b-256 | f2a86938216c5357ede11810c52784a007b09c729f8fab0f39a2dba9b259ec16 |
Hashes for h2o_wave-1.1.1-py3-none-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1c98f75e87da53afd9d0d9dfcaba326769d0329b08aaf368e397fadf14da4fa8 |
|
MD5 | 983d2b7e9d11d3065613dd70c48fd6a3 |
|
BLAKE2b-256 | 6f97fcc414036e6c1f0d1e3a2df259f086b72b1dca5c895f2565add226c75c0f |
Hashes for h2o_wave-1.1.1-py3-none-macosx_12_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ae152175858cc453482e869cbdf2e11e4ef9f008610b76fd5943a420a9c44b3e |
|
MD5 | a82da5d38cf4d7b5455f006fe54e4658 |
|
BLAKE2b-256 | b29697bd8c65ed9b0bab09159a7ee7cab6ed6d3a842c54d044c0621011f8b05a |
Hashes for h2o_wave-1.1.1-py3-none-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4d24fcbd4ab5f18066e17e592c8eed30a0c52967205f43328db2fbd4683e3975 |
|
MD5 | 85d84ea80a4b1a5065c67f3cafbbbe74 |
|
BLAKE2b-256 | 474654fc9c7d046252869eda4c4a70130e0865798c8bdf19c38453aa08e5ab1e |
Hashes for h2o_wave-1.1.1-py3-none-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fa2368485e1fdf83477810d23326eb8580dd2870ff89e24a30f605d384b744e6 |
|
MD5 | ee8e10f2e8450a92785dc9f2ebeaa07e |
|
BLAKE2b-256 | 874cf2af382f0d118c57c3f519ed276ce8d256e870d62c59f45e6e020cec2b84 |