Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
14 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 13 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,22 +119,29 @@ In hardware prototyping, the cost of downtime exceeds the cost of inventory.
β”œβ”€β”€ assets/ <-- Static assets (images, demos)
β”œβ”€β”€ Dockerfile <-- Container configuration
β”œβ”€β”€ examples/ <-- Output: Sample generated artifacts
β”‚ └── Pedal_Build_Pack_Complete/
β”‚ └── Star_Ground_Artifacts/
β”‚ β”œβ”€β”€ Field Manuals/
β”‚ β”œβ”€β”€ Sticker Sheets/
β”‚ β”œβ”€β”€ Source Documents/
β”‚ β”œβ”€β”€ Pedal Shopping List.csv
β”‚ β”œβ”€β”€ Shopping List.csv
β”‚ └── My Inventory Updated.csv
β”œβ”€β”€ raw_boms/ <-- Input: Source files for the Presets Library
β”‚ β”œβ”€β”€ pedalpcb/
β”‚ └── tayda/
β”œβ”€β”€ src/ <-- Application Core
β”‚ β”œβ”€β”€ bom_lib.py <-- Logic: Regex engine & buying rules
β”‚ β”œβ”€β”€ constants.py <-- Data: Static lookups and regex patterns
β”‚ β”œβ”€β”€ bom_lib/ <-- Domain Logic Package
β”‚ β”‚ β”œβ”€β”€ __init__.py <-- Public API exposure
β”‚ β”‚ β”œβ”€β”€ classifier.py <-- Logic: Component identification heuristics
β”‚ β”‚ β”œβ”€β”€ constants.py <-- Data: Static lookups and regex patterns
β”‚ β”‚ β”œβ”€β”€ manager.py <-- Logic: Inventory mutation & net needs calculation
β”‚ β”‚ β”œβ”€β”€ parser.py <-- Logic: PDF/CSV ingestion engines
β”‚ β”‚ β”œβ”€β”€ presets.py <-- Data: Library of known pedal circuits
β”‚ β”‚ β”œβ”€β”€ sourcing.py <-- Logic: Purchasing rules & hardware injection
β”‚ β”‚ β”œβ”€β”€ types.py <-- Data: Type definitions (TypedDicts)
β”‚ β”‚ └── utils.py <-- Logic: String parsing & normalization
β”‚ β”œβ”€β”€ exporters.py <-- Logic: CSV/Excel generation
β”‚ β”œβ”€β”€ feedback.py <-- Logic: Google Sheets API integration
β”‚ β”œβ”€β”€ pdf_generator.py <-- Output: Field Manuals & Sticker Sheets
β”‚ └── presets.py <-- Data: Library of known pedal circuits
β”‚ └── pdf_generator.py <-- Output: Field Manuals & Sticker Sheets
β”œβ”€β”€ tests/ <-- QA Suite
β”‚ β”œβ”€β”€ samples/ <-- Real-world PDF/Text inputs for regression
β”‚ └── snapshots/ <-- Golden Master JSONs for PDF testing
Expand Down
2 changes: 1 addition & 1 deletion app.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@
rename_source_in_inventory,
sort_inventory,
)
from src.bom_lib.presets import BOM_PRESETS
from src.exporters import generate_shopping_list_csv, generate_stock_update_csv
from src.feedback import save_feedback
from src.pdf_generator import generate_master_zip, generate_pdf_bundle
from src.presets import BOM_PRESETS

st.set_page_config(page_title="Star Ground", page_icon="⚑")

Expand Down
Loading