Skip to main content

Sunriset

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

Documentation

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

Requirements

datetime

datetime - timedelta

math

pytz (still in progress)

pandas

Additional Requirements

Matplotlib


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.

Release files for sunriset 1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sunriset 1.0
File Size Uploaded
sunriset-1.0.tar.gz 6.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for sunriset 1.0
File Interpreter ABI Platform
sunriset-1.0-py3-none-any.whl Python 3 none any Details

Total release size: 16.2 kB

Release files / sunriset-1.0.tar.gz

Download URL sunriset-1.0.tar.gz
Size 6.6 kB
Tags Source
SHA-256 checksum
How to use checksums
f7c9ab8a6b8638b28e69eb8211bf20981136b3928640afccd6e5a0bd7aae1677
BLAKE2b-256 checksum
How to use checksums
ee8dbb84c4b6a644cd742302ac0ae815ae474bc82ad1e34b41227c2677412727
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.37.0 CPython/3.7.3

Release files / sunriset-1.0-py3-none-any.whl

Download URL sunriset-1.0-py3-none-any.whl
Size 9.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0b1013c6240bab4a1111a86c2f014f658ff7c342c59e21bcbead5df1d3431e0c
BLAKE2b-256 checksum
How to use checksums
1595fe1afba66cac1344740bff135caacf882cc1d61087ad2a51ef7fe4066190
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.37.0 CPython/3.7.3

Release history Release notifications | RSS feed

This release

1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page