How it-leadic/asset-management works
This repository is a small IT asset-management application with a Flask web interface and separate command-line workflows for QR labels and printable label sheets. The principal user flow is an administrator logging in, viewing the asset dashboard, and editing an assignment; a public QR scan resolves to asset details. The web app obtains workbook data from SharePoint, while the standalone scripts generate QR images and PDFs from the local workbook. The README gives no further feature detail, and the excerpts do not establish links between the web app and the SQLite utilities.
Main entry points: app.py Web routes and views · IT_Assets.xlsx Asset workbook · generate_qr.py QR label generation · generate_labels.py A4 PDF layout
Components 14
Asset web app
- Web routes and views
app.py - SharePoint workbook
- Microsoft identity
Label production
- QR label generation
generate_qr.py - QR label images
- New QR file list
new_qr_files.txt - A4 PDF layout
generate_labels.py - Printable label PDF
Local asset data
- Asset workbook
IT_Assets.xlsx - SQLite initialization
database.py - Add new assets
import_new_assets.py - SQLite asset database
assets.db
Other components
- Administrator
- QR scanner user
Connections 14
- Administrator → Web routes and views: uses dashboard
app.py - Web routes and views → Microsoft identity: authenticates with
- Web routes and views → SharePoint workbook: downloads and updates
app.py - QR scanner user → Web routes and views: opens asset page
- Asset workbook → SQLite initialization: supplies rows
database.py - SQLite initialization → SQLite asset database: creates and fills
database.py - Asset workbook → Add new assets: supplies rows
import_new_assets.py - Add new assets → SQLite asset database: inserts new assets
import_new_assets.py - Asset workbook → QR label generation: supplies asset IDs
generate_qr.py - QR label generation → QR label images: writes images
generate_qr.py - QR label generation → New QR file list: records generated files
generate_qr.py - New QR file list → A4 PDF layout: selects new labels
generate_labels.py - QR label images → A4 PDF layout: supplies label images
generate_labels.py - A4 PDF layout → Printable label PDF: writes PDF
generate_labels.py