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.6.tar.gz (2.5 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for nordpool_daily_averages-1.0.6.tar.gz
Algorithm Hash digest
SHA256 f989eb172107c4b34cc30752c73c4fcce7749e1fe97f3d0151a7dd2a1b37831f
MD5 d4276369e2c5fd461a7bc203da7fb2d9
BLAKE2b-256 080548749d773c669322b3d0bcdd4953c67bf40a6f1b4d9f2d34a90864558d97

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for nordpool_daily_averages-1.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 e561bc7434866aa73e41b75b29bd6fbf7932ebb767bc08750dd6ea61a84c8cfd
MD5 ad0f10f40ada3c077573fcf942919acc
BLAKE2b-256 03086b261ee9b0652971184be7432f131919959cccf4126d2103719d0fd5b0b5

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