Skip to main content

A project that allows you to work with tusur.ru via python

Project description

Tusur API

PyPI GitHub Pull Requests License Forks

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

MIT

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.3.tar.gz (8.5 kB view details)

Uploaded Source

File details

Details for the file python-tusur-0.3.3.tar.gz.

File metadata

  • Download URL: python-tusur-0.3.3.tar.gz
  • Upload date:
  • Size: 8.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.0

File hashes

Hashes for python-tusur-0.3.3.tar.gz
Algorithm Hash digest
SHA256 ae7b4e2443f61420e7c2e8b268eb1899d1a56b3a37ace034d84249eca78ae5d5
MD5 c45cbba3943519ab14429849d5f8a0ed
BLAKE2b-256 7a15b8868b75ddd3dcb91b1a2423facb410600d6558f1eaba3990f779a3fb50f

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page