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.2.tar.gz
(8.0 kB
view details)
Built Distribution
File details
Details for the file python-tusur-0.3.2.tar.gz
.
File metadata
- Download URL: python-tusur-0.3.2.tar.gz
- Upload date:
- Size: 8.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 706e0b9dde6612e920f1d75c0c4584b24315fb5e29ddf5a18aa34a75c7b8ebc6 |
|
MD5 | 75ddea77efa160262e1c54d902014464 |
|
BLAKE2b-256 | 8127330d2c53af4b8693678d58ac01a9842a8236d7a1351d1044eca901d11c83 |
File details
Details for the file python_tusur-0.3.2-py3-none-any.whl
.
File metadata
- Download URL: python_tusur-0.3.2-py3-none-any.whl
- Upload date:
- Size: 10.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dd967e3d93bf0e853ab16640c2dda00672b0ffe5664cf9372e72bdc621d77744 |
|
MD5 | 846caee69e7371e7bf786bc21afdc98b |
|
BLAKE2b-256 | 0eafed2a0b60757efa67d98489c146adf431bba9fa5d04bf7fc5348ac9f8c91b |