Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

usb-barcode-scanner-julz

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

usb-barcode-scanner-julz

Handheld USB Scanner package

  • 0.2
  • PyPI
  • Socket score

Maintainers
1

usb_barcode_scanner

Support input from a hand-held USB scanner in python - such as this one:

https://www.amazon.co.uk/gp/product/B0736NNZNV/

Usage:

The library is very simple to use: just import it and in case, wait for input.

from usb_scanner.scanner import barcode_reader
if __name__ == '__main__':
    try:
        while True:
            upcnumber = barcode_reader()
            print(upcnumber)
    except KeyboardInterrupt:
        logging.debug('Keyboard interrupt')
    except Exception as err:
        logging.error(err)

Installation

pypi homepage : https://pypi.org/project/usb-barcode-scanner/ github : https://github.com/julzhk/usb_barcode_scanner

install with:

pip install usb-barcode-scanner

Compatibility

Tested and working in Linux and Raspberry Pi, using Python 3.6, but should work with Python 2.7 too.

License

The software is provided "As is", without warranty of any kind, express or implied. Please see the MIT license attached.

Support & Contribution

Questions? Drop me a line : usb_barcode_scanner_support.20.learningfuture@spamgourmet.com

Suggestions and improvements welcome.

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc