SolarCalculations
This is a collection of solar angle and related calculations.
Source
These are based mostly on Chapter 6 of Heating, Ventilation, and Air Conditioning by Faye McQuistion and Jerald Parker, 3rd Edition, 1988, with minor pieces from other versions of the same book. Other sources are noted in the source. All the functions were written from scratch by me.
Releases

The latest release can be found on the Releases page. All packages are distributed through PyPi.
Documentation 
Documentation is hosted on ReadTheDocs. The functions are all documented with Markdown syntax doc strings in a way that Sphinx can interpret them. To build the documentation, enter the docs/ subdirectory and execute make html; then open /docs/_build/html/index.html to see the documentation.
Testing

The source is tested using the python unittest framework. To execute all the unit tests, just execute coverage run -m pytest. The tests are run on each commit by GitHub Actions, and coverage results are pushed to Coveralls. The goal is to be as close to 100% coverage as possible.
Validation
The code has been carefully compared against numerous sampled points in the unit tests, and also against EnergyPlus output, to ensure accurate values are being calculated. If you find something wrong, just file an issue!
Demonstration
In order to show how to use the library, a demonstration page was created, that is based on the source in the demos folder.
Metadata
Release files for solar-angles 0.26
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 | Actions |
|---|---|---|---|---|
| solar_angles-0.26.tar.gz | 8.2 kB | Without provenance | Details for solar_angles-0.26.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| solar_angles-0.26-py3-none-any.whl | Python 3 | none | any | Details for solar_angles-0.26-py3-none-any.whl |
Total release size: 15.5 kB
Release files / solar_angles-0.26.tar.gz
| Download URL | solar_angles-0.26.tar.gz |
|---|---|
| Size | 8.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
dc8ada6bc1cd4465d467d10dd62aad6a50523fe6bb68707964099d3862bf6f36
|
|
BLAKE2b-256 checksum How to use checksums |
3ed40b73ede40713be04004905cc989832389febaeda98c2c43d5a018796d05b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.12.4
|
Release files / solar_angles-0.26-py3-none-any.whl
| Download URL | solar_angles-0.26-py3-none-any.whl |
|---|---|
| Size | 7.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
cdc71b5d8ac5c12e31743e14525d9264de9878d126f0070ea72ab8bd70aacd8d
|
|
BLAKE2b-256 checksum How to use checksums |
5b10c7b88eee0287db774eb9359a0a28f8decd1a349251ee7ea2c8fa2b52f526
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.12.4
|
Security for solar-angles 0.26
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.