nz-ua


Namenz-ua JSON
Version 2.0.1 PyPI version JSON
download
home_pagehttps://github.com/GoldMasterPro/nz-ua
SummaryLibrary for working with the nz.ua service
upload_time2023-04-03 07:50:09
maintainer
docs_urlNone
authorGoldMasterPro
requires_python>=3.10.0
licenseMIT
keywords nz nz-ua nz.ua async api python python3 python3.11
VCS
bugtrack_url
requirements aiohttp pydantic
Travis-CI No Travis.
coveralls test coverage No coveralls.
            nz-ua
==========

[![PyPI](https://img.shields.io/pypi/v/nz-ua?style=for-the-badge)](https://pypi.org/project/nz-ua/)


Library for working with the nz.ua service

Requirements
----------

* Python 3.10+
* [Aiohttp](https://github.com/aio-libs/aiohttp) for making requests to nz.ua api.
* [Pydantic](https://github.com/pydantic/pydantic) for data validation.

Installing
----------

```console
pip install nz-ua
```
Or use the version from github:
```console
pip install git+https://github.com/GoldMasterPro/nz-ua
```

Quick usage
----------

```python
import nz
import asyncio

USER_NAME = "your username"
PASSWORD = "your password"


async def main():
    async with nz.Client() as client:
        await client.login(USER_NAME, PASSWORD)
        schedule = await client.get_schedule()
        print(schedule.dict())


if __name__ == "__main__":
    asyncio.run(main())

```

Links
------

- [Documentation](https://GoldMasterPro.github.io/nz-ua)

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/GoldMasterPro/nz-ua",
    "name": "nz-ua",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.10.0",
    "maintainer_email": "",
    "keywords": "nz,nz-ua,nz.ua,async,api,python,python3,python3.11",
    "author": "GoldMasterPro",
    "author_email": "",
    "download_url": "https://files.pythonhosted.org/packages/5e/14/12c9471e01ac3c681a47127755c091b9331362c2bcdf3674c807f7aa2268/nz-ua-2.0.1.tar.gz",
    "platform": null,
    "description": "nz-ua\r\n==========\r\n\r\n[![PyPI](https://img.shields.io/pypi/v/nz-ua?style=for-the-badge)](https://pypi.org/project/nz-ua/)\r\n\r\n\r\nLibrary for working with the nz.ua service\r\n\r\nRequirements\r\n----------\r\n\r\n* Python 3.10+\r\n* [Aiohttp](https://github.com/aio-libs/aiohttp) for making requests to nz.ua api.\r\n* [Pydantic](https://github.com/pydantic/pydantic) for data validation.\r\n\r\nInstalling\r\n----------\r\n\r\n```console\r\npip install nz-ua\r\n```\r\nOr use the version from github:\r\n```console\r\npip install git+https://github.com/GoldMasterPro/nz-ua\r\n```\r\n\r\nQuick usage\r\n----------\r\n\r\n```python\r\nimport nz\r\nimport asyncio\r\n\r\nUSER_NAME = \"your username\"\r\nPASSWORD = \"your password\"\r\n\r\n\r\nasync def main():\r\n    async with nz.Client() as client:\r\n        await client.login(USER_NAME, PASSWORD)\r\n        schedule = await client.get_schedule()\r\n        print(schedule.dict())\r\n\r\n\r\nif __name__ == \"__main__\":\r\n    asyncio.run(main())\r\n\r\n```\r\n\r\nLinks\r\n------\r\n\r\n- [Documentation](https://GoldMasterPro.github.io/nz-ua)\r\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Library for working with the nz.ua service",
    "version": "2.0.1",
    "split_keywords": [
        "nz",
        "nz-ua",
        "nz.ua",
        "async",
        "api",
        "python",
        "python3",
        "python3.11"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "554c1135355ff1fc8361b3fe852806eda0db460ef0637f96bb3a88d4d39e662b",
                "md5": "226d3fd9a1d6af1191b83954ea69a7fb",
                "sha256": "8bcec14b88d88e10a7dd3926c68230bcea9995533bc968fe0141881395d9da13"
            },
            "downloads": -1,
            "filename": "nz_ua-2.0.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "226d3fd9a1d6af1191b83954ea69a7fb",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.10.0",
            "size": 8603,
            "upload_time": "2023-04-03T07:49:41",
            "upload_time_iso_8601": "2023-04-03T07:49:41.299277Z",
            "url": "https://files.pythonhosted.org/packages/55/4c/1135355ff1fc8361b3fe852806eda0db460ef0637f96bb3a88d4d39e662b/nz_ua-2.0.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "5e1412c9471e01ac3c681a47127755c091b9331362c2bcdf3674c807f7aa2268",
                "md5": "f15c7838aa0f6cbfd5535ed2ec7411db",
                "sha256": "c68878321cc49e719307da3da5f90f395bde24a06f3482f8a8591e737b1cfe99"
            },
            "downloads": -1,
            "filename": "nz-ua-2.0.1.tar.gz",
            "has_sig": false,
            "md5_digest": "f15c7838aa0f6cbfd5535ed2ec7411db",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.10.0",
            "size": 6781,
            "upload_time": "2023-04-03T07:50:09",
            "upload_time_iso_8601": "2023-04-03T07:50:09.210343Z",
            "url": "https://files.pythonhosted.org/packages/5e/14/12c9471e01ac3c681a47127755c091b9331362c2bcdf3674c807f7aa2268/nz-ua-2.0.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-04-03 07:50:09",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": "GoldMasterPro",
    "github_project": "nz-ua",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [
        {
            "name": "aiohttp",
            "specs": [
                [
                    ">=",
                    "3.8.4"
                ]
            ]
        },
        {
            "name": "pydantic",
            "specs": [
                [
                    ">=",
                    "1.10.7"
                ]
            ]
        }
    ],
    "lcname": "nz-ua"
}
        
Elapsed time: 0.05024s