Metadata-Version: 2.4
Name: qr-generator-Automator
Version: 0.1.3
Summary: Standalone local QR generator for petri dish labels – Streamlit web UI
Author: Rohan R
License-Expression: MIT
Keywords: qr,generator,petri-dish,labels,streamlit
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Web Environment
Classifier: Intended Audience :: Science/Research
Classifier: Operating System :: MacOS
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Topic :: Scientific/Engineering :: Bio-Informatics
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: qrcode[pil]>=7.4
Requires-Dist: streamlit>=1.30
Dynamic: license-file

# qr-generator-Automator Package

A Streamlit-based Python package for generating and printing Petri dish QR labels for [TSL Automator](https://github.com/rotsl/Automator)

## Package Scope

This package provides:

- QR payload generation in the format `YYYYMMDD_strain_media_condition_orientation`
- Browser-based QR preview for up to 20 labels
- Single-label print and A4 sheet print (4 x 5)

## Installation

Install from PyPI:

It is recommended to use a venv:

```bash
python3 -m venv qrenv
source qrenv/bin/activate
pip install --upgrade pip
pip install qr-generator-Automator
```


## Command

After installation, run:

```bash
qr-generator
```

Alternative module entrypoint:

```bash
python -m qr_generator
```

## Runtime Options

```bash
qr-generator --host 127.0.0.1 --port 8765 --no-browser
```

- `--host`: bind address
- `--port`: port number
- `--no-browser`: do not open browser automatically

## How to Connect to Automator 

Connect LAN cable of Automator in Growth room to your Laptop, open [http://automator.local:8080/main](http://automator.local:8080/main) and follow on screen instructions. 

## Printing Behavior

- Printing uses the browser print dialog
- Single print opens one QR label card
- Sheet print opens a 20-slot A4 grid

## Proceed Behavior

- Proceed shows: "This local QR generator only creates and prints QR labels. Imaging must be started separately on the Automator system."
- Proceed to Imaging system also opens: `http://automator.local:8080/main`

## License

MIT. See `LICENSE`.

