Skip to main content

Python driver for H2O Q / Telesync Realtime Apps

Project description

Telesync is a lightweight library 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.

Telesync’s components work in conjunction with the Telesync relay server that facilitates realtime state synchronization between Python and web browsers.

The Telesync relay server is built into H2O.ai Q for enterprise-grade hosting.

Installing

Install and update using pip:

pip install -U telesync

Hello world

from telesync import Site, ui

# Connect to the Telesync server.
site = Site()

# Get the web page at route '/demo'.
# If you're running this example on your local machine,
# this page will refer to http://localhost:55555/demo.
page = site['/demo']

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

# Finally, sync the page to update the web browser.
page.sync()
$ python hello.py

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

telesync-0.0.2-py3-none-any.whl (41.8 kB view details)

Uploaded Python 3

File details

Details for the file telesync-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: telesync-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 41.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.4.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.2

File hashes

Hashes for telesync-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 090fe86af29a4160e36dff739c8d57e6851d2420c87bf825025d0d6886b0e7c4
MD5 328b1469b0cbdddb9cdd578cd726bc03
BLAKE2b-256 dfda4b155f6c78325bb6e244c26992ee106d3641f2e78d2c2c2c6b184cd98c2a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page