Skip to main content

plesty-server · plesty-bench

The bench PC's own console for the PLESTY platform. It installs hub device modules, starts and supervises their device servers, runs field tests against the real instruments and keeps the logs — so a lab bench is set up and kept running from one place instead of one venv, one terminal and one hand-written uv pin per instrument.

This repository publishes two packages:

Install on Install with
plesty-server — the bench application: CLI, Qt console, agent the bench PC uv tool install "plesty-server[gui]"
plesty-bench — the client that drives a bench from elsewhere your own machine uv tool install plesty-bench

On a Windows bench, the releases carry a setup.exe (per-user, no admin); macOS and Linux have install.sh. Both install uv, run the command above and add a Start-menu / Launchpad entry — they contain no application code of their own.

Bringing up a bench

plesty-server fleet init                      # a fleet.yaml to declare into
plesty-server declare pm100d plesty-pm100d --version 0.2.1 \
    --arg --address --arg "USB0::0x1313::…::INSTR"
plesty-server start pm100d                    # installs, launches, waits until it answers
plesty-server status

The instrument is now reachable from an experiment PC at this machine's address on the port status reports. plesty-server gui opens the same bench in a window; plesty-server fleet run keeps it up headless after a reboot.

Driving it from your own machine

The bench serves an agent; the client sends it plesty-server command lines and follows the output.

plesty-bench -b lab-bench-03 status
plesty-bench -b lab-bench-03 field-test pm100d --gates connect,drain
plesty-bench -b lab-bench-03 control pm100d          # a control panel per device

Documentation

Full documentation — start there if anything below is unfamiliar. It is in two parts.

Using a bench, in the order you meet it:

Setting up a bench The fleet file, declaring devices, ports, the .env
Device modules The catalogue, installing, several versions side by side
Running device servers Start, stop, status, logs, the working fleet, headless benches
Field tests Running a module's field test against the instrument
The console Every part of the window, and the control panels
Working remotely The agent and the plesty-bench client
Maintenance Upgrading, clearing logs, purging, uninstalling
Command reference Every plesty-server command

Design and internals is the other part: the architecture, the process model, the port rules, the installer, the agent protocol, the platform differences and the release machinery — for contributors, and for anyone debugging behaviour that only makes sense once the mechanism is visible.

New to the platform? The PLESTY quickstart runs a whole experiment against a bench and is the gentlest way in.

Download files

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

Source Distribution

plesty_bench-0.3.3.tar.gz (539.4 kB view details)

Uploaded Source

Built Distribution

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

plesty_bench-0.3.3-py3-none-any.whl (16.9 kB view details)

Uploaded Python 3

File details

Details for the file plesty_bench-0.3.3.tar.gz.

File metadata

  • Download URL: plesty_bench-0.3.3.tar.gz
  • Upload date:
  • Size: 539.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.9.30 {"installer":{"name":"uv","version":"0.9.30","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"12","id":"bookworm","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for plesty_bench-0.3.3.tar.gz
Algorithm Hash digest
SHA256 8d16cfe755127442abb9a127d4991ea11a5ee69d2d6783d2cbaaba3821da3a7e
MD5 cd77734e68328bda2335a70cd471c2b1
BLAKE2b-256 90349dbdec22bbe2757dbe4d0e538ad93c56f4f1090c4039451f62b8cc8186a4

See more details on using hashes here.

File details

Details for the file plesty_bench-0.3.3-py3-none-any.whl.

File metadata

  • Download URL: plesty_bench-0.3.3-py3-none-any.whl
  • Upload date:
  • Size: 16.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.9.30 {"installer":{"name":"uv","version":"0.9.30","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"12","id":"bookworm","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for plesty_bench-0.3.3-py3-none-any.whl
Algorithm Hash digest
SHA256 499fea9104152bc49826b169ff781e5fba8d73bdddbc82b9dfc5981a504a16f4
MD5 469f0a69885765d3448def6eb6aa6344
BLAKE2b-256 e9698978f50ca0716db635ab624bad5bd78f4e42cb4568382ff38468cbd68dee

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.3.3 This release

2 files

0.3.2

2 files

0.3.1

2 files

0.3.0

2 files

0.2.8

2 files

0.2.7

2 files

0.2.6

2 files

0.2.5

2 files

0.2.4

2 files

0.2.3

2 files

0.2.2

2 files

0.2.1

2 files

0.2.0

2 files

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