Skip to main content

a simple Python SDK for the Solcast API

Project description

Solcast API Python SDK

simple Python SDK to access the Solcast API

Docs Tests Publish 📦 to PyPI


Documentation: https://solcast.github.io/solcast-api-python-sdk/

Install

git clone https://github.com/Solcast/solcast-api-python-sdk.git
cd solcast-api-python-sdk
pip install .
# also pip install .[all] for the dev libs

Basic Usage

from solcast import live

df = live.radiation_and_weather(
    latitude=-33.856784,
    longitude=151.215297,
    output_parameters=['air_temp', 'dni', 'ghi']
).to_pandas()

Contributing

Tests are run against the Solcast API, you will need a key to run them. They are executed on unmetered locations and as such won't consume your credits.

pytest tests

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

solcast-0.4.1.tar.gz (841.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

solcast-0.4.1-py3-none-any.whl (8.2 kB view details)

Uploaded Python 3

File details

Details for the file solcast-0.4.1.tar.gz.

File metadata

  • Download URL: solcast-0.4.1.tar.gz
  • Upload date:
  • Size: 841.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for solcast-0.4.1.tar.gz
Algorithm Hash digest
SHA256 f9259f9193a675997ca31e74d5c160c0f63891eb4028daa852239114dc8b32f1
MD5 26c0f1f49e9629553876ca578d49a6e7
BLAKE2b-256 ff01bacf3ea8ec69853ddc24c291f856ddd505a30f6d6d52442cc5757528fa98

See more details on using hashes here.

File details

Details for the file solcast-0.4.1-py3-none-any.whl.

File metadata

  • Download URL: solcast-0.4.1-py3-none-any.whl
  • Upload date:
  • Size: 8.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for solcast-0.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6e130069e3dc405d1be209bf49f869e4f3a97cd427b1772606970452a4d5b431
MD5 19700fdc23a1b174620432f655cdd705
BLAKE2b-256 2fd5eb56eb07adcd7e0bd23bcac39079161405577e9ca89455aaa76d7d20978c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page