How whps0620/smartpack-finder works
Food-Pack-Mapper is a Streamlit decision-support tool for selecting sustainable packaging materials against food barrier requirements. Users choose a food category or enter custom OTR/WVTR ranges; the app loads and cleans material data, clusters materials by permeability, and presents a log-scale map and matching-material results. The README also describes representative materials, a safe-zone overlay, and food-specific requirement context. The sampled source places these stages in app.py; no separate implementation modules are evident in the tree.
Main entry points: app.py Streamlit selector · materials_permeability.csv Material profiles · food_requirements.csv Food requirements
Components 12
Requirements and Data
- Streamlit selector
app.py - Material profiles
materials_permeability.csv - Food requirements
food_requirements.csv
Permeability Analysis
- Clean and aggregate
app.py - Requirement selection
app.py - Four-tier clustering
app.py - Representative materials
app.py
Selection Results
- Log-scale mapping
app.py - Requirement safe zone
app.py - Range matching
app.py - Matching materials table
app.py
Other components
- Packaging user
Connections 14
- Packaging user → Streamlit selector: sets requirements
- Streamlit selector → Material profiles: reads profiles
- Streamlit selector → Food requirements: reads limits
- Streamlit selector → Clean and aggregate: prepares data
- Streamlit selector → Requirement selection: selects limits
- Clean and aggregate → Four-tier clustering: scales and clusters
- Four-tier clustering → Representative materials: summarizes tiers
- Streamlit selector → Log-scale mapping: renders permeability
- Streamlit selector → Requirement safe zone: plots selected limits
- Streamlit selector → Range matching: filters ranges
- Range matching → Matching materials table: provides matches
- Representative materials → Log-scale mapping: labels clusters
- Requirement selection → Requirement safe zone: sets bounds
- Requirement selection → Range matching: sets bounds