sundialy: A sundial library for python
Installing
Download and install the latest release:
>>> pip install sundialy
Features
Includes mypy typings
Import the library
>>> from sundialy import AnalemmaticHorizontal
Create a sundial
>>> sundial = AnalemmaticHorizontal(latitude=34, longitude=-118) # An analemmatic sundial for Los Angeles.
View how it will look
>>> sundial.create_sundial("sundial.jpg")
Use the tools
>>> from sundialy.tools import SPA
>>> spa_results = SPA(2020, 12, 31, 23, 59, 59, 0, 0, 0, 0, pressure=1000, temperature=10, omega=0, gamma=0)