{"id":23728105,"url":"https://github.com/kipe/nordpool","last_synced_at":"2025-05-16T03:02:30.439Z","repository":{"id":21437559,"uuid":"24755801","full_name":"kipe/nordpool","owner":"kipe","description":"Python library for fetching Nord Pool spot prices.","archived":false,"fork":false,"pushed_at":"2025-05-14T06:21:18.000Z","size":268,"stargazers_count":114,"open_issues_count":3,"forks_count":41,"subscribers_count":14,"default_branch":"main","last_synced_at":"2025-05-14T10:32:50.092Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kipe.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2014-10-03T11:20:55.000Z","updated_at":"2025-05-14T06:13:34.000Z","dependencies_parsed_at":"2025-01-07T02:42:28.281Z","dependency_job_id":"611a1817-e380-4a3c-a3ee-26f7973f4154","html_url":"https://github.com/kipe/nordpool","commit_stats":{"total_commits":34,"total_committers":8,"mean_commits":4.25,"dds":"0.32352941176470584","last_synced_commit":"75b4cb07b89974e30a85a4e51cb2d268b9db823c"},"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kipe%2Fnordpool","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kipe%2Fnordpool/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kipe%2Fnordpool/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kipe%2Fnordpool/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kipe","download_url":"https://codeload.github.com/kipe/nordpool/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254459081,"owners_count":22074604,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-31T01:49:06.907Z","updated_at":"2025-05-16T03:02:25.425Z","avatar_url":"https://github.com/kipe.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# nordpool\n\n![Test Status](https://github.com/kipe/nordpool/actions/workflows/python-test.yml/badge.svg?branch=main)\n\nPython library for fetching Nord Pool Elspot prices.\n\n## Python version\n\nThe minimum supported Python version is 3.9, which receives security updates until [2025-10](https://devguide.python.org/versions/).\nThe library won't install without trickery on older versions, so update your Python.\n\n## Installing\n\nTo install from [PyPi](https://pypi.org/project/nordpool/), use\n\n`pip install nordpool`\n\n### To upgrade\n\nTo upgrade installation from PyPi, use\n\n`pip install -U nordpool`\n\n#### Example\n\n```python\n# Import library for fetching Elspot data\nfrom nordpool import elspot\nfrom pprint import pprint\n\n# Initialize class for fetching Elspot prices\nprices_spot = elspot.Prices()\n\n# Fetch hourly Elspot prices for Finland and print the resulting dictionary\n# If the prices are reported as None, it means that the prices fetched aren't yet available.\n# The library by default tries to fetch prices for tomorrow and they're released ~13:00 Swedish time.\npprint(prices_spot.hourly(areas=['FI']))\n```\n\n###### Output\n\n```python\n{u'areas': {\n    u'FI': {\n        u'values': [\n            {u'end': datetime.datetime(2014, 10, 3, 23, 0, tzinfo=\u003cUTC\u003e),\n             u'start': datetime.datetime(2014, 10, 3, 22, 0, tzinfo=\u003cUTC\u003e),\n             u'value': 31.2},\n            {u'end': datetime.datetime(2014, 10, 4, 0, 0, tzinfo=\u003cUTC\u003e),\n             u'start': datetime.datetime(2014, 10, 3, 23, 0, tzinfo=\u003cUTC\u003e),\n             u'value': 30.68},\n            ... SNIP ...\n            {u'end': datetime.datetime(2014, 10, 4, 22, 0, tzinfo=\u003cUTC\u003e),\n             u'start': datetime.datetime(2014, 10, 4, 21, 0, tzinfo=\u003cUTC\u003e),\n             u'value': 30.82}]}},\n u'currency': u'EUR',\n u'end': datetime.datetime(2014, 10, 4, 22, 0, tzinfo=\u003cUTC\u003e),\n u'start': datetime.datetime(2014, 10, 3, 22, 0, tzinfo=\u003cUTC\u003e),\n u'updated': datetime.datetime(2014, 10, 3, 10, 42, 42, 110000, tzinfo=\u003cUTC\u003e)}\n ...\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkipe%2Fnordpool","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkipe%2Fnordpool","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkipe%2Fnordpool/lists"}