Python earthquake data scraper that fetches data from KOERI and stores it in AWS RDS PostgreSQL with bronze/silver layers.
# Prerequisites: Python 3.7+, AWS RDS PostgreSQL instance
git clone https://github.com/utkuyucel/earthquake-tracker
cd earthquake-tracker
pip install -e .
cp .env.example .env
# Configure .env with your RDS credentials
# One-command setup and run
python setup_and_run.py
python db_manager.py test # Test RDS connection and check stats
python run_scraper.py # Run scraper only
magnitude_mlsetup_and_run.py - Complete pipelinerun_scraper.py - Scraper onlydb_manager.py - Database utilitiessrc/earthquake_tracker/ - Core packageEdit .env file with your AWS RDS credentials:
DB_HOST=your-rds-endpoint.region.rds.amazonaws.com
DB_PORT=5432
DB_NAME=earthquake_db
DB_USERNAME=postgres
DB_PASSWORD=your_password