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_server-0.3.2.tar.gz (132.8 kB view details)

Uploaded Source

Built Distribution

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

plesty_server-0.3.2-py3-none-any.whl (164.3 kB view details)

Uploaded Python 3

File details

Details for the file plesty_server-0.3.2.tar.gz.

File metadata

  • Download URL: plesty_server-0.3.2.tar.gz
  • Upload date:
  • Size: 132.8 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_server-0.3.2.tar.gz
Algorithm Hash digest
SHA256 94903a4621489ab459d5f5b76eb427d50bc70c66f3526030b50388f7f7030aeb
MD5 9be95b9d5aac7d092a7f6edc8d44fc91
BLAKE2b-256 36e2b605e785805a104a58b3552f2544020d3b89786a72243c84f666d7b3f62c

See more details on using hashes here.

File details

Details for the file plesty_server-0.3.2-py3-none-any.whl.

File metadata

  • Download URL: plesty_server-0.3.2-py3-none-any.whl
  • Upload date:
  • Size: 164.3 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_server-0.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 1570fd5ffc9d80db857a4fc226977e25084d978459bae72035a47bcb0c50bcbe
MD5 9c3f2c671d04bb10e81c12fe70dc5c7c
BLAKE2b-256 c5c88d11a17b6037255c5a8c97e0752beb53125ac429ece7e17d38a1bb8a624f

See more details on using hashes here.

Release history Release notifications | RSS feed

0.3.3

2 files

This release

0.3.2 This release

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

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