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.1.tar.gz
(9.3 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file python-tusur-0.4.1.tar.gz.
File metadata
- Download URL: python-tusur-0.4.1.tar.gz
- Upload date:
- Size: 9.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6a5245d5019a87934d0a614fa0ce2ff22393a3b227bd9239e8c0f9a846c0b912
|
|
| MD5 |
5453be872bdac6d7345d66cd22af0136
|
|
| BLAKE2b-256 |
2d3f6dbe4a61c0fc142531822a47015f72b384e5a433c7ae73a946848204c8d5
|
File details
Details for the file python_tusur-0.4.1-py3-none-any.whl.
File metadata
- Download URL: python_tusur-0.4.1-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 |
1a038405895fcdb86801fd8ff36f2e31e2f7fb63ed8de413607b395035199c18
|
|
| MD5 |
82e9b06f3eff1ea344c7ee8a487ab0bd
|
|
| BLAKE2b-256 |
42ac6345374f3d69ef22d399ed8a1eaaa21e9b71ab20f8086450958569a8321c
|