Lodur Helper - Einsatzrapporte
Find a file
Tobias Brunner 1bb3f088b5
All checks were successful
Build Image / Build Docker Image (push) Successful in 51s
improve filename handling of downloaded pdfs
2025-07-02 17:56:26 +02:00
.forgejo/workflows add forgejo actions workflow 2024-08-25 20:01:19 +02:00
hack adapt all the things to python 3.12 2024-08-25 20:32:50 +02:00
pylokid improve filename handling of downloaded pdfs 2025-07-02 17:56:26 +02:00
.dockerignore switch to poetry 2021-02-13 20:31:41 +01:00
.gitignore process einsatzrapport from webdav inbox 2021-12-09 20:42:59 +01:00
.python-version update building and dockerfile 2024-11-17 20:38:03 +01:00
Dockerfile correct logging init 2024-11-18 20:53:53 +01:00
LICENSE Create LICENSE 2021-02-24 20:23:44 +01:00
MANIFEST.in update building and dockerfile 2024-11-17 20:38:03 +01:00
poetry.lock doc local exec 2025-05-03 22:21:34 +02:00
pyproject.toml improve filename handling of downloaded pdfs 2025-07-02 17:56:26 +02:00
README.md doc local exec 2025-05-03 22:21:34 +02:00
uv.lock fix upload of einsatzrapport 2024-11-19 21:24:41 +01:00

Lodur Helfer für die Arbeit mit Einsatzrapporten

"Loki - Nordischer Gott des Feuers"

Pylokid ist eine Hilfsapplikation die Arbeit mit Einsatzrapporten im Lodur zu erleichtern.

Ab November 2024 werden keine Einsatzaufträge oder Einsatzabschlüsse mehr via E-Mail versendet, daher musste die Applikation überarbeitet werden. Das README wurde stark gekürzt.

Pylokid ist nur für die Feuerwehr Urdorf einsetzbar.

Build Status

Execute locally

poetry install
poetry run pylokid/main.py

Local dev stuff

docker run --rm -ti -v $(pwd):/usr/src/pylokid:ro local/pylokid

find ./ -name "Einsatzausdruck_FW*.pdf" -exec pdftotext -f 1 -l 1 -x 70 -y 47 -W 50 -H 10 {} - \;

TODO

  • Change handling of Lodur from MechanicalSoup to Selenium
  • Try to find out F number of scanned PDF with AI