Skip to main content

Hochschule Reutlingen timetable client — convenience wrapper for the WebUntis public API

Project description

hsrt-timetable

Convenience Python client for accessing Hochschule Reutlingen timetable data via the WebUntis public API. Built on top of webuntis-public.

Installation

pip install hsrt-timetable

Quick Start

from hsrt_timetable import HSRTClient

client = HSRTClient()

# Find all MKIB class groups
mkib_classes = client.get_program_classes("MKIB")
for c in mkib_classes:
    print(f"{c.id}: {c.name}")

# Get current academic semester
semester = client.get_current_semester()
if semester:
    print(f"Current: {semester.name} ({semester.lecture_start} - {semester.lecture_end})")

# Fetch a full semester of timetable data
timetable = client.fetch_program_semester("3MKIB6")
print(f"Total periods: {len(timetable.periods)}")

Programs

Known study programs at HSRT:

Code Name
MKIB Medien- und Kommunikationsinformatik (Bachelor)
WIB Wirtschaftsinformatik (Bachelor)
INB Informatik (Bachelor)
ACB Applied Chemistry (Bachelor)
BME Biomedical Engineering (Bachelor)
MEB Mechatronik (Bachelor)

Utilities

from hsrt_timetable import semester_group_name, parse_group_name

# Build group name from program + semester
semester_group_name("MKIB", 4)  # "3MKIB4"

# Parse group name back
parse_group_name("3MKIB4")  # ("MKIB", 4)

License

Apache-2.0

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

hsrt_timetable-0.1.0.tar.gz (9.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

hsrt_timetable-0.1.0-py3-none-any.whl (9.4 kB view details)

Uploaded Python 3

File details

Details for the file hsrt_timetable-0.1.0.tar.gz.

File metadata

  • Download URL: hsrt_timetable-0.1.0.tar.gz
  • Upload date:
  • Size: 9.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for hsrt_timetable-0.1.0.tar.gz
Algorithm Hash digest
SHA256 a861ad21e1c7abbfaf4e3beaa1e865fd5d42ed2a6c82e96e7031ce75f6aaeba8
MD5 37d7dcbcf5504a67f824721543a218d7
BLAKE2b-256 604fa31eb159ca20304c50116b73280a714439f4d013e0ab9c60b8dd7448af6a

See more details on using hashes here.

Provenance

The following attestation bundles were made for hsrt_timetable-0.1.0.tar.gz:

Publisher: publish.yml on mklemmingen/hsrt-timetable

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file hsrt_timetable-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: hsrt_timetable-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 9.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for hsrt_timetable-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b5e80aad3625d16cb4c9ace89c1e2ba0a9f2225bd496524b03f8e628760ac5b0
MD5 80bb2c58e913eca60f04e5fba10e38c5
BLAKE2b-256 8d9063f52cf75272f6b5804989f0950b038596f366dc7732dec9d2dfca5b0d75

See more details on using hashes here.

Provenance

The following attestation bundles were made for hsrt_timetable-0.1.0-py3-none-any.whl:

Publisher: publish.yml on mklemmingen/hsrt-timetable

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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