Obtains machine hardware specifications and generates a QR code containing the data.
- clone the repository
cd InQRypip3 install .python3 InQRy.py- Use the InQRy API from the Python interpreter with
import inqry
Example usage:
>>> from inqry.system_specs import systemspecs
>>> ss = systemspecs.SystemSpecs()
>>> ss.os_type
'Darwin'
>>> ss.memory
'8 GB'
>>> ss.storage
{'Drive 1': '251.0 GB SSD (APPLE SSD AP0256J)'}
- Python 3.4.4 or later (Homebrew installed version of Python 3 is recommended)
- OS X 10.10 or later (OS X 10.10 is recommended for forward compatibility)
- Xcode Command Line Tools (7.2.0)
- py2app (0.12) (
pip3 install py2app)
- clone the repository
python3 setup.py py2app --iconfile inqry.icns- InQRy.app is in
dist/
- Windows 10
- Python 3.4.4 (required)
- pyinstaller (3.3dev)
- clone the repository
pyinstaller --onefile --windowed --icon inqry.ico InQRy.py- InQRy.exe is in
dist/
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.
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.
- OS X 10.10 or later
- Windows 10
- Submit a bug: aka.ms/hubenglabsr
- Email: apxlab@microsoft.com
- Slack (apex-autoinfra.slack.com): #inqry
- Title should be formatted as "InQRy: short description here"
- Body should contain a longer description with steps to reproduce, screen shots, etc.