A project that allows you to work with tusur.ru via python
Project description
Tusur API
Python library for working with site TUSUR
Installation
pip install python-tusur
Usage
How get timetable by group:
from tusur import Timetable
>>> timetable = Timetable()
>>> timetable.get_timetable("571-2", week_id=666)
>>> [
{
"day": "Mon, May 22",
"lessons": [
{
"time": "08:50 10:25",
"discipline": null,
"view": null,
"teacher": null
},
{
"time": "10:40 12:15",
"discipline": null,
"view": null,
"teacher": null
},
...
]
}
]
Dependencies
Contributing
Bug reports and/or pull requests are welcome
License
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
python-tusur-0.3.1.tar.gz
(7.7 kB
view details)
Built Distribution
File details
Details for the file python-tusur-0.3.1.tar.gz
.
File metadata
- Download URL: python-tusur-0.3.1.tar.gz
- Upload date:
- Size: 7.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 66195264c68e9dae85c4162966ff3b0e29b83eeaa77440b05b439dfb69b1ee16 |
|
MD5 | 724395635284a9a039d07f1b72944157 |
|
BLAKE2b-256 | e2d1f053ab421cab211c1e0ccdb1d4d1c343ced02bdb106831d46ae0c3e9ea97 |
File details
Details for the file python_tusur-0.3.1-py3-none-any.whl
.
File metadata
- Download URL: python_tusur-0.3.1-py3-none-any.whl
- Upload date:
- Size: 10.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e14a9b8231597f061132369e4b5f1981ebde059b8462aa5afedbaaba710c5c7b |
|
MD5 | d528d28c4ecebc766a01c8a1f87f842d |
|
BLAKE2b-256 | 331a066cb6759c6093ffe0ab48ce83f5e477b9fad9a3cb2331498d007a77334d |