Skip to main content

A Python interface to the Deutsche Post Internetmarke and Warenpost International Online Franking

Project description

This is a python module for interfacing the “Internetmarke” API provided by the German postal company “Deutsche Post”. It implements V3 of this API. It also implements the new (2020) “Warenpost International API”.

The Internetmarke API allows you to buy online franking for national and international postal products like post cards and letters of all weight classes and service classes (normal, registered, …).

Internetmarke API

In order to use the Internetmarke API (SOAP), you will need to be registered with Deutsche Post for accessing the “1C4A Webservice”. You can request related details from pcf-1click@deutschepost.de. Upon registration, you will receive your individual parameters PARTNER_ID, KEY and KEY_PHASE.

This module makes use of the fairly new “zeep” module for SOAP/WSDL.

Warenpost International API

In order to use the Warenpost International API (REST), you will need to be separately registered with Deutsche Post for accessing that API. Upon registration, you will have the following individual parameters, which you must use when initializing the WarenpostInt() class:

  • PARTNER_ID

  • SCHLUESSEL_DPWN_PARTNER (same as KEY?)

  • EKP

  • KEY_PHASE

Portokasse

Furthermore, for actual payment of purchases made via both APIs, you will need the user name (email address) and password to a “Portokasse” account.

Authors / History

python-inema was originally developed by Harald Welte <hwelte@sysmocom.de> for internal use at his company sysmocom, in order to provide franking from the Odoo based logistics system. Like most other software at sysmocom, it was released as open source software under a strong network copyleft license.

Shortly after the initial release, Georg Sauthoff <mail@georg.so> joined the development and improved and extended the code im various ways. He also added the command-line frank.py tool.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

inema-0.8.4.tar.gz (19.6 kB view details)

Uploaded Source

File details

Details for the file inema-0.8.4.tar.gz.

File metadata

  • Download URL: inema-0.8.4.tar.gz
  • Upload date:
  • Size: 19.6 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.1.3 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2

File hashes

Hashes for inema-0.8.4.tar.gz
Algorithm Hash digest
SHA256 ae65babdb7fe63a09e55d3c0b3d3aaac5f744e53d4646264c915761e5a94855e
MD5 8008330ff48d5edf5345d5e312b09059
BLAKE2b-256 a9d31bfb19f48a4eaebd75b11460d879f4b2ad038f4543e84af5226bb56ea4a3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page