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
File details
Details for the file papermerge-meta-plugin-ard-zdf-deutschlandradio-1.0.0.tar.gz
.
File metadata
- Download URL: papermerge-meta-plugin-ard-zdf-deutschlandradio-1.0.0.tar.gz
- Upload date:
- Size: 24.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8bdd8f9c0d70c8a3f732bbde1a464d7028ca4ace235a2be2a864694223462bbf |
|
MD5 | d4610b33cc3c9f519e73d92c766d71d0 |
|
BLAKE2b-256 | 859db1d955fd10b0e0e8e11b99df57b41c8de86ac5c2e51d8ca99e9c722a211b |