Rise-set Library
WARNING: The API of this library will be updated in the near future
This library provides Python routines for finding the positions of astronomical bodies to reasonable precision. It is primarily used to calculate target uptime and sunrise, sunset and twilight times, accurate to 30s-1m. It also supports calculating target airmass over time. The library depends on Fortran SLALIB to perform the computations. The rise/set/transit algorithms are implementations of Astronomical Algorithms, Ch. 14 (Jean Meeus). This library was initially authored by Eric Saunders.
Prerequisites
- Python >= 3.11
- Ability to compile fortran (gfortran installed)
Installation
It is highly recommended that you install and run your python code inside a dedicated python virtual environment.
Add the ocs_rise_set package to your python environment (you may need to install numpy first):
(venv) $ pip install numpy; pip install ocs_rise_set
For Developers
Running the Tests
The unit tests are currently using nosetests, so there are a few tests dependencies to install. After cloning this project, from the project root and inside your virtual environment (using Poetry):
$ poetry env use python3.10
$ poetry install
$ poetry run pytest
Metadata
Release files for ocs-rise-set 0.6.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| ocs_rise_set-0.6.6.tar.gz | 50.6 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ocs_rise_set-0.6.6-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 105.0 kB
Release files / ocs_rise_set-0.6.6.tar.gz
| Download URL | ocs_rise_set-0.6.6.tar.gz |
|---|---|
| Size | 50.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7b6f750bc0ee2e9131fe4994e1c5e2b7960cee83ae4f246e8953b3e769595522
|
|
BLAKE2b-256 checksum How to use checksums |
e1a952623d95b5f0fcccef6387da5c31110caf5157dc2e8b18ebe27215bb6218
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.4.1 CPython/3.12.14 Linux/6.17.0-1022-azure
|
Release files / ocs_rise_set-0.6.6-py3-none-any.whl
| Download URL | ocs_rise_set-0.6.6-py3-none-any.whl |
|---|---|
| Size | 54.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6f3a7bab165ed54545303e14caa39c98b320a42f0a54d613bdcff5efaf58b945
|
|
BLAKE2b-256 checksum How to use checksums |
e54b9ddeae91a7575b12957f66b580e52c69a8310ee25255c45d4b81fdadf77c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.4.1 CPython/3.12.14 Linux/6.17.0-1022-azure
|
Security for ocs-rise-set 0.6.6
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.