Skip to main content
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

Download files

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

Source Distribution

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

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for jsui-0.0.1.tar.gz
Algorithm Hash digest
SHA256 34280f674dfbb5de4cb3c383d6063e3771d8ab041757fa4ff6a7e6b677ac969f
MD5 1ea89b6e49ae7cb0913b7479147b4370
BLAKE2b-256 4a3438df3591a3f611aa075388604a647b9db44b300dec568170bcc87f8361a2

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 Sentry Error logging StatusPage Status page