How zuegereliane/python-intermediate-inflammation works
Project type and purpose
• This is a lightweight Python data-analysis template used in an educational context. It provides:
• A small “inflammation” package (with models.py and views.py)
• A driver script (inflammation-analysis.py) that reads CSV data
• Test suite under tests/
• Sample CSV data files under data/
• A requirements.txt for dependencies (pytest, etc.)
• Learners will extend and fix the code during a workshop; it is not a finished production system.
File structure
• Top-level:
• .github/ – Issue templates (CI config isn’t provided but could be added)
• data/ – CSV datasets for analysis
• inflammation-analysis.py – entry-point script
• inflammation/ – Python package containing core logic
• tests/ – pytest-based unit tests
• requirements.txt – Python dependencies
• The “inflammation” package follows a minimal MVC pattern:
• models.py: data-processing functions (load, clean, stats)
• views.py: plotting or presentation functions
• No external microservices or databases—data comes from flat CSV files.
README for additional insights
• Emphasis on pytest and failing tests as requirements
• No deployment or CI pipelines specified other than issue templates
• No web or network components
Detail
• Break out each CSV or group of CSVs as a single “Data Source” node
• Configuration files or environment variables if added later
• Both package namespace (inflammation/) and script at the same level