Skip to main content

Library for working with the nz.ua service.

Project description

The library is not supported

Since I don't use nz.ua anymore and I don't need it

PyPI

Library for working with the nz.ua service.

Requirements

  • Python 3.10+
  • Aiohttp for making requests to nz.ua api.
  • Pydantic for data validation.

Installing

pip install nz-ua

Or use the version from github:

pip install git+https://github.com/MrPandir/nz-ua

Quick usage

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

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

nz_ua-2.0.2.tar.gz (7.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nz_ua-2.0.2-py3-none-any.whl (8.9 kB view details)

Uploaded Python 3

File details

Details for the file nz_ua-2.0.2.tar.gz.

File metadata

  • Download URL: nz_ua-2.0.2.tar.gz
  • Upload date:
  • Size: 7.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.0

File hashes

Hashes for nz_ua-2.0.2.tar.gz
Algorithm Hash digest
SHA256 7b2c9d35d199f601374d24ecb980c47fbbcaff3dddf6e742b43c5a317ef0c179
MD5 c9c4c08d666209280a035c2c36927ec6
BLAKE2b-256 f3ee69c3dfd9826ed52593d0c18ca088a0eb44793c7eca51ab1008ea0f280657

See more details on using hashes here.

File details

Details for the file nz_ua-2.0.2-py3-none-any.whl.

File metadata

  • Download URL: nz_ua-2.0.2-py3-none-any.whl
  • Upload date:
  • Size: 8.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.0

File hashes

Hashes for nz_ua-2.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 e65f1f3dc45f7ba914f28a3212e6e45e1cc6d66df1dafbf1c70a9fc772aa980f
MD5 cf96922b1395bbde1740df906ebf2986
BLAKE2b-256 5facdd0f60d3efff22dc07e5ded798ab979f5720d8e6c6cf46d26142a2d3f1e1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page