Skip to main content

name name

Juts

Jupyter widgets for scheduling processes and visualizing the resulting (live) data. While it is designed to use custom data-specific visualizations (plot widgets) based on ipywidgets, visualizations for time series data (bqplot), animations (matplotlib) and 3D data (ipyvolume) are included.

Quickstart

To start a process a so-called job has to be set up. A job consists of a Python function and a configuration. The function contains the code (machine learning, simulation, ....) to be executed, for example:

import time as tim
def wait_n_times_x_ms(config, process_queue=None, return_dict=None):
    n = config["parameter"]["n"]
    x = config["parameter"]["x"]
    
    time = list()
    time_series = list()
    for i in range(n):
        time.append(i)
        time_series.append(i / x)
        
        process_queue.put(dict(progress=int(i/n * 100),
                               time=i,
                               time_series=i/x))
        tim.sleep(x)

The configuration(s) can be read from a yaml file like this:

wait_40_times_100_ms:
    parameter:
        n: 40
        x: 0.1
        
wait_10_times_300_ms:
    parameter:
        n: 10
        x: 0.3

or can be defined as python dictionary.

Screencast min example.webm

Also live data can be monitored during script execution:

Screencast min example live.webm

A simulation example

A more practical relevant example is the following simulation of a reaction wheel pendulum under state feedback control.

Screencast pendulum.webm

Widgets can be easily connected if required:

Screencast pendulum link.webm

Since the simulation runs quite fast, a loop was put after it which sends the data with a delay. This shows that a job could also record live data from an experiment, so one could compare the simulation data with the measurements from a real pendulum.

Screencast pendulum live.webm

Visualizing 3D data

An example plot widget to view 3D data is also included. This one relies on ipyvolume.

Screencast 3d.webm

Metadata

Release files for juts 2023.4.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 juts 2023.4.2
File Size Uploaded Provenance
juts-2023.4.2.tar.gz 18.5 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for juts 2023.4.2
File Interpreter ABI Platform
juts-2023.4.2-py3-none-any.whl Python 3 none any Details

Total release size: 38.8 kB

Release files / juts-2023.4.2.tar.gz

Download URL juts-2023.4.2.tar.gz
Size 18.5 kB
Tags Source
SHA-256 checksum
How to use checksums
56e8943eba41bd482c4ca9df254bbcdf2b2a2323b6892782decf3dfded560dce
BLAKE2b-256 checksum
How to use checksums
b1740b09f8912576b5cd80dcbf693c39eaf8829cb0547d61740453f0eb911ce5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.11.3

Release files / juts-2023.4.2-py3-none-any.whl

Download URL juts-2023.4.2-py3-none-any.whl
Size 20.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
34caf5b582874fcd7a559222eec38476ec2f3095e82d49ef07c90c9f1e97f7cd
BLAKE2b-256 checksum
How to use checksums
400e3272ec23787ee4a81ad69806f0237ea881922a8fb86230b7dcd51cc3151f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.11.3

Security for juts 2023.4.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