labnet-sim
Simulated LabNet devices, for developing and demonstrating experiments without
hardware: an optics bench (DummyLaser, DummyAOM, DummyEOM, DummyAWG),
DummyDevice, a motor-tuned SimulatedTunableLaser and a SimulatedWavemeter.
pip install labnet-sim
Install it on a Lab PC to serve these devices, and on clients and the Control Center to use them. A Lab PC inventory creates the drivers:
from labnet_sim import PhysicalDummyAOM, PhysicalSimulatedWavemeter
def create_devices():
return [PhysicalDummyAOM("bench-aom"), PhysicalSimulatedWavemeter("bench-wavemeter")]
and a client uses the facades:
from labnet import LabClient
from labnet_sim import DummyAOM
central = LabClient.from_env()
aom = DummyAOM(client=central) # leases the first available dummy_aom
try:
aom.set_frequency(80.0)
finally:
aom.close() # releases the lease
central.close()
It is also a complete example of a LabNet driver package: protos in
protos/labnet_sim/v1/, drivers in src/labnet_sim/<family>/physical.py, and
everything in src/labnet_sim/_generated/ built by labnet driver build.
Ready-made Lab PC inventories for a development network are in
labnet_sim.inventories.
Documentation: https://mill0851.github.io/labnet/drivers/ (writing a driver package like this one). LabNet is MIT licensed. Source: https://github.com/mill0851/labnet.
Metadata
Release files for labnet-sim 3.0.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 | |
|---|---|---|---|
| labnet_sim-3.0.0.tar.gz | 43.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| labnet_sim-3.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 101.9 kB
Release files / labnet_sim-3.0.0.tar.gz
| Download URL | labnet_sim-3.0.0.tar.gz |
|---|---|
| Size | 43.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
772231edb4e57faf867807f5aff0115de532f0a7cc158f56ac956bc8fa947de9
|
|
BLAKE2b-256 checksum How to use checksums |
a649b1a417141f80279f2269756fdfe241c51ac545b01f7dd0fbe8446209d124
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 9, 2026.
Transparency logRelease files / labnet_sim-3.0.0-py3-none-any.whl
| Download URL | labnet_sim-3.0.0-py3-none-any.whl |
|---|---|
| Size | 58.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8aa5d92acaf2b86b75ddeb44bc9e06bba86b98dd9b0e2a23c0c828a6ab977b9c
|
|
BLAKE2b-256 checksum How to use checksums |
0519aec6c2af6d213da5affb52bd862bb4d013e8e654906997c2e4f8cd5c2eb3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 9, 2026.
Transparency log