aioruz
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.
Metadata
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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| aioruz-0.8.0.tar.gz | 4.0 kB | Without provenance | Details for aioruz-0.8.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| aioruz-0.8.0-py3-none-any.whl | Python 3 | none | any | Details for aioruz-0.8.0-py3-none-any.whl |
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
|
Security for aioruz 0.8.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.