A package to interact with Steadysun's API
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file steadysun-0.1.0.tar.gz.
File metadata
- Download URL: steadysun-0.1.0.tar.gz
- Upload date:
- Size: 21.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
de889aba6ea5a6cd19597feae86e9a65343851fc81f47318b90f199918c6ee72
|
|
| MD5 |
15291fe9e9ff57fbdede07fc024b152d
|
|
| BLAKE2b-256 |
887a19f2add0b05e1a875442141797ec1b96942b23342948dca7b0467104d7e4
|
File details
Details for the file steadysun-0.1.0-py3-none-any.whl.
File metadata
- Download URL: steadysun-0.1.0-py3-none-any.whl
- Upload date:
- Size: 14.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6babab19e7a715cf49dab9583cf58fadc41b83a52b698bc628544593c0754d31
|
|
| MD5 |
4030cb42500ca3aee8b35efe9e41dc80
|
|
| BLAKE2b-256 |
b8f3de5f26c3ee08306e5cc33f276553b95235a9cf57aadae00b8c23fefe5f33
|