Skip to content

Repository files navigation

Sun Graph

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

Install

uv sync

Run

$ uv run 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.
$ uv run 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

uvx ruff format
uvx ruff check --fix
uvx mypy .

About

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

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages