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 Distributions
Close
Hashes for singularity_energy-0.0.1-py3.8.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2481aa88a8902f12d3f75b73c7d1e50d99180ce8e6c1d2292d6414cb4d8d6981 |
|
MD5 | f7f87302c582081dedf041d492a94bcb |
|
BLAKE2b-256 | 28937066d208232cd86de37ca18d12b2728858c9e3fc50ddc7d9577ad15fcdc5 |
Close
Hashes for singularity_energy-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0e9bbed747f9fce61fbdaec95b0aa30e32e57d75938049c22ef358d3af7e9703 |
|
MD5 | 92ddbe40dcec4e833b123f74a85bc82a |
|
BLAKE2b-256 | 4164a720132ce0332d29f6762526ad169ecbd3df6158c502583639299214dbd8 |