How kjq2000/imtool works
IMtool is an inventory-management web application for maintaining stock, purchases, sales, bookings, and related records, with spreadsheet import support. The visible workflow is a user interacting with the Flask application, which renders pages, accesses its database layer, and can launch an import; the importer validates tabular files and batch-inserts records. The tree also contains a separate Flask notes/authentication app and a standalone CockroachDB client. The primary app is only partially excerpted, so its less-visible features are grouped by domain rather than assigned speculative call paths.
Main entry points: app.py Inventory web app · Import.py Spreadsheet importer · __init__.py Notes app setup · auth.py Account authentication
Components 18
Inventory management
- Inventory web app
IMtool app/website/app.py - Stock and purchases
IMtool app/website/app.py - Sales and bookings
IMtool app/website/app.py - Web pages
IMtool app/website/templates - Barcode generation
IMtool app/website/barcode.py - App configuration
IMtool app/website/dictionary.py
File ingestion
- Spreadsheet importer
IMtool app/website/Import.py - Import files
IMtool app/system_files/Import
Database access
- Inventory database layer
IMtool app/website/models.py - CockroachDB client
CockroachDB_Connection.py - CockroachDB
Separate Flask app
- Notes app setup
flask app/website/__init__.py - Account authentication
flask app/website/auth.py - Notes routes
flask app/website/views.py - Notes data models
flask app/website/models.py - Notes database
Other components
- Inventory user
- Notes app user
Connections 15
- Inventory user → Inventory web app: uses
- Inventory web app → Web pages: renders
IMtool app/website/app.py - Inventory web app → Inventory database layer: queries
IMtool app/website/app.py - Inventory web app → Spreadsheet importer: launches
IMtool app/website/app.py - Spreadsheet importer → Import files: processes
IMtool app/website/Import.py - Spreadsheet importer → Inventory database layer: batch inserts
IMtool app/website/Import.py - Spreadsheet importer → App configuration: uses paths
IMtool app/website/Import.py - CockroachDB client → CockroachDB: queries
CockroachDB_Connection.py - Notes app user → Notes app setup: uses
- Notes app setup → Account authentication: registers
flask app/website/__init__.py - Notes app setup → Notes routes: registers
flask app/website/__init__.py - Account authentication → Notes data models: looks up
flask app/website/auth.py - Account authentication → Notes database: commits account
flask app/website/auth.py - Notes routes → Notes data models: creates notes
flask app/website/views.py - Notes routes → Notes database: commits notes
flask app/website/views.py