Skip to main content

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 Belt
  • DK2: Denmark/east of the Great Belt
  • NO2: Norway/Kristiansand
  • SE3: Sweden/Stockholm
  • SE4: 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

Energi Data Service.

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)

Source distribution for aioelpris 0.2.0
File Size Uploaded
aioelpris-0.2.0.tar.gz 7.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for aioelpris 0.2.0
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files

0.1.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page