Georg Sauthoff
6382a99b97
Import product updates announced for 2022-07-01
...
i.e. using 20220512_IMPARTNER_PPL51.csv which is distributed by Deutsche Post
via email.
NB: the update doesn't contain any price updates but 'just' removes all
'Warenpost International' products.
Apparently, those products are/were migrated to DHL.
2 months ago
Georg Sauthoff
42764fae91
add new prices for 2021
8 months ago
Georg Sauthoff
3e2dcb8dab
integrate namechanges that are slated for 2021-07-01
...
cf. ppl_v490_partner.csv
1 year ago
Harald Welte
a169a2e2b3
change URL to reflect migration to gitea
1 year ago
Georg Sauthoff
a8d33e15ba
bump version to 0.8.4
1 year ago
Georg Sauthoff
6f4634267a
consolidate product prices
...
i.e. move 2021 ones to products.json and remove the rest
1 year ago
Georg Sauthoff
7219f4952f
update default product location
1 year ago
Harald Welte
ebb0fce5d0
wpi: Add shrink_contents_if_needed() method
...
This method can be used to shrink the number of lines on the customs
declaration, which unfortunately only supports 5 lines in the
WaPoInt API.
1 year ago
Harald Welte
db0a0fb7ae
wpint: No more than 5 line items on the CN22 declaration allowed
...
Otherwise the API will generate the following error:
"items[0].contents: size must be between 0 and 5"
1 year ago
Harald Welte
dd8b8d7320
wpint: Allow user to specify shipment_nature and customer_reference
1 year ago
Harald Welte
06d990510c
wpint: More input length validation of addresses
1 year ago
Harald Welte
f8e81db8cb
wpint: More input data validation for content_item and item
...
The limits are documented in Table 9 of "Anbindungleitfaden"
1 year ago
Harald Welte
efb6209c9d
README.rst: add section on authors / history
1 year ago
Harald Welte
eabc28d02a
README.rst: Major update, expand more on what is required for which API
1 year ago
Harald Welte
8ec5b8ee6b
README.rst: Fix tons of typos
1 year ago
Harald Welte
ddaed085d8
README.rst, setup.py: Mention Warenpost International API
1 year ago
Harald Welte
df04434e5d
wpint: be more specific about what we're logging
1 year ago
Harald Welte
6e37ff6574
wpint: Address various pylint-reported issues
1 year ago
Harald Welte
c812926610
Add 'wpint' module for Warenpost International ReST-API
...
This is a new module conforming to revision 1.03 of the
above-mentioned ReST-API.
1 year ago
Georg Sauthoff
640baf1dbc
Allow users to supply customer specific prices
...
fixes https://github.com/gsauthof/frank/issues/3
2 years ago
Georg Sauthoff
6c1f9bb1f5
Avoid rounding issues with float
2 years ago
Georg Sauthoff
4e3818723c
fix price comparision and latest column reordering
...
i.e. latest Deutsche Post update inserted some columns, thus using the
headers is more robust.
2 years ago
Harald Welte
2589eb30d2
bump version to 0.8.3. for price changes from Jan 1st, 2021
2 years ago
Harald Welte
b71d9484fd
update products.json with prices from January 1st, 2021
...
Pricing is not going back to what it was before July 1st, 2020
but there are significant price increases - and some products
that were discontinued. This update covers "ppl_v480_PARTER.CSV"
as received from DPAG on December 1st, 2020.
2 years ago
Harald Welte
2d3111f52e
bump version to 0.8.2
2 years ago
Harald Welte
0e08930f08
setup.py: Make sure the new price lists are actually packaged
...
Since commit f469a9b9fc
we support
automatically selecting the price list of the current date - but
we still only packaged pricelist.json and not those with more current
dates.
2 years ago
Georg Sauthoff
9b22103c04
Update prices for temporary VAT discount
...
i.e. VAT temporarily changes from 19% to 16% as part of the Corona
related economy stimulus package. Deutsche Post thus adjusts the prices
for a subset of their products.
2 years ago
Georg Sauthoff
410b0ac833
Use more appropriate function for version query
3 years ago
Georg Sauthoff
5cc7591415
Handle version string in setup.py
...
This fixes the issue with importing the package in setup.py which fails
when the dependencies aren't already available.
Reported by Carsten Tschense.
3 years ago
Georg Sauthoff
3e6e671f0d
Add example: convert ppl_vXXX.csv to products.json
3 years ago
Georg Sauthoff
f469a9b9fc
Add product changes that are effective 2020-01-01
...
i.e. some added/removed products and some price changes
The package now supports multiple price lists and selects the right
one based on the effective date suffix (if present).
3 years ago
Georg Sauthoff
e72514697c
Print inema version
3 years ago
Georg Sauthoff
824ed58d03
Remove trailing whitespace
3 years ago
Georg Sauthoff
6ad0d4dadd
Fix json UTF8 dumping in Python 2
3 years ago
Harald Welte
77d55b4f48
update products.json with sorted keys / defined ordering
...
This will avoid lots of unwanted diffs on future updates
3 years ago
Georg Sauthoff
ed139e5b59
Port to Python3, canonicalize JSON, retain Umlauts
3 years ago
Georg Sauthoff
fe0e30f173
We don't require lxml - zeep does
...
and has it as a requirement in its setup.py
3 years ago
Harald Welte
fdc295653b
bump version to 0.8
3 years ago
Harald Welte
39c519f147
Update products.json with current dump of 20190711
...
This was extracted from ProdWS using 'examples/products.py | json_pp'
3 years ago
Henrik Genssen
896ac2abc0
Add ProductInformation() class and examples/products.py
...
This allows the user to re-generate (update) the price list in
products.json using ProdWS API, which is a separate API provided by DPAG
to obtain the product catalogue including pricing information.
3 years ago
Henrik Genssen
114b6c036b
make gen_1c4a_hdr() and get_product_price_by_id() class methods
3 years ago
Harald Welte
999c0b713b
Fix utf-8 parsing of json data files
3 years ago
Henrik Genssen
103c0f4059
Add coding/utf8 annotations to fix special characters for python 2.7
3 years ago
Harald Welte
2646fdc889
bump version to 0.7
3 years ago
Harald Welte
3cb30f5137
products.json: Update some prices to 2019-07-01
...
Deutshce Post changed pricing, let's update this for some products. A
proper fix for all products will follow as separate patch.
3 years ago
Harald Welte
bef18ffa51
setup.py: Add install_requires for pytz
...
From commit 36120fbd7d
onwards, we
introduced a dependency to pytz for timezone conversion. This
dependency was not reflected in setup.py.
3 years ago
Harald Welte
9ec7af1df4
products.json: Avoid "Umlauts" for python 2.x compatibility
...
Without this patch, python 2.x would abort with a famous
'ascii' codec can't decode byte ...
error. This is why I kept the file free of special characters
so far, but commit 6d2ee85a7e
unfortunately broke that assumption.
I'm sure there's a proper solution, but I really don't feel like
investing time into researching and testing that now.
3 years ago
Georg Sauthoff
539148021e
bump to version 0.6
3 years ago
Georg Sauthoff
7e141341a2
Fix deprecation warning
3 years ago
Georg Sauthoff
6d2ee85a7e
Add some new Warenpost products
...
reported by Remi Bergsma
3 years ago