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.4.0.tar.gz
(9.4 kB
view details)
Built Distribution
File details
Details for the file python-tusur-0.4.0.tar.gz
.
File metadata
- Download URL: python-tusur-0.4.0.tar.gz
- Upload date:
- Size: 9.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1e653bc47ecb3d434c051563c112e116a58411e767648a213ddea31a33a93a8a |
|
MD5 | 1265e1528b7e8d97c4b49fc067399a9d |
|
BLAKE2b-256 | 69a8da2844570710cc85bb39c1d7b74f8a2c16b6ae2dd55d78282800326f792d |
File details
Details for the file python_tusur-0.4.0-py3-none-any.whl
.
File metadata
- Download URL: python_tusur-0.4.0-py3-none-any.whl
- Upload date:
- Size: 18.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b5f41e090c6cd2ac5e29cd099ad5ab9262e0fff25ec64ed336c9506c2fea5606 |
|
MD5 | 81dd86201c47df0effab7e1d996daaf3 |
|
BLAKE2b-256 | 4ac533c0cc3a97bbc3ffc8f93c3e5f41022d7e66c831ef388b175c5b23db0116 |