# Tusur API
![PyPI](https://img.shields.io/pypi/v/python-tusur?color=orange) ![GitHub Pull Requests](https://img.shields.io/github/issues-pr/Weebp-Team/python-tusur?color=blueviolet) ![License](https://img.shields.io/pypi/l/python-tusur?color=blueviolet) ![Forks](https://img.shields.io/github/forks/Weebp-team/python-tusur?style=social)
Python library for working with site TUSUR
## Installation
```sh
pip install python-tusur
```
## Usage
How get timetable by group:
```python
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
- [requests](https://pypi.org/project/requests/)
- [beautifulsoup4](https://pypi.org/project/beautifulsoup4/)
## Contributing
Bug reports and/or pull requests are welcome
## License
[MIT](https://choosealicense.com/licenses/mit/)
Raw data
{
"_id": null,
"home_page": "https://github.com/Weebp-Team/tusur",
"name": "python-tusur",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.7",
"maintainer_email": "",
"keywords": "python python3.7 tusur",
"author": "Tarodictrl",
"author_email": "vudi600@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/e2/d1/f053ab421cab211c1e0ccdb1d4d1c343ced02bdb106831d46ae0c3e9ea97/python-tusur-0.3.1.tar.gz",
"platform": null,
"description": "# Tusur API\r\n![PyPI](https://img.shields.io/pypi/v/python-tusur?color=orange) ![GitHub Pull Requests](https://img.shields.io/github/issues-pr/Weebp-Team/python-tusur?color=blueviolet) ![License](https://img.shields.io/pypi/l/python-tusur?color=blueviolet) ![Forks](https://img.shields.io/github/forks/Weebp-team/python-tusur?style=social)\r\n\r\nPython library for working with site TUSUR\r\n\r\n## Installation\r\n\r\n```sh\r\npip install python-tusur \r\n```\r\n\r\n## Usage\r\nHow get timetable by group:\r\n```python\r\nfrom tusur import Timetable\r\n\r\n>>> timetable = Timetable()\r\n>>> timetable.get_timetable(\"571-2\", week_id=666)\r\n>>> [\r\n {\r\n \"day\": \"Mon, May 22\",\r\n \"lessons\": [\r\n {\r\n \"time\": \"08:50 10:25\",\r\n \"discipline\": null,\r\n \"view\": null,\r\n \"teacher\": null\r\n },\r\n {\r\n \"time\": \"10:40 12:15\",\r\n \"discipline\": null,\r\n \"view\": null,\r\n \"teacher\": null\r\n },\r\n ...\r\n ]\r\n }\r\n ]\r\n```\r\n\r\n\r\n## Dependencies\r\n\r\n- [requests](https://pypi.org/project/requests/)\r\n- [beautifulsoup4](https://pypi.org/project/beautifulsoup4/)\r\n\r\n## Contributing\r\n\r\nBug reports and/or pull requests are welcome\r\n\r\n## License\r\n\r\n[MIT](https://choosealicense.com/licenses/mit/)\r\n",
"bugtrack_url": null,
"license": "",
"summary": "A project that allows you to work with tusur.ru via python",
"version": "0.3.1",
"project_urls": {
"Homepage": "https://github.com/Weebp-Team/tusur"
},
"split_keywords": [
"python",
"python3.7",
"tusur"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "331a066cb6759c6093ffe0ab48ce83f5e477b9fad9a3cb2331498d007a77334d",
"md5": "d528d28c4ecebc766a01c8a1f87f842d",
"sha256": "e14a9b8231597f061132369e4b5f1981ebde059b8462aa5afedbaaba710c5c7b"
},
"downloads": -1,
"filename": "python_tusur-0.3.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "d528d28c4ecebc766a01c8a1f87f842d",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.7",
"size": 10458,
"upload_time": "2023-08-24T15:00:14",
"upload_time_iso_8601": "2023-08-24T15:00:14.602733Z",
"url": "https://files.pythonhosted.org/packages/33/1a/066cb6759c6093ffe0ab48ce83f5e477b9fad9a3cb2331498d007a77334d/python_tusur-0.3.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "e2d1f053ab421cab211c1e0ccdb1d4d1c343ced02bdb106831d46ae0c3e9ea97",
"md5": "724395635284a9a039d07f1b72944157",
"sha256": "66195264c68e9dae85c4162966ff3b0e29b83eeaa77440b05b439dfb69b1ee16"
},
"downloads": -1,
"filename": "python-tusur-0.3.1.tar.gz",
"has_sig": false,
"md5_digest": "724395635284a9a039d07f1b72944157",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.7",
"size": 7740,
"upload_time": "2023-08-24T15:00:45",
"upload_time_iso_8601": "2023-08-24T15:00:45.944414Z",
"url": "https://files.pythonhosted.org/packages/e2/d1/f053ab421cab211c1e0ccdb1d4d1c343ced02bdb106831d46ae0c3e9ea97/python-tusur-0.3.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-08-24 15:00:45",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "Weebp-Team",
"github_project": "tusur",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "python-tusur"
}