How stredes/inventario_app works
Project type and purpose
• This is a desktop inventory management application (“Inventario App”) written in Python.
• It uses Tkinter for the GUI, SQLAlchemy + SQLite for persistence, and follows a modular architecture (GUI, Core, Data, Utils, Reports).
File structure
Top-level directories and files:
• config/settings.ini – application configuration.
• docs/ – architecture overview and database schema.
• src/
• main.py – entry point (initializes Tkinter main window).
• gui/ – all Tkinter views and dialogs (ProductsView, SuppliersView, etc.).
• core/ – business-domain managers (inventory_manager, purchase_manager, sales_manager, supplier_product_manager).
• data/ – data‐access layer: database connection (database.py), ORM models (models.py), repository wrapper (repository.py).
• reports/ – reporting logic and print backend.
• utils/ – helpers (image storage, PO/SO generators).
• app_data/media/products – folder for persisted product images.
• tests/ – pytest test cases for core and data layers.
• scripts/seed_fake_data.py – data seeding for development/testing.
• run_app.py / setup.py / requirements.txt – app launcher and dependencies.
README for additional insights
• Confirms modular architecture: GUI, Core, Data.
• Entry command: python -m src.main → creates SQLite file in src/data/.
• Highlights primary features (Products, Suppliers, Purchases, Inventory Movements).