Skip to main content

Plesty K10CR1 Device

Plesty device for the Thorlabs K10CR1 motorized 360° cage rotation stage, driven over USB serial with the binary APT protocol (no Kinesis/.NET runtime required, works on Windows and Linux).

Device constants (unit scaling, software limits, stage defaults, runtime defaults) live in plesty/k10cr1/config.yaml; the parameter set is defined in plesty/k10cr1/schema_param.json.

Installation

git clone https://gitlab.com/plesty/hub/devices/thorlab/plesty-k10cr1.git
cd plesty-k10cr1
uv sync

Run As TCP Server

Connect the stage via USB and set DEVICE_PORT in .env (or --port, or running.port in config.yaml) — either the serial port (COM3, /dev/ttyUSB0) or, better, the controller's serial number from the unit's label (55001327), which stays valid when replugging moves the COM name. Then:

uv run python -m plesty.k10cr1 --tcp-port 5555

Pass --mock to serve the in-memory APT motor simulator instead of real hardware.

Run pytest

All tests run against the simulator; set DEVICE_PORT in .env to also run the real-device test.

uv run pytest

Download files

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

Source Distribution

plesty_k10cr1-0.2.0.tar.gz (131.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_k10cr1-0.2.0-py3-none-any.whl (19.4 kB view details)

Uploaded Python 3

File details

Details for the file plesty_k10cr1-0.2.0.tar.gz.

File metadata

  • Download URL: plesty_k10cr1-0.2.0.tar.gz
  • Upload date:
  • Size: 131.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_k10cr1-0.2.0.tar.gz
Algorithm Hash digest
SHA256 37f1829eb4752701ccae2e2ac028ac0bb27a0ddbc0b71e6023928c44c2b41032
MD5 77f48dc687dae582120683613b9a235a
BLAKE2b-256 7e46cf8f0a3faf65c0a2b93e89abd9b091e4336efa056530f6f7db6a59658955

See more details on using hashes here.

File details

Details for the file plesty_k10cr1-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: plesty_k10cr1-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 19.4 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_k10cr1-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 21195cabeb860560891b10b8a2cc935df16b6bbef602c228385c348083d89ffb
MD5 225a8780a8d01b5cdde09d1102f8d4b6
BLAKE2b-256 ab44b31256417693abcccec8cc84d9da2943e37f08618c8b08609f4640b166d0

See more details on using hashes here.

Release history Release notifications | RSS feed

0.3.0

2 files

This release

0.2.0 This release

2 files

0.1.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