label_printer.py renders a DK-11221 23x23 mm label (QR code linking to the lamp's buildfor.life page plus the ID) and sends it over the network backend (brother-ql-next). The station prints two after each successful measurement, one for the box and one for the lamp; printer failures never lose a run, and any lamp can be reprinted with uv run label_printer.py <ID>. Printer address via HPCS_LABEL_PRINTER or --printer.
14 lines
335 B
TOML
14 lines
335 B
TOML
[project]
|
|
name = "hpcs6500"
|
|
version = "0.1.0"
|
|
description = "Open-source driver and CLI for the HPCS 6500 spectrophotometer / integrating sphere"
|
|
readme = "README.md"
|
|
requires-python = ">=3.11"
|
|
dependencies = [
|
|
"pyserial>=3.5",
|
|
"colour-science>=0.4.4",
|
|
"qrcode>=8.2",
|
|
"pillow>=12.3.0",
|
|
"brother-ql-next>=0.12.0",
|
|
]
|