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 StA
# Pass file path (or its stream) & retrieve data
court_dates, express_dates = StA.run('path/to/file.pdf')
# Use a subset by filtering it
filtered_court = court_dates.filter(['alice', 'bob'])
filtered_express = express_dates.filter('john')
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.2.0.tar.gz
(21.6 kB
view hashes)
Built Distribution
Close
Hashes for sitzungsdienst-2.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6201a8c7e475de5d54e7bf0adf5b21120b5185e838f80511a4e9a66f82b759d6 |
|
MD5 | 63238f7c42e91d76498f22097afc385b |
|
BLAKE2b-256 | 3776e3e17ae77b716f3473c0801d86d6caafdb4f5e51f9b777b016f7e94d57e0 |