Python SDK for api.singularity.energy
Project description
Python Singularity Energy SDK
This package is the Python integration for real time energy data powered by Singularity
Examples
Here are a couple examples you can use to get started:
from datetime import datetime, timedelta
from singularity import SingularityAPI, Regions, APIException
singularity = SingularityAPI('API_KEY')
end = datetime.utcnow()
start = end - timedelta(hours=4)
events = singularity.search_region_events(
Regions.ISONE,
'carbon_intensity',
start.isoformat() + 'Z',
end.isoformat() + 'Z'
)
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
Close
Hashes for singularity_energy-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 88bb8aac2df01364a539a60eb67fd10c56a13fe21b1234bded4bddd207d8f312 |
|
MD5 | 3c29c9e05a0f47e406a054c16d5df9c0 |
|
BLAKE2b-256 | e9d313b810737e3cd4d8dc769cd40f06003320f17128704fcac744cb7d7a3a8e |