Sitelet https://github.com/microsoft/InQRy/tree/3fbc0a26b88ea69bda9c78bc4f971b2d7c8d5261
Skip to content
This repository was archived by the owner on Jul 23, 2024. It is now read-only.

Repository files navigation

InQRy

Obtains machine hardware specifications then generates a QR code containing the data.

Requirements

  • Python 3.6 or later (Homebrew installed version of Python 3 is recommended)

Using InQRy

Install

  1. clone the repository
  2. cd InQRy
  3. pip3 install -e .
  4. Run: python3 inqry

Build (Python 3.6 on macOS only)

  1. clone the repository
  2. pip3 install py2app
  3. python3 setup.py py2app --iconfile inqry.icns
  4. InQRy.app will be located in dist/.
    • GUI: Double-click from Finder to launch
    • CLI: open dist/InQRy.app

Description

InQRy is a cross-platform application that generates a single QR code containing the machine's hardware specifications. This application is designed primarily to be used during a physical inventory procedure.

The QR code contains detailed information about the client machine or device, which can then be scanned it quickly add assets into a Snipe-IT database.

How It Works

InQRy obtains hardware specs using shell commands and parses the output for the desired information. It then takes that information, processes it and instructs the qrcode Python module to create a QR code, which is displayed on the screen for scanning.

InQRy determines which instructions to follow based on the machine itself. Those instructions contain other necessary information that allow it to move fluidly through different types of fields in the Snipe-IT asset entry form.

InQRy was written to obtain asset information quickly and accurately for both an initial physical inventory procedure, as well as subsequent hardware audits.

Currently Supported Platforms

  • macOS Sierra
  • Windows 10
    • PowerShell
    • Git for Windows

Troubleshooting

For issues with Insalling:

  1. Verify Python version(s): python3 --version
  2. Verify using Python 3.6: python3 --version
  3. Verify pip is version 9.0.1: pip --version
  4. Remove all build and setup cache: rm -rf .eggs/ InQRy.egg-info/ build/ dist/ .cache/
  5. Overwrite cached dependency installs: pip3 install -e . --no-cache-dir
  6. Remove all requirements: pip3 uninstall -r requirements.txt -y
  7. Retry installation: pip3 install -e .

For issues with building:

  1. Remove all build and setup cache: rm -rf .eggs/ InQRy.egg-info/ build/ dist/ .cache/
  2. Verify Python version(s): python3 --version
  3. Verify using Python 3.6: python3 --version

About

A robust, cross-platform inventory utility that generates a QR code containing system hardware specs.

Topics

Resources

Code of conduct

Security policy

Stars

94 stars

Watchers

3 watching

Forks

Releases

Packages

Contributors

Languages