Welcome to Garden Guardian, a project focused on building fault-tolerant data pipelines and robust monitoring workflows for smart greenhouse and IoT sensor networks.
In modern agriculture, real-time streams (soil pH, temperature, humidity) are prone to telemetry corruption and hardware dropouts. This project implements advanced defensive programming using Python's exception-handling matrix to ensure data pipeline integrity without system crashes.
- Language: Python 3.12.3
- Code Quality:
flake8linter compliant - Type Checking: Strict type hints verified via
mypy - Patterns: Built-in and classical custom exception hierarchies, transactional resource cleanup
π garden-guardian/
βββ π ex0/
β βββ π ft_first_exception.py # Basic String-to-Int Telemetry Validation
βββ π ex1/
β βββ π ft_raise_exception.py # Bound Checking & Threshold Exceptions
βββ π ex2/
β βββ π ft_different_errors.py # Multi-Exception Handling Blocks
βββ π ex3/
β βββ π ft_custom_errors.py # Custom Inherited Exceptions (GardenError)
βββ π ex4/
β βββ π ft_finally_block.py # Safe Context Cleanup & Resource Management
βββ π README.md