Steadysun Package
A Python package designed to facilitate interaction with the Steadysun API.
Features
- Easy API Interaction: Simplified methods to authenticate and query the Steadysun API.
- Data Retrieval: Fetch solar forecast data in various formats (JSON, CSV, etc.).
- Error Handling: Graceful error handling for common API errors such as authentication failure, bad requests, and more.
- Customizable: Flexible configuration options to tailor API requests to your needs.
Installation
You can install the package using pip:
pip install steadysun
Quick Start
Here's an example of how to use steadysun:
from steadysun.steadysun_api import SteadysunAPI
from steadysun.forecast import get_forecast
# You can either set your token in your env at "STEADYSUN_API_TOKEN"
# OR use the following line :
SteadysunAPI.set_api_token("YOUR_TOKEN")
forecast_df = get_forecast("SITE_UUID")
forecast_df = get_forecast(
site_uuid="SITE_UUID",
time_step=30,
horizon=2440,
precision=4,
fields=["all_sky_global_horizontal_irradiance", "2m_temperature"],
)
Documentation
- Package doc : For detailed information about this package, please refer to https://steadysun-pypi.readthedocs.io.
- API doc : For detailed information about the API endpoints, parameters, and available data, please refer to the Steadysun API Documentation.
Package history (CHANGELOG)
For detailed information on version updates of this package, please refer to the CHANGELOG.
Contact
For questions, issues, or support, feel free to reach out via email at contact@steady-sun.com.
You can also submit ideas or report issues on the GitHub Issues page.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Metadata
Release files for steadysun 0.1.0
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 |
|---|---|---|---|---|
| steadysun-0.1.0.tar.gz | 21.7 kB | Without provenance | Details for steadysun-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| steadysun-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for steadysun-0.1.0-py3-none-any.whl |
Total release size: 35.7 kB
Release files / steadysun-0.1.0.tar.gz
| Download URL | steadysun-0.1.0.tar.gz |
|---|---|
| Size | 21.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
de889aba6ea5a6cd19597feae86e9a65343851fc81f47318b90f199918c6ee72
|
|
BLAKE2b-256 checksum How to use checksums |
887a19f2add0b05e1a875442141797ec1b96942b23342948dca7b0467104d7e4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.12.8
|
Release files / steadysun-0.1.0-py3-none-any.whl
| Download URL | steadysun-0.1.0-py3-none-any.whl |
|---|---|
| Size | 14.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6babab19e7a715cf49dab9583cf58fadc41b83a52b698bc628544593c0754d31
|
|
BLAKE2b-256 checksum How to use checksums |
b8f3de5f26c3ee08306e5cc33f276553b95235a9cf57aadae00b8c23fefe5f33
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.12.8
|
Security for steadysun 0.1.0
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.