Skip to content

everyday-dev/partsbox-scanner-middleware

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Partsbox 2D Scanner Middleware

This script acts a middleware between the 2D scanner and the Partsbox web app. It reads the barcode from the scanner via a serial port, replaces non-printable ASCII characters as needed, and send the final barcode string as a keyboard input to be picked up by Partsbox.

Setup

python -m venv env
source env/bin/activate
pip install -r requirements.txt

If on linux you'll need to install the following packages:

apt install python3-tk

Usage

To connect a scanner connected to /dev/ttyACM0 at 115200 baud:

python partsbox_barcode.py /dev/ttyACM0 115200

About

Python script that acts as middleware between a serial port connected 2D scanner and electronic inventory software, Partsbox

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages