Handles weekly assignment PDFs as exported by "web.sta"
Project description
sitzungsdienst
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
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
sitzungsdienst-2.1.0.tar.gz
(21.9 kB
view details)
Built Distribution
File details
Details for the file sitzungsdienst-2.1.0.tar.gz
.
File metadata
- Download URL: sitzungsdienst-2.1.0.tar.gz
- Upload date:
- Size: 21.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.2.1 CPython/3.10.4 Linux/5.19.0-76051900-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e0332989c49ab3176b7525ade0a70ad63e2af1d6fe2b446edc913790bdeec10a |
|
MD5 | 8669aae2830ebe29e4d82430fac25f83 |
|
BLAKE2b-256 | 545eb396bc01d6ed329e9cabc90879ad2c161552056b8d1eb49500fe88a7a1ab |
File details
Details for the file sitzungsdienst-2.1.0-py3-none-any.whl
.
File metadata
- Download URL: sitzungsdienst-2.1.0-py3-none-any.whl
- Upload date:
- Size: 23.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.2.1 CPython/3.10.4 Linux/5.19.0-76051900-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3ae6b30f3cef4502f8ef98c2599ff719b4b7307e18a8a9ffa7e06df183bc88ef |
|
MD5 | bb6427285f84e7341dc1b6228df5268f |
|
BLAKE2b-256 | e1b9e63d19e9a32b68cc9d9f589f5d44a57f8e150b8b1ba1a697f490ff82f8d6 |