Skip to content

A sundial library for python. Create an analemmatic sundial in less than 5 minutes.

License

Notifications You must be signed in to change notification settings

AttackingOrDefending/sundialy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sundialy

PyPI version Tests Build Mypy codecov Docs

A sundial library for python. Create an analemmatic sundial in less than 5 minutes.

Installing

Download and install the latest release:

pip install sundialy

Features

  • Includes mypy typings

  • Create a sundial

from sundialy import AnalemmaticHorizontal

# An analemmatic sundial for Los Angeles.
sundial = AnalemmaticHorizontal(latitude=34, longitude=-118)
  • View how it will look
sundial.create_sundial("sundial.jpg")

Sundial

  • Use the tools
    • SPA (Solar Position Algorithm)
    • SAMPA (Solar and Moon Position Algorithm)
    • SOLPOS (Solar Position and Intensity)
    • Bird (Bird Clear Sky Model)
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)

License

sundialy is licensed under the MIT License. Check out LICENSE for the full text.

About

A sundial library for python. Create an analemmatic sundial in less than 5 minutes.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages