Sitelet https://github.com/microsoft/InQRy/tree/56fe3d4bd8b1508f9f0d17bae67f7e030656261c
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

Install

  1. clone the repository
  2. cd lab_inventory
  3. pip3 install -e .

Run

  • python3 inqry

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

  1. Verify Python version(s): python3 --version or python --version
  2. Verify using Python 3.6: python3 --version or python --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 .

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