Skip to content

Generate a graph showing sunrise and sunset times for the next year

License

Notifications You must be signed in to change notification settings

Rollcloud/sun-graph

Repository files navigation

Sun Graph

Generate a graph showing sunrise and sunset times for the next year.

Install

python -m venv .venv
pip install -r requirements.txt

Run

$ 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:

Configuration

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.

Lint

black .
flake8 .
isort .
mypy .

About

Generate a graph showing sunrise and sunset times for the next year

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages