Author: Rouaia Abdelmonim
Version: 1.0.0
License: MIT
mypackage is a modular Python toolkit for ingesting, cleaning, and analyzing agricultural and weather survey data. It was built to support reproducible workflows, inclusive analytics, and real-world data validation—ideal for data scientists, analysts, and researchers working in sustainability, agriculture, or accessibility-focused domains.
This package was developed as part of a data science learning journey, emphasizing clean code, modular design, and professional-grade documentation.
- Connects to SQLite databases using SQLAlchemy
- Executes custom SQL queries for flexible data retrieval
- Reads CSV files directly from web URLs
- Renames columns for clarity and consistency
- Applies corrections to elevation and crop type values
- Maps geographic features to weather stations
- Validates column existence and plausible ranges
- Parses weather station messages using regex
- Extracts structured measurements from unstructured logs
- Aggregates mean values by station and measurement type
- Handles missing values and malformed entries gracefully
- Each processor is encapsulated in a class with clear methods
- Configurable via a shared
config.pydictionary - Designed for extensibility and testing