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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a861ad21e1c7abbfaf4e3beaa1e865fd5d42ed2a6c82e96e7031ce75f6aaeba8
|
|
| MD5 |
37d7dcbcf5504a67f824721543a218d7
|
|
| BLAKE2b-256 |
604fa31eb159ca20304c50116b73280a714439f4d013e0ab9c60b8dd7448af6a
|
Provenance
The following attestation bundles were made for hsrt_timetable-0.1.0.tar.gz:
Publisher:
publish.yml on mklemmingen/hsrt-timetable
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
hsrt_timetable-0.1.0.tar.gz -
Subject digest:
a861ad21e1c7abbfaf4e3beaa1e865fd5d42ed2a6c82e96e7031ce75f6aaeba8 - Sigstore transparency entry: 1006561001
- Sigstore integration time:
-
Permalink:
mklemmingen/hsrt-timetable@a0436f4d540d71d408645e362dcf69c7731068b3 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/mklemmingen
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@a0436f4d540d71d408645e362dcf69c7731068b3 -
Trigger Event:
push
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b5e80aad3625d16cb4c9ace89c1e2ba0a9f2225bd496524b03f8e628760ac5b0
|
|
| MD5 |
80bb2c58e913eca60f04e5fba10e38c5
|
|
| BLAKE2b-256 |
8d9063f52cf75272f6b5804989f0950b038596f366dc7732dec9d2dfca5b0d75
|
Provenance
The following attestation bundles were made for hsrt_timetable-0.1.0-py3-none-any.whl:
Publisher:
publish.yml on mklemmingen/hsrt-timetable
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
hsrt_timetable-0.1.0-py3-none-any.whl -
Subject digest:
b5e80aad3625d16cb4c9ace89c1e2ba0a9f2225bd496524b03f8e628760ac5b0 - Sigstore transparency entry: 1006561005
- Sigstore integration time:
-
Permalink:
mklemmingen/hsrt-timetable@a0436f4d540d71d408645e362dcf69c7731068b3 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/mklemmingen
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@a0436f4d540d71d408645e362dcf69c7731068b3 -
Trigger Event:
push
-
Statement type: