Plesty Thorlabs Power Meter Device
One Plesty device module for the Thorlabs PM-series optical power and energy meters — PM100D, PM100A, PM100USB, PM160/PM160T, PM200 and PM400. They share a single SCPI command set, so the module implements it once and reads the console and the fitted sensor head from the instrument at connect.
Installation
git clone https://gitlab.com/plesty/hub/devices/thorlab/powermeter.git
cd powermeter
uv sync
Run as a TCP server
uv run python -m plesty.thorlabs_powermeter --tcp-port 5555
The default address matches any Thorlabs USB-TMC console; pass
-a "USB0::0x1313::0x8078::<serial>::INSTR" to name one unit.
Without hardware, --mock serves an in-memory SCPI simulator, optionally as a
named console and head:
uv run python -m plesty.thorlabs_powermeter --mock PM400:S401C
See docs/index.md for supported consoles, how to add one, and troubleshooting.
Metadata
Release files for plesty-thorlabs-powermeter 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| plesty_thorlabs_powermeter-0.1.0.tar.gz | 215.0 kB | Without provenance | Details for plesty_thorlabs_powermeter-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| plesty_thorlabs_powermeter-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for plesty_thorlabs_powermeter-0.1.0-py3-none-any.whl |
Total release size: 274.6 kB
Release files / plesty_thorlabs_powermeter-0.1.0.tar.gz
| Download URL | plesty_thorlabs_powermeter-0.1.0.tar.gz |
|---|---|
| Size | 215.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a445a40fc245758018c87e6eddc5f76569ddd94137913491e536b866872b4182
|
|
BLAKE2b-256 checksum How to use checksums |
5c1770cbb80a02feaf988830e17e8d94b1d04a354bd6c3c25afc5535f068d154
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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}
|
Release files / plesty_thorlabs_powermeter-0.1.0-py3-none-any.whl
| Download URL | plesty_thorlabs_powermeter-0.1.0-py3-none-any.whl |
|---|---|
| Size | 59.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
036bde4d96722d1891105fb2f7ebad4a5ac5808d53cd3c0075019137d4400fe6
|
|
BLAKE2b-256 checksum How to use checksums |
92c08f2a3fb11f627c5e9b839a8b17f9f945b34c8fe4f3fc8a41cd226e5e28f0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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}
|
Security for plesty-thorlabs-powermeter 0.1.0
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.