Skip to main content

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 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)

Source distribution for steadysun 0.1.0
File Size Uploaded
steadysun-0.1.0.tar.gz 21.7 kB Details

Built distribution (wheel)

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

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

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