Coder Social home page Coder Social logo

microscan-driver's Introduction

microscan-driver

Build Status PyPI version

Python driver for Microscan barcode readers

The author of this software is not affiliated with Microscan Systems Inc.

"Microscan" and "MS3" are trademarks of Microscan Systems Inc. and are used in this software and its accompanying documentation to the benefit of the trademark owner, with no intention of infringement.

How to install

Clone this git repository or download the repository as a zip package and extract. Then, from the root folder of the repository, run

$ python setup.py install

Depending on your setup and environment, you might want to consider doing so inside a virtualenv.

This package only has a single requirement (which is automatically installed when running the above command): The pyserial library provides access to the serial port and is implemented in pure Python. In other words: This driver does not use any C extensions and should work in many Python implementations.

How to run unit tests

From the root folder of the repo, run:

$ python -m unittest

No additional dependencies are required.

Supported devices

Currently, this library aims to implement all features documented in the MS3device user manual (with exceptions listed below).

Not (yet) supported features

Specific Settings

The configuration settings listed below are not currently implemented in this library:

  • For the Host Port Protocol setting, the values "Multidrop", "User Defined", and "User Defined Multidrop"
  • Matchcode (all functionality described in chapter 7 of the user manual)
  • Configuration settings for the Codabar, Interleaved2Of5, and Pharmacode symbologies

A workaround for applications that require these features, is to send the corresponding configuration strings directly using the MicroscanDriver.write() method, for example, to only output symbol data on match, but as soon as data is available:

driver = MicroscanDriver('COM3')
driver.write(b'<K705,1,0>')
driver.close()

General Functionality

No sanity checking is performed on the combinations of settings in a configuration. Only individual settings and their subsettings are (to limited degree) validated against the specification.

microscan-driver's People

Contributors

jonemo avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.