Lidl Receipts (Germany)
Papermerge metadata plugin for lidl receipts used in Germany.
This plugin returns 3 metadata labels/keys named as follows:
- shop
- price
- date
On the main app you need to keep in mind that:
- shop - has free text format
- price - is of type money (as per main app), with format "dd,cc". Example: 38,95
- date - is of type date (as per main app), with format "dd.mm.yy". Example: 21.12.19 - 21st of December 2019
Installation
pip install papermerge-meta-plugin-lidl-receipts-de
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 lidl_receipts_de
Usually you don't need to import plugin directly, main app does it for you.
In papermerge.conf add "lidl_receipts_de.Lidl" entry to METADATA_PLUGINS:
METADATA_PLUGINS = [
"lidl_receipts_de.Lidl", ...
]
In case you want to map returned metadata to differently named keys:
METADATA_PLUGIN_MAPS = {
"lidl_receipts_de.Lidl": {
"shop": "Firma",
"price": "Betrag",
"date": "Datum",
},
}
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
Metadata
Release files for papermerge-meta-plugin-lidl-receipts-de 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| papermerge-meta-plugin-lidl-receipts-de-0.3.0.tar.gz | 35.0 kB | Without provenance | Details |
Release files / papermerge-meta-plugin-lidl-receipts-de-0.3.0.tar.gz
| Download URL | papermerge-meta-plugin-lidl-receipts-de-0.3.0.tar.gz |
|---|---|
| Size | 35.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
eaad6d616869a9b9949116859971a594465f32eca1a358f374be4425bf41a44c
|
|
BLAKE2b-256 checksum How to use checksums |
3f465f196812c650d50d86e3f0c5280ebcb63b3295644040cfb40d909443eccc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.3
|
Security for papermerge-meta-plugin-lidl-receipts-de 0.3.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.