pynordpool


Namepynordpool JSON
Version 0.2.2 PyPI version JSON
download
home_pagehttps://github.com/gjohansson-ST/pynordpool
SummaryRetrieve values from API at Nord Pool.
upload_time2024-11-09 23:26:56
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/d8/83/ebb3169f83de197a9021a400485627ed423fdc652c33a96b858d06c8cb2d/pynordpool-0.2.2.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.2",
    "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": "00146e8325d078820b51ae8be1c054f7e82c9001d3692ce99e6ac5efdcfaafcc",
                "md5": "2e8b1c4a97d7ed4c6f50c24d7523fe7e",
                "sha256": "db6a99f1057d1b8d122aa5d5e4c90a7641f1cc73e83a5dc57a50350908c5761b"
            },
            "downloads": -1,
            "filename": "pynordpool-0.2.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "2e8b1c4a97d7ed4c6f50c24d7523fe7e",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4.0,>=3.11",
            "size": 6038,
            "upload_time": "2024-11-09T23:26:55",
            "upload_time_iso_8601": "2024-11-09T23:26:55.078358Z",
            "url": "https://files.pythonhosted.org/packages/00/14/6e8325d078820b51ae8be1c054f7e82c9001d3692ce99e6ac5efdcfaafcc/pynordpool-0.2.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d883ebb3169f83de197a9021a400485627ed423fdc652c33a96b858d06c8cb2d",
                "md5": "1a53607ecf70d16e8fa4b5f73e5cdd6a",
                "sha256": "08aa93d109d383fe085bbd64a2ad871c4301e80a8d192271b0b0469da814187e"
            },
            "downloads": -1,
            "filename": "pynordpool-0.2.2.tar.gz",
            "has_sig": false,
            "md5_digest": "1a53607ecf70d16e8fa4b5f73e5cdd6a",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4.0,>=3.11",
            "size": 9769,
            "upload_time": "2024-11-09T23:26:56",
            "upload_time_iso_8601": "2024-11-09T23:26:56.535012Z",
            "url": "https://files.pythonhosted.org/packages/d8/83/ebb3169f83de197a9021a400485627ed423fdc652c33a96b858d06c8cb2d/pynordpool-0.2.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-11-09 23:26:56",
    "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.41926s