python-tusur


Namepython-tusur JSON
Version 0.4.1 PyPI version JSON
download
home_pagehttps://github.com/Weebp-Team/python-tusur
SummaryA project that allows you to work with tusur.ru via python
upload_time2024-07-10 10:22:59
maintainerNone
docs_urlNone
authorTarodictrl
requires_python>=3.7
licenseNone
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/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/python-tusur",
    "name": "python-tusur",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": null,
    "keywords": "python python3.7 tusur",
    "author": "Tarodictrl",
    "author_email": "vudi600@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/2d/3f/6dbe4a61c0fc142531822a47015f72b384e5a433c7ae73a946848204c8d5/python-tusur-0.4.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": null,
    "summary": "A project that allows you to work with tusur.ru via python",
    "version": "0.4.1",
    "project_urls": {
        "Homepage": "https://github.com/Weebp-Team/python-tusur"
    },
    "split_keywords": [
        "python",
        "python3.7",
        "tusur"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "42ac6345374f3d69ef22d399ed8a1eaaa21e9b71ab20f8086450958569a8321c",
                "md5": "82e9b06f3eff1ea344c7ee8a487ab0bd",
                "sha256": "1a038405895fcdb86801fd8ff36f2e31e2f7fb63ed8de413607b395035199c18"
            },
            "downloads": -1,
            "filename": "python_tusur-0.4.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "82e9b06f3eff1ea344c7ee8a487ab0bd",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7",
            "size": 18244,
            "upload_time": "2024-07-10T10:22:58",
            "upload_time_iso_8601": "2024-07-10T10:22:58.017066Z",
            "url": "https://files.pythonhosted.org/packages/42/ac/6345374f3d69ef22d399ed8a1eaaa21e9b71ab20f8086450958569a8321c/python_tusur-0.4.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "2d3f6dbe4a61c0fc142531822a47015f72b384e5a433c7ae73a946848204c8d5",
                "md5": "5453be872bdac6d7345d66cd22af0136",
                "sha256": "6a5245d5019a87934d0a614fa0ce2ff22393a3b227bd9239e8c0f9a846c0b912"
            },
            "downloads": -1,
            "filename": "python-tusur-0.4.1.tar.gz",
            "has_sig": false,
            "md5_digest": "5453be872bdac6d7345d66cd22af0136",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 9336,
            "upload_time": "2024-07-10T10:22:59",
            "upload_time_iso_8601": "2024-07-10T10:22:59.997789Z",
            "url": "https://files.pythonhosted.org/packages/2d/3f/6dbe4a61c0fc142531822a47015f72b384e5a433c7ae73a946848204c8d5/python-tusur-0.4.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-07-10 10:22:59",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "Weebp-Team",
    "github_project": "python-tusur",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "python-tusur"
}
        
Elapsed time: 0.38258s