tusur


Nametusur JSON
Version 0.3.0 PyPI version JSON
download
home_pagehttps://github.com/Weebp-Team/tusur
SummaryA project that allows you to work with tusur.ru via python
upload_time2023-08-22 19:37:53
maintainer
docs_urlNone
authorTarodictrl
requires_python>=3.7
license
keywords python python3.7 tusur
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Tusur API
![PyPI](https://img.shields.io/pypi/v/tusur?color=orange) ![GitHub Pull Requests](https://img.shields.io/github/issues-pr/Weebp-Team/tusur?color=blueviolet) ![License](https://img.shields.io/pypi/l/tusur?color=blueviolet) ![Forks](https://img.shields.io/github/forks/Weebp-team/tusur?style=social)

Python library for working with site TUSUR

## Installation

```sh
pip install 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": "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/7d/02/6c68542e9fd2208cc32e4d870a9b3fe54bc5f828be2734923e6968f18de7/tusur-0.3.0.tar.gz",
    "platform": null,
    "description": "# Tusur API\r\n![PyPI](https://img.shields.io/pypi/v/tusur?color=orange) ![GitHub Pull Requests](https://img.shields.io/github/issues-pr/Weebp-Team/tusur?color=blueviolet) ![License](https://img.shields.io/pypi/l/tusur?color=blueviolet) ![Forks](https://img.shields.io/github/forks/Weebp-team/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 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.0",
    "project_urls": {
        "Homepage": "https://github.com/Weebp-Team/tusur"
    },
    "split_keywords": [
        "python",
        "python3.7",
        "tusur"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "b6a04347e26fea2cbf1d761666908d211d1f77a01c688d58364ec77e1537fd51",
                "md5": "26f3542a4cbbbcc95dbbb6f0c41a547c",
                "sha256": "b1d271a919698e279cd8d0901abfd0dc21f7b7430034c11350b3f979e558ef80"
            },
            "downloads": -1,
            "filename": "tusur-0.3.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "26f3542a4cbbbcc95dbbb6f0c41a547c",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7",
            "size": 9807,
            "upload_time": "2023-08-22T19:37:48",
            "upload_time_iso_8601": "2023-08-22T19:37:48.598314Z",
            "url": "https://files.pythonhosted.org/packages/b6/a0/4347e26fea2cbf1d761666908d211d1f77a01c688d58364ec77e1537fd51/tusur-0.3.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "7d026c68542e9fd2208cc32e4d870a9b3fe54bc5f828be2734923e6968f18de7",
                "md5": "ed086f2e04066e7b325364ab174e1b7f",
                "sha256": "5d185da42816e7ed38b6535579a425284d28ecd45f6927d11cc10a02a6e605dd"
            },
            "downloads": -1,
            "filename": "tusur-0.3.0.tar.gz",
            "has_sig": false,
            "md5_digest": "ed086f2e04066e7b325364ab174e1b7f",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 8242,
            "upload_time": "2023-08-22T19:37:53",
            "upload_time_iso_8601": "2023-08-22T19:37:53.317068Z",
            "url": "https://files.pythonhosted.org/packages/7d/02/6c68542e9fd2208cc32e4d870a9b3fe54bc5f828be2734923e6968f18de7/tusur-0.3.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-08-22 19:37:53",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "Weebp-Team",
    "github_project": "tusur",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "tusur"
}
        
Elapsed time: 0.10261s