Skip to content

partiallyZen/METRCassemble

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

METRCassemble

This repository creates CSV files for upload to METRC.

Wut?!

This repository currently handles input through an A&D scale, Zebra Scanner, and keyboard to create a METRC-compliant CSV to upload weighed items

Why?

I need it to help streamline operations in a cannabis grow operation.

Installation

Pre-Requisites

  • Python 3.10+
  • Python Modules [Run requirements.bat]: time, serial, datetime, textwrap, tabulate, os, numpy, [See imports.py]
  • RS-232C Port for Input from Scale
  • Scanner for METRC Tag Input (HID Mode)

Install

  • Plug in RS-232C Cord and USB to PC/Mac/Potato
  • Plug USB scanner into same Potato
  • Run Device Manager to locate COM port for scale and put it into pyserial.py
  • Run main.py It is just a script so it does not really have a installation. Run "main.py" with computer connected to scale and scanner. Follow the prompts. CSV will populate in folder run. You can change the name of the create file main.py line 16.

Warning

Currently new rows will be appended to the same document during the same day. As METRC only requires the day/date, double check csv before submitting to the State. Consider yourself warned...

About

This repository creates CSV files for upload to METRC.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published