Skip to main content

A Solar Calculator

Project description


Solar Calculator

This package generates Solar Position Data based on Latitude, Longitude, Date and Time Zone.
Future updates will include elevation data.

The initial goal was to create a simple function that produced the daily sunrise and sunset for any given location. These calculations create a large amount of useful data that can be used for other solar related calculations and are based on the calculations from NOAA (National Oceanic & Atmospheric Administration). The calculations can be used in various projects, including, but not limited to, Solar Panel Placement, Sun Exposure for Building Construction, Photography, and Circadian Rhythm-based IOT projects, and Timers.

Get It Now

$ pip install sunriset


The built-in outputs include:

Pandas DataFrame of all built-in calculations

Daily Sunrise, Sunset & Solar Noon time - In Progress

Solar Plots

Solar Window

Sunrise and Sunset Location



datetime - timedelta


pytz (still in progress)


Additional Requirements


Disclaimer Data for Litigation: The sunriset Solar Calculator is for research and recreational use only. The authors cannot certify or authenticate sunrise, sunset or solar position data. We do not collect observations of astronomical data, and due to atmospheric conditions, our calculated results may vary significantly from actual observed values.

For further information, please see the U.S. Naval Observatory's page Astronomical Data Used for Litigation.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for sunriset, version 1.0
Filename, size File type Python version Upload date Hashes
Filename, size sunriset-1.0-py3-none-any.whl (9.6 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size sunriset-1.0.tar.gz (6.6 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page