Daystar
Daystar is a python library that provides a convenient class for Solar calculations based off of my other library Solarflare. Check out Solarflare at https://pypi.org/project/Solarflare/
In order to use this library, just create an instance of the daystar class:
from Daystar import *
sun = Daystar(latitude, longitude)
The functions provided are (they all default to datetime.datetime.now()):
risetime(date): returns the sunrisesettime(date): returns the sunsetsolarnoon(date): returns the solar noon timehrangle(date): returns the hour angle for the time and datecoordinates(date): returns a dictionary with declination and right ascension ("dec" and "ra")mean(date): returns the mean anomalytrue(date): returns the true anomalyceq(date): returns the equation of centersolar_julian(date): returns "rise" and "set" dictionary with sunrise and sunset julian datesalt(date): returns solar altitudeazi(date): returns the solar azimuthnadir(date): returns the time of nadir
Metadata
Release files for Daystar 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| Daystar-1.0.1-py3-none-any.whl | Python 3 | none | any | Details for Daystar-1.0.1-py3-none-any.whl |
Release files / Daystar-1.0.1-py3-none-any.whl
| Download URL | Daystar-1.0.1-py3-none-any.whl |
|---|---|
| Size | 3.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
397897c0db11ddf65eb540ef8b3717015b135bbe48d6b34cc4303d8e158f031f
|
|
BLAKE2b-256 checksum How to use checksums |
13b668bd0bfa363e24ec5419f1c9eb2a0ec5e55fd8c289596f653349673a4225
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.8
|
Security for Daystar 1.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.