Skip to content

MeepOwned13/elload_weather_hun_api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hungarian Electricity load and Weather API

This API will provides 10 minute updates on electricity load and weather for Hungary and provides electricity load forecasts as well using AI.

Refer to OMSZ Terms and Conditions on how to use the data this project downloads, manages in a Database.

Refer to MAVIR publication guide on MAVIR SystemLoad on how to use electricity data.

Installation

python -m venv .venv
".venv/Scripts/activate"
pip install -r requirements.txt

Specify MySQL database connection data in .env file.

# .env example
DB_HOST = localhost
DB_USER = sebok
DB_PASS = sebokpassword
DB_NAME = hunelwapi

Usage

python src/main.py # API will start on localhost:8000

Switches:

  • -h, --help: Show help message and exit
  • -sc, --skip_checks: Skip initial check for new data, used for restarting
  • -d, --dev: Run in development mode, no updates happen, internet connection not needed

About

BSc Thesis Project for ELTE

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published