A Python-based system designed to efficiently manage and redistribute surplus food to those in need while minimizing food waste.
Uses MySQL for storing and managing food surplus, donor, and recipient data
Secure login system for donors and NGOs
ML-based prediction model for food waste estimation
Intelligent matching of food donors with recipient NGOs
Integration with USDA API for nutritional information
Live tracking of food availability and redistribution status
- Python 3.11
- MySQL Database
- SQLAlchemy ORM
- Machine Learning Libraries
- USDA Food Data API
- Clone the repository
- Install dependencies:
pip install -r requirements.txt
- Configure database settings in main.py:
DB_CONFIG = {
'host': 'localhost',
'user': 'your_username',
'password': 'your_password',
'database': 'food'
}
Main application entry point and database configuration
Data processing and management
ML model for waste prediction
Route optimization for food distribution
Nutritional analysis integration
Database schema and queries
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
This project is licensed under the MIT License - see the LICENSE file for details.