pynordpool


Namepynordpool JSON
Version 0.2.3 PyPI version JSON
download
home_pagehttps://github.com/gjohansson-ST/pynordpool
SummaryRetrieve values from API at Nord Pool.
upload_time2024-12-15 13:52:28
maintainerG Johansson
docs_urlNone
authorG Johansson
requires_python<4.0,>=3.11
licenseMIT
keywords nordpool nord pool api async client
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # pynordpool
python module for communicating with [Nord Pool](https://data.nordpoolgroup.com/auction/day-ahead/prices)

## Code example

### Retrieve delivery period prices

Hourly rates from provided date

```python
from pynordpool import NordPoolClient, Currency

async with aiohttp.ClientSession(loop=loop) as session:
    client = NordPoolClient(session)
    output = await client.async_get_delivery_period(
        datetime.datetime.now(), Currency.EUR, ["SE3"]
    )
    print(output)
```

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/gjohansson-ST/pynordpool",
    "name": "pynordpool",
    "maintainer": "G Johansson",
    "docs_url": null,
    "requires_python": "<4.0,>=3.11",
    "maintainer_email": "goran.johansson@shiftit.se",
    "keywords": "nordpool, Nord Pool, api, async, client",
    "author": "G Johansson",
    "author_email": "goran.johansson@shiftit.se",
    "download_url": "https://files.pythonhosted.org/packages/b6/fe/0cb2cad2f0356af51dc014073ef2e422b8c1c921e9feabd4b9f5e4b62987/pynordpool-0.2.3.tar.gz",
    "platform": null,
    "description": "# pynordpool\npython module for communicating with [Nord Pool](https://data.nordpoolgroup.com/auction/day-ahead/prices)\n\n## Code example\n\n### Retrieve delivery period prices\n\nHourly rates from provided date\n\n```python\nfrom pynordpool import NordPoolClient, Currency\n\nasync with aiohttp.ClientSession(loop=loop) as session:\n    client = NordPoolClient(session)\n    output = await client.async_get_delivery_period(\n        datetime.datetime.now(), Currency.EUR, [\"SE3\"]\n    )\n    print(output)\n```\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Retrieve values from API at Nord Pool.",
    "version": "0.2.3",
    "project_urls": {
        "Bug Tracker": "https://github.com/gjohansson-ST/pynordpool/issues",
        "Changelog": "https://github.com/gjohansson-ST/pynordpool/releases",
        "Documentation": "https://github.com/gjohansson-ST/pynordpool",
        "Homepage": "https://github.com/gjohansson-ST/pynordpool",
        "Repository": "https://github.com/gjohansson-ST/pynordpool"
    },
    "split_keywords": [
        "nordpool",
        " nord pool",
        " api",
        " async",
        " client"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "544268a2ebcfc2a1b4fe1a5158b96bfd6db5ec30482accfa0c5570199316a96e",
                "md5": "36a94bfa3dfd66e59a65a2ace6362ad4",
                "sha256": "88591d88c7668f2ae186b3600c30e326e0a7e84183dc1a0de01a6c9abbcc1231"
            },
            "downloads": -1,
            "filename": "pynordpool-0.2.3-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "36a94bfa3dfd66e59a65a2ace6362ad4",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4.0,>=3.11",
            "size": 6195,
            "upload_time": "2024-12-15T13:52:26",
            "upload_time_iso_8601": "2024-12-15T13:52:26.059513Z",
            "url": "https://files.pythonhosted.org/packages/54/42/68a2ebcfc2a1b4fe1a5158b96bfd6db5ec30482accfa0c5570199316a96e/pynordpool-0.2.3-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "b6fe0cb2cad2f0356af51dc014073ef2e422b8c1c921e9feabd4b9f5e4b62987",
                "md5": "4bfee2207164e1870157f59af9f94f1e",
                "sha256": "df7d1e6265e52a91beda3c1d5de7e3f81807b34e4e9c70299a6e96b340b53bae"
            },
            "downloads": -1,
            "filename": "pynordpool-0.2.3.tar.gz",
            "has_sig": false,
            "md5_digest": "4bfee2207164e1870157f59af9f94f1e",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4.0,>=3.11",
            "size": 9839,
            "upload_time": "2024-12-15T13:52:28",
            "upload_time_iso_8601": "2024-12-15T13:52:28.202128Z",
            "url": "https://files.pythonhosted.org/packages/b6/fe/0cb2cad2f0356af51dc014073ef2e422b8c1c921e9feabd4b9f5e4b62987/pynordpool-0.2.3.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-12-15 13:52:28",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "gjohansson-ST",
    "github_project": "pynordpool",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "pynordpool"
}
        
Elapsed time: 0.39787s