From ccf2d617b1ee8d8c6d594bd17d09370a37f7039a Mon Sep 17 00:00:00 2001 From: Georg Sauthoff Date: Fri, 19 May 2023 19:58:12 +0200 Subject: [PATCH] Import ppl_v530_PARTNER.csv product update MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This time only variants of the existing 'Einschreiben' (registered letter) were added, i.e. basically all existing variants are extended with a for registered letter with reply to show receipt ('Rückschein') variant. NB: Those products are new to the inema service, the 'Rückschein' feature already was available with Deutsche Post since forever, but apparently couldn't be ordered via inema, so far. New products are activated on 2023-07-01. --- inema/data/products-2023-07-01.json | 368 ++++++++++++++++++++++++++++ setup.py | 3 +- 2 files changed, 370 insertions(+), 1 deletion(-) create mode 100644 inema/data/products-2023-07-01.json diff --git a/inema/data/products-2023-07-01.json b/inema/data/products-2023-07-01.json new file mode 100644 index 0000000..07bec75 --- /dev/null +++ b/inema/data/products-2023-07-01.json @@ -0,0 +1,368 @@ +{ + "1": { + "cost_price": "0.85", + "international": false, + "max_weight": "20", + "name": "Standardbrief" + }, + "10001": { + "cost_price": "1.1", + "international": true, + "max_weight": "20", + "name": "Standardbrief Intern. GK" + }, + "10011": { + "cost_price": "1.7", + "international": true, + "max_weight": "50", + "name": "Kompaktbrief Intern. GK" + }, + "1002": { + "cost_price": "3.20", + "international": false, + "max_weight": "20", + "name": "Standardbrief Integral + EINSCHREIBEN EINWURF" + }, + "10051": { + "cost_price": "3.7", + "international": true, + "max_weight": "500", + "name": "Großbrief Intern. GK" + }, + "1007": { + "cost_price": "3.50", + "international": false, + "max_weight": "20", + "name": "Standardbrief Integral + EINSCHREIBEN" + }, + "10071": { + "cost_price": "7", + "international": true, + "max_weight": "1000", + "name": "Maxibrief Intern. bis 1.000g GK" + }, + "1008": { + "cost_price": "5.7", + "international": false, + "max_weight": "20", + "name": "Standardbrief Integral + EINSCHREIBEN + RÜCKSCHEIN" + }, + "1009": { + "cost_price": "5.70", + "international": false, + "max_weight": "20", + "name": "Standardbrief Integral + EINSCHREIBEN + EIGENHÄNDIG" + }, + "10091": { + "cost_price": "17", + "international": true, + "max_weight": "2000", + "name": "Maxibrief Intern. bis 2.000g GK" + }, + "1010": { + "cost_price": "7.9", + "international": false, + "max_weight": "20", + "name": "Standardbrief Integral + EINSCHREIBEN + EIGENHÄNDIG + RÜCKSCHEIN" + }, + "1012": { + "cost_price": "3.35", + "international": false, + "max_weight": "50", + "name": "Kompaktbrief Integral + EINSCHREIBEN EINWURF" + }, + "10162": { + "cost_price": "4.31", + "international": true, + "max_weight": "2000", + "name": "Brief Kilotarif international ohne USt + EINSCHREIBEN" + }, + "10166": { + "cost_price": "0.81", + "international": true, + "max_weight": "2000", + "name": "Brief Kilotarif international ohne USt." + }, + "1017": { + "cost_price": "3.65", + "international": false, + "max_weight": "50", + "name": "Kompaktbrief Integral + EINSCHREIBEN" + }, + "1018": { + "cost_price": "5.85", + "international": false, + "max_weight": "50", + "name": "Kompaktbrief Integral + EINSCHREIBEN + RÜCKSCHEIN" + }, + "1019": { + "cost_price": "5.85", + "international": false, + "max_weight": "50", + "name": "Kompaktbrief Integral + EINSCHREIBEN + EIGENHÄNDIG" + }, + "1020": { + "cost_price": "8.05", + "international": false, + "max_weight": "50", + "name": "Kompaktbrief Integral + EINSCHREIBEN + EIGENHÄNDIG + RÜCKSCHEIN" + }, + "10201": { + "cost_price": "0.95", + "international": true, + "max_weight": "15", + "name": "Postkarte Intern. GK" + }, + "1022": { + "cost_price": "3.95", + "international": false, + "max_weight": "500", + "name": "Großbrief Integral + EINSCHREIBEN EINWURF" + }, + "1027": { + "cost_price": "4.25", + "international": false, + "max_weight": "500", + "name": "Großbrief Integral + EINSCHREIBEN" + }, + "1028": { + "cost_price": "6.45", + "international": false, + "max_weight": "500", + "name": "Großbrief Integral + EINSCHREIBEN + RÜCKSCHEIN" + }, + "1029": { + "cost_price": "6.45", + "international": false, + "max_weight": "500", + "name": "Großbrief Integral + EINSCHREIBEN + EIGENHÄNDIG" + }, + "1030": { + "cost_price": "8.65", + "international": false, + "max_weight": "500", + "name": "Großbrief Integral + EINSCHREIBEN + EIGENHÄNDIG + RÜCKSCHEIN" + }, + "1032": { + "cost_price": "5.10", + "international": false, + "max_weight": "1000", + "name": "Maxibrief Integral + EINSCHREIBEN EINWURF" + }, + "1037": { + "cost_price": "5.40", + "international": false, + "max_weight": "1000", + "name": "Maxibrief Integral + EINSCHREIBEN" + }, + "1038": { + "cost_price": "7.6", + "international": false, + "max_weight": "1000", + "name": "Maxibrief Integral + EINSCHREIBEN + RÜCKSCHEIN" + }, + "1039": { + "cost_price": "7.60", + "international": false, + "max_weight": "1000", + "name": "Maxibrief Integral + EINSCHREIBEN + EIGENHÄNDIG" + }, + "1040": { + "cost_price": "9.8", + "international": false, + "max_weight": "1000", + "name": "Maxibrief Integral + EINSCHREIBEN + EIGENHÄNDIG + RÜCKSCHEIN" + }, + "1042": { + "cost_price": "7.30", + "international": false, + "max_weight": "2000", + "name": "Maxibrief Integral + Zusatzentgelt MBf + EINSCHREIBEN EINWURF" + }, + "1047": { + "cost_price": "7.60", + "international": false, + "max_weight": "2000", + "name": "Maxibrief Integral + Zusatzentgelt MBf + EINSCHREIBEN" + }, + "1048": { + "cost_price": "9.8", + "international": false, + "max_weight": "2000", + "name": "Maxibrief Integral + Zusatzentgelt MBf + EINSCHREIBEN + RÜCKSCHEIN" + }, + "1049": { + "cost_price": "9.80", + "international": false, + "max_weight": "2000", + "name": "Maxibrief Integral + Zusatzentgelt MBf + EINSCHREIBEN + EIGENHÄNDIG" + }, + "1050": { + "cost_price": "12", + "international": false, + "max_weight": "2000", + "name": "Maxibrief Integral + Zusatzentgelt MBf + EINSCHREIBEN + EIGENHÄNDIG + RÜCKSCHEIN" + }, + "1052": { + "cost_price": "3.05", + "international": false, + "max_weight": "15", + "name": "Postkarte Integral + EINSCHREIBEN EINWURF" + }, + "1057": { + "cost_price": "3.35", + "international": false, + "max_weight": "15", + "name": "Postkarte Integral + EINSCHREIBEN" + }, + "1058": { + "cost_price": "5.55", + "international": false, + "max_weight": "", + "name": "Postkarte Integral + EINSCHREIBEN + RÜCKSCHEIN" + }, + "1059": { + "cost_price": "5.55", + "international": false, + "max_weight": "15", + "name": "Postkarte Integral + EINSCHREIBEN + EIGENHÄNDIG" + }, + "1060": { + "cost_price": "7.75", + "international": false, + "max_weight": "", + "name": "Postkarte Integral + EINSCHREIBEN + EIGENHÄNDIG + RÜCKSCHEIN" + }, + "11": { + "cost_price": "1.00", + "international": false, + "max_weight": "50", + "name": "Kompaktbrief" + }, + "11006": { + "cost_price": "4.6", + "international": true, + "max_weight": "20", + "name": "Standardbrief Intern. GK Integral + EINSCHREIBEN" + }, + "11016": { + "cost_price": "5.2", + "international": true, + "max_weight": "50", + "name": "Kompaktbrief Intern. GK Integral + EINSCHREIBEN" + }, + "11056": { + "cost_price": "7.2", + "international": true, + "max_weight": "500", + "name": "Großbrief Intern. GK Integral + EINSCHREIBEN" + }, + "11076": { + "cost_price": "10.5", + "international": true, + "max_weight": "1000", + "name": "Maxibrief Intern. bis 1.000g GK Integral + EINSCHREIBEN" + }, + "11096": { + "cost_price": "20.5", + "international": true, + "max_weight": "2000", + "name": "Maxibrief Intern. bis 2.000g GK Integral + EINSCHREIBEN" + }, + "11202": { + "cost_price": "4.45", + "international": true, + "max_weight": "15", + "name": "Postkarte Intern. GK Integral + EINSCHREIBEN" + }, + "195": { + "cost_price": "1.95", + "international": false, + "max_weight": "20", + "name": "Standardbrief + Prio" + }, + "196": { + "cost_price": "2.10", + "international": false, + "max_weight": "50", + "name": "Kompaktbrief + Prio" + }, + "197": { + "cost_price": "2.70", + "international": false, + "max_weight": "500", + "name": "Großbrief + Prio" + }, + "198": { + "cost_price": "3.85", + "international": false, + "max_weight": "1000", + "name": "Maxibrief + Prio" + }, + "199": { + "cost_price": "6.05", + "international": false, + "max_weight": "2000", + "name": "Maxibrief bis 2000 g + Zusatzentgelt MBf + Prio" + }, + "200": { + "cost_price": "1.80", + "international": false, + "max_weight": "15", + "name": "Postkarte + Prio" + }, + "21": { + "cost_price": "1.60", + "international": false, + "max_weight": "500", + "name": "Großbrief" + }, + "282": { + "cost_price": "1.95", + "international": false, + "max_weight": "500", + "name": "Bücher- und Warensendung 500" + }, + "290": { + "cost_price": "2.25", + "international": false, + "max_weight": "1000", + "name": "Bücher- und Warensendung 1000" + }, + "31": { + "cost_price": "2.75", + "international": false, + "max_weight": "1000", + "name": "Maxibrief" + }, + "401": { + "cost_price": "0.95", + "international": false, + "max_weight": "50", + "name": "Streifbandzeitung bis 50 g" + }, + "405": { + "cost_price": "2.68", + "international": false, + "max_weight": "1000", + "name": "Streifbandzeitung 501 g bis 1000 g" + }, + "407": { + "cost_price": "1.55", + "international": false, + "max_weight": "500", + "name": "Streifbandzeitung 51 g bis 500 g" + }, + "41": { + "cost_price": "4.95", + "international": false, + "max_weight": "2000", + "name": "Maxibrief bis 2000 g + Zusatzentgelt MBf" + }, + "51": { + "cost_price": "0.70", + "international": false, + "max_weight": "15", + "name": "Postkarte" + } +} \ No newline at end of file diff --git a/setup.py b/setup.py index 38c41fb..a496e74 100644 --- a/setup.py +++ b/setup.py @@ -8,7 +8,7 @@ install_requires = [ setup( name='inema', - version='0.8.7', + version='0.8.8', description='A Python interface to the Deutsche Post Internetmarke and Warenpost International Online Franking', long_description=open('README.rst').read(), author='Harald Welte', @@ -17,6 +17,7 @@ setup( packages=['inema'], install_requires=install_requires, package_data={'inema': ['data/products.json', + 'data/products-2023-07-01.json', 'data/formats.json']}, license='LGPLv3', classifiers=[