metadata extractor plugin for ARD ZDF Rundfunkbeiträge data extraction.
Project description
ARD ZDF Deutschlandradio - Zahlung der Rundfunkbeiträge
Papermerge DMS metadata extractor plugin for ARD ZDF Rundfunkbeiträge service.
This plugin returns 5 metadata labels/keys named as follows:
-
context - always set to 'ARD ZDF Deutschlandradio'
-
betrag - amount need to be paid
-
beitragsnummer - contract number
-
faellig_am - pay until date
-
datum - date when snail letter was sent
-
betrag is of type money (as per main app metadata types) with format \d+,\d+
-
betragsnummer is an ID (string) composed of 9 digits
-
both faellig_am and darum are of type date. Format dd.mm.yyyy
Installation
pip install papermerge-meta-plugin-ard-zdf-deutschlandradio
Notice that for configuration you will use plugin name WITHOUT prefix (i.e. without papermerge-meta-plugin- part). Also, for importing this module you need to use name WITHOUT prefix:
import deutschlandradio
Usually you don't need to import plugin directly, main app does it for you.
In papermerge.conf add "deutschlandradio.Deutschlandradio" entry to METADATA_PLUGINS:
METADATA_PLUGINS = [
"deutschlandradio.Deutschlandradio", ...
]
Prepare Development Environment & Run Tests
- virtualenv .venv -p /usr/bin/python3.8 # provide virtualenv path to 3.8 interpreter
- source .venv/bin/activate # activate .venv virtual environment
- pip install -r requirements.txt # install dependencies
- python setup.py develop # provide a link to dev version of hocron
- python test/run.py
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
Hashes for papermerge-meta-plugin-ard-zdf-deutschlandradio-1.0.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8bdd8f9c0d70c8a3f732bbde1a464d7028ca4ace235a2be2a864694223462bbf |
|
MD5 | d4610b33cc3c9f519e73d92c766d71d0 |
|
BLAKE2b-256 | 859db1d955fd10b0e0e8e11b99df57b41c8de86ac5c2e51d8ca99e9c722a211b |