Skip to main content

suntransit

Simple, fast approximation of sunrise, sunset time on Earth.

DOI

Installation

It is recommended to install with pip:

pip install suntransit

The only dependency is numpy.

Documentation

Online documentation can be found here.

Testing

python tests/tests.py

References

Meeus, Jean. "Astronomical Algorithms." 1991. William-Bell Inc. Richmond, Virginia, U.S.A.

U.S. Naval Observatory. "Almanac for Computers." 1990. Reproduced by Ed Williams. https://www.edwilliams.org/sunrise_sunset_algorithm.htm

Release files for suntransit 0.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 suntransit 0.1.0
File Size Uploaded
suntransit-0.1.0.tar.gz 5.3 kB Details

Built distribution (wheel)

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

Total release size: 10.8 kB

Release files / suntransit-0.1.0.tar.gz

Download URL suntransit-0.1.0.tar.gz
Size 5.3 kB
Tags Source
SHA-256 checksum
How to use checksums
a6e9b02caa5dfc7f03e51248904ee6a43405b29ba7e826e67bffa6b5307593aa
BLAKE2b-256 checksum
How to use checksums
33e34c46bf9f68733302ccc1952ec18266bac089f4ee71a2ca3b6965434cdbef
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.0

Release files / suntransit-0.1.0-py3-none-any.whl

Download URL suntransit-0.1.0-py3-none-any.whl
Size 5.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
75f7e65ac6fc2773797714641741894e621c00a8cc3de412e90057dd81ad27fd
BLAKE2b-256 checksum
How to use checksums
f90d62ccd62db219cf0ed772661df7c3e439494754224e6816ae10ed4185c371
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.0

Release history Release notifications | RSS feed

This release

0.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