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.2.0.tar.gz (9.3 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.2.0-py3-none-any.whl (9.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: hsrt_timetable-0.2.0.tar.gz
  • Upload date:
  • Size: 9.3 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.2.0.tar.gz
Algorithm Hash digest
SHA256 085d9cb162dd59a9e99d576444a9e6d9467e08f7321437823b7efb6b3699321d
MD5 64a061a30b180655b5b1a915f5d70e4c
BLAKE2b-256 e0030ecab62e0c85676d92ccc56ea5b939cda5835c09218a6a14d2753a214267

See more details on using hashes here.

Provenance

The following attestation bundles were made for hsrt_timetable-0.2.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.2.0-py3-none-any.whl.

File metadata

  • Download URL: hsrt_timetable-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 9.6 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.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1df24a4c003210579619647c4437d7d4aad5e9f589f400dcc7471bb5aaed6b1e
MD5 faf8297d55e727d4672c6a05f4cc8519
BLAKE2b-256 85338789ea896b72103221ded4628a78a1464d395d17bc7c913b30585321a96c

See more details on using hashes here.

Provenance

The following attestation bundles were made for hsrt_timetable-0.2.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