Skip to main content

aioruz

PyPI version shields.io

Async HSE RUZ API client for Python 3.

Usage

To obtain student's schedule:

from datetime import date, timedelta

import asyncio
import aioruz


async def main():
    # Get schedule on 10 days forward
    print(await aioruz.student_schedule(email='example1@edu.hse.ru', to_date=10))  

    # Suitable for lecturers as there is no way to get lecturer's person_id by email
    print(await aioruz.schedule(person_type='lecturer',
                                person_id=12345,
                                from_date=date.today(),
                                to_date=date.today() + timedelta(days=7))

    # Get student's info by email
    print(await aioruz.student_info('example@edu.hse.ru'))

    # Search for query
    print(await aioruz.search('some name'))

loop = asyncio.get_event_loop()
loop.run_until_completed(main())

Installiation

Install via Pip:

pip install aioruz

Security

By default SSL certificate validation is off. To ebale it, set aioruz.VERIFY_SSL to True.

import aioruz

aioruz.VERIFY_SSL = True

Or you can set RUZ_VERIFY_SSL environment virable to True.

Feedback

Please, send your bug reports to this Telegram chat.

Release files for aioruz 0.8.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for aioruz 0.8.0
File Size Uploaded
aioruz-0.8.0.tar.gz 4.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for aioruz 0.8.0
File Interpreter ABI Platform
aioruz-0.8.0-py3-none-any.whl Python 3 none any Details

Total release size: 9.1 kB

Release files / aioruz-0.8.0.tar.gz

Download URL aioruz-0.8.0.tar.gz
Size 4.0 kB
Tags Source
SHA-256 checksum
How to use checksums
5c1c9aa7fdd5476cb3663e4aece93d3857618675c0069acaaa86fab2c3907695
BLAKE2b-256 checksum
How to use checksums
3a67763d4d64d8a5edc0ce561e746261fceddce1ba438536b3df6f7a1d82fc5f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3

Release files / aioruz-0.8.0-py3-none-any.whl

Download URL aioruz-0.8.0-py3-none-any.whl
Size 5.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
167d1b6582bb9277c905427726a9e491fbc6a9d9e2e4048fc50c932d02d405f4
BLAKE2b-256 checksum
How to use checksums
bc151debfa05d6ce5f82418f25d1bda322b9c0080e605c17c69fe4062e23983c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3

Release history Release notifications | RSS feed

This release

0.8.0 This release

2 release files

0.7.0

1 release file

0.6.0

1 release file

0.5.0

1 release file

0.4.0

1 release file

0.3.0

1 release file

0.2.0

1 release file

0.1.0

1 release file

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page