A comprehensive Dash application for generating laboratory labels with QR codes and barcodes, adapted from original work by Luiz Felipe Almeida and Luiz Rosso.
- Generate QR code labels for tissue and soil samples
- Support for experimental metadata including:
- Project name, site, year
- Block and treatment information
- Sampling stage/depth and fraction
- Randomized Complete Block and Split-Plot designs
- Generate biomass labels with Code128 barcodes
- Support for multiple information fields
- Optional unique codes
- Manual Entry: Fill in experiment details through the web interface
- CSV Upload: Upload existing CSV files with label data
- Clone or download this repository
- Install the required dependencies:
pip install -r requirements.txt
-
Run the application:
python app.py
-
Open your web browser and navigate to
http://127.0.0.1:8050 -
Select your label style (QR codes or Barcodes)
-
Choose your data input method (Manual or CSV Upload)
-
Fill in the required information or upload your CSV file
-
Generate and download your PDF labels
app.py- Main Dash applicationrequirements.txt- Python dependencieslabels_pdf/- Directory for generated PDF files (created automatically)
CSV should contain columns: Project, Site, Year, Block, Treatment, Plot, Sampling Stage/Depth, Sampling Fraction, ID
CSV should contain columns: biomass_info1, biomass_info2, biomass_info3, biomass_ucode (optional)
This application was developed by Pedro Cisdeli and is adapted from original work by:
- Luiz Felipe Almeida - QR code label generation system
- Luiz Rosso - Biomass barcode label system
This project is open source and available under the CC BY-NC-SA 4.0 license. See the LICENSE file for more details.