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

Uploaded Source

Built Distribution

python_tusur-0.3.2-py3-none-any.whl (10.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: python-tusur-0.3.2.tar.gz
  • Upload date:
  • Size: 8.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.9.13

File hashes

Hashes for python-tusur-0.3.2.tar.gz
Algorithm Hash digest
SHA256 706e0b9dde6612e920f1d75c0c4584b24315fb5e29ddf5a18aa34a75c7b8ebc6
MD5 75ddea77efa160262e1c54d902014464
BLAKE2b-256 8127330d2c53af4b8693678d58ac01a9842a8236d7a1351d1044eca901d11c83

See more details on using hashes here.

File details

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

File metadata

  • Download URL: python_tusur-0.3.2-py3-none-any.whl
  • Upload date:
  • Size: 10.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.9.13

File hashes

Hashes for python_tusur-0.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 dd967e3d93bf0e853ab16640c2dda00672b0ffe5664cf9372e72bdc621d77744
MD5 846caee69e7371e7bf786bc21afdc98b
BLAKE2b-256 0eafed2a0b60757efa67d98489c146adf431bba9fa5d04bf7fc5348ac9f8c91b

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