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

Metadata

Release files for jsui 0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for jsui 0.0.2
File Size Uploaded Provenance
jsui-0.0.2.tar.gz 5.2 kB Without provenance Details

Release files / jsui-0.0.2.tar.gz

Download URL jsui-0.0.2.tar.gz
Size 5.2 kB
Tags Source
SHA-256 checksum
How to use checksums
16ae0f4911cb85781ace7891b087727354ed4f4d53bcb2fd107b63495b2cfe73
BLAKE2b-256 checksum
How to use checksums
a767b89209e3fc45f9fdaba680d01b32338bb118a64c87a4f496fb6182b77255
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for jsui 0.0.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page