Generate a graph showing sunrise and sunset times for the next year.
python -m venv .venv
pip install -r requirements.txt
$ python main.py --help
Usage: main.py [OPTIONS] LOCATION_NAME
Generate sun graphs for LOCATION_NAME.
Options:
--recalculate Recalculate sunrise and sunset times.
--help Show this message and exit.
$ python main.py ibiza
Generates:
- PDF (printable A4): sun-graph_ibiza-spain.pdf
- PNG (display):
Additional locations can be added to locations.yaml
by duplicating and changing the existing entry.
Additional events, such as solstices and equinoxes, can be added to config.yaml
under events
.
black .
flake8 .
isort .
mypy .