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

Uploaded Source

Built Distribution

python_tusur-0.3.0-py3-none-any.whl (9.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: python-tusur-0.3.0.tar.gz
  • Upload date:
  • Size: 7.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.9

File hashes

Hashes for python-tusur-0.3.0.tar.gz
Algorithm Hash digest
SHA256 1ae3475ba0231852049af8511cbee44e55f45654208b8464853bc0c4da1f912a
MD5 2d5db35d3e7884648f540ba7f1b88d5b
BLAKE2b-256 ea87a8be81412fdf15608d3b0b0cf7c842811694dd6ee381ee7462340444c548

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for python_tusur-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 38a22edcdabdb8500254f2d42c2ca1b40b59705a17b8057245f25e4e1b95351b
MD5 eade9352644647f07b8b0d534ece1646
BLAKE2b-256 76931b24efb91a5e9c1df3af2376bfbcc86715bc331dc6ea671528e3fc28ace6

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