aioelpris
An aio library to retrieve current electricity price in (some parts) of the Nordics. Current supported regions are:
DK1: Denmark/west of the Great BeltDK2: Denmark/east of the Great BeltNO2: Norway/KristiansandSE3: Sweden/StockholmSE4: Sweden/Malmö
Prices are returned in DKK and EUR currencies.
Basic example
import asyncio
from aiohttp import ClientSession
from aioelpris import ElPris
from aioelpris.core.models import Price
async def example() -> Price:
async with ClientSession() as session:
pris = ElPris(session=session, price_area="SE3")
price: Price = await pris.get_current_price()
print(price.SpotPriceDKK)
return price
asyncio.run(example())
Data sources
Release files for aioelpris 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| aioelpris-0.2.0.tar.gz | 7.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| aioelpris-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 14.8 kB
Release files / aioelpris-0.2.0.tar.gz
| Download URL | aioelpris-0.2.0.tar.gz |
|---|---|
| Size | 7.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6f24d27a6b54401deea0e05127946aea8d1078d260bbbc0c67929f3f1b7418f2
|
|
BLAKE2b-256 checksum How to use checksums |
9868532d903fd8b15f0e053245c143a096593bf4665b61283bf942856d2889e2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.14 CPython/3.10.5 Linux/5.10.102.1-microsoft-standard-WSL2
|
Release files / aioelpris-0.2.0-py3-none-any.whl
| Download URL | aioelpris-0.2.0-py3-none-any.whl |
|---|---|
| Size | 7.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b6b885efd547c64b0b201c06042fcb54878cc13fd66ff3226e15f08821e37707
|
|
BLAKE2b-256 checksum How to use checksums |
5374aa65a77e4ba8ac2503ac5857a1e6e96d1adcafd92ca85a558757644d40d6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.14 CPython/3.10.5 Linux/5.10.102.1-microsoft-standard-WSL2
|