Skip to main content

A simple Python utility for working with weekly assignment PDFs as exported by "web.sta"

Project description

sitzungsdienst

Build

A simple Python utility for working with weekly assignment PDFs as exported by web.sta.

Getting started

Simply install all dependencies inside a virtual environment to get started:

# Set up & activate virtualenv
virtualenv -p python3 venv

# shellcheck disable=SC1091
source venv/bin/activate

# Install dependencies, either ..
# (1) .. from PyPi (stable)
python -m pip install sitzungsdienst

# (2) .. from repository (dev)
python -m pip install --editable .

Usage

Using this library is straightforward:

from sitzungsdienst import Sitzungsdienst

# Pass file path (or its stream)
sta = Sitzungsdienst('path/to/file.pdf')

# Retrieve data
data = sta.extract_data()

# Use a subset by filtering it
filtered = sta.filter(['alice', 'bob'])

# Extract assignees only
assignees = sta.extract_people()

# Fetch express service
express = sta.extract_express()

If you want to see it in action, head over to the sitzungsapp!

Happy coding!

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

sitzungsdienst-2.0.0.tar.gz (19.4 kB view details)

Uploaded Source

Built Distribution

sitzungsdienst-2.0.0-py3-none-any.whl (19.5 kB view details)

Uploaded Python 3

File details

Details for the file sitzungsdienst-2.0.0.tar.gz.

File metadata

  • Download URL: sitzungsdienst-2.0.0.tar.gz
  • Upload date:
  • Size: 19.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.0.1 pkginfo/1.4.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.7

File hashes

Hashes for sitzungsdienst-2.0.0.tar.gz
Algorithm Hash digest
SHA256 3ee6242cea065e27723bf750ca0d7621df945d86061af98b3bf42ff1a2854105
MD5 2e8598bac94db1487eaa4524eb1a0f4d
BLAKE2b-256 2015d5b4ac9cee82bcdffd4f2cc3770cf81961da35a96e3c2c9bdb8ee8162638

See more details on using hashes here.

File details

Details for the file sitzungsdienst-2.0.0-py3-none-any.whl.

File metadata

  • Download URL: sitzungsdienst-2.0.0-py3-none-any.whl
  • Upload date:
  • Size: 19.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.0.1 pkginfo/1.4.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.7

File hashes

Hashes for sitzungsdienst-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5941baabb6356e1b2ad74c711f191d08f0bc7278369f64f7c9666cc82779dafe
MD5 c724b955278ad69904205246112466b0
BLAKE2b-256 fa8ab8c7ad134844c2526bf3db74edcb2155f674a530d5e6a12dad05bfd23934

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