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

Uploaded Source

Built Distribution

python_tusur-0.4.0-py3-none-any.whl (18.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: python-tusur-0.4.0.tar.gz
  • Upload date:
  • Size: 9.4 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.4.0.tar.gz
Algorithm Hash digest
SHA256 1e653bc47ecb3d434c051563c112e116a58411e767648a213ddea31a33a93a8a
MD5 1265e1528b7e8d97c4b49fc067399a9d
BLAKE2b-256 69a8da2844570710cc85bb39c1d7b74f8a2c16b6ae2dd55d78282800326f792d

See more details on using hashes here.

File details

Details for the file python_tusur-0.4.0-py3-none-any.whl.

File metadata

File hashes

Hashes for python_tusur-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b5f41e090c6cd2ac5e29cd099ad5ab9262e0fff25ec64ed336c9506c2fea5606
MD5 81dd86201c47df0effab7e1d996daaf3
BLAKE2b-256 4ac533c0cc3a97bbc3ffc8f93c3e5f41022d7e66c831ef388b175c5b23db0116

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