Skip to main content

REST api wrapper for nordpool average daily spot prices api

Project description

nordpool-imd-daily-average

Link to github repository

Python package for querying nordpool for average daily prices. Price returned is a string of SEK/kWh Default geo area is SE3 and currency SEK. Can be changed by setting the class variable's currency and areacode

areacode
"SE3"
"SE2"

Usage:
pip install nordpool-daily-averages

Getting average price for 2024-08-30, for areacode SE3 and in Euro

from nordpool import Prices as p
#instantiate class
price = p()
#Set price to Euro
price.curreny = "EUR"
#Get the price
price.get_prices_for_one_date("2024-08-30")

Getting average price for 2024-08-29 for areacode SE3 in SEK

from nordpool import Prices as p
#instantiate class
price = p()
#Get the price
price.get_prices_for_one_date("2024-08-29")

Getting average price for 2024-08-28 for areacode SE2 in SEK

from nordpool import Prices as p
#instantiate class
price = p()
#Set the areacode to SE2
price.areacode = "SE2"
#Get the price
price.get_prices_for_one_date("2024-08-29")

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nordpool_daily_averages-1.0.5.tar.gz (2.5 kB view details)

Uploaded Source

Built Distribution

nordpool_daily_averages-1.0.5-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

Details for the file nordpool_daily_averages-1.0.5.tar.gz.

File metadata

File hashes

Hashes for nordpool_daily_averages-1.0.5.tar.gz
Algorithm Hash digest
SHA256 f13ecf04e5d8ad7da32503d2433987c0065fa6e4eb1166e556e9e22301f80013
MD5 c06d67a7cfa1241cc99fb21f7aea8566
BLAKE2b-256 0f187d056237f8dc7204864bef32047dd630e5430d5afaa94bd2d933aa8488e1

See more details on using hashes here.

File details

Details for the file nordpool_daily_averages-1.0.5-py3-none-any.whl.

File metadata

File hashes

Hashes for nordpool_daily_averages-1.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 6de9941c7977c39275a90d745ceaf7bdaf95a363a653de2f34b5f33a74a0f693
MD5 beb381843637b6d95c31e6d248e3b8cd
BLAKE2b-256 6f66fb19f2b766228179e5e0d972dce65cb27127b4277bd699622f0d66d7a7c5

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page