Skip to main content

UNKNOWN

Project description

Webbrowser user interface for python.

import jsui

ui = jsui.UI()
thing = Thing()
ui.start({'thing': thing})

Support both synchronous and asynchronous (eventually) operations.

Support both explicit and inspected (eventually) object specificiations.

spec:
'name': # name of the thing to expose
'type': # function/number/string/etc...
'ui': # ui element to use
'js': # ui payload (may also be processingjs)
'html': # html payload
'css': # css payload

-- Functions --
call grab (js) -> call grab (py) -> wait -> get images (py) -> get images (js)
get new stage positions (js) -> positions (py) -> new positions (py) -> new stage positions (js)
move stage (js) -> move stage (py)
change config (js) -> change config (py)

to turn a variable into a function. This needs to 'capture' the variable
def funcify(v):
def f(*args):
if len(args):
v = args[0]
return v

Project details


Download files

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

Source Distribution

jsui-dev.tar.gz (5.0 kB view details)

Uploaded Source

File details

Details for the file jsui-dev.tar.gz.

File metadata

  • Download URL: jsui-dev.tar.gz
  • Upload date:
  • Size: 5.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for jsui-dev.tar.gz
Algorithm Hash digest
SHA256 90687d886021ae5291ac42664104ebb798fd2f2a89aeebdf9a586d01872f21d4
MD5 ae0fa002f0409352ada8c6c07230df4e
BLAKE2b-256 6fb0c03190577bbf1076802e4f9c4bd69243d376fbb89b67f900a3f4661be2b6

See more details on using hashes here.

Supported by

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