Skip to main content

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 site, ui

# Access the web page at http://localhost:10101/demo
page = site['/demo']

# Add some content.
page['example'] = ui.markdown_card(
  box='1 1 2 2',
  title='Hello World!',
  content='And now for something completely different.',
)

# Save the page
page.save()

Run hello.py:

$ python hello.py

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for h2o-wave, version 0.12.1
Filename, size File type Python version Upload date Hashes
Filename, size h2o_wave-0.12.1-py3-none-any.whl (224.2 kB) File type Wheel Python version py3 Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page