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.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b2020cc9180a1872989404ad43522ab97e1f1b070f3c304d0f7469e71b2f3bc5 |
|
MD5 | 15cc4c8705ad8cd762bd4ad21cf5e343 |
|
BLAKE2b-256 | a70aef5d2c51d38afde087ea303c2f5dc115fe7a70b79d049d725ead38e0613a |