Skip to main content

Python wrapper for Austrian Post web services

This is a Python wrapper for web services provided by Austrian Post.

Currently, it only supports looking up shipment details by tracking number.

Groundwork for services requiring authentication is laid out, but not working yet. If you want to contribute, please feel free to do so.

Installation

pip install git+https://kumig.it/kumitterer/postat.git

Usage

from postat.classes.api import PostAPI

api = PostAPI()

# Get shipment details

shipment_details = api.get_shipment_details("123456789012345678901234567890")

shipment = shipment["data"]["einzelsendung"]

# Get latest event

latest_event = shipment["sendungsEvents"][-1]

License

This project is licensed under the MIT License. See LICENSE for details.

Metadata

Release files for postat 0.9.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for postat 0.9.0
File Size Uploaded
postat-0.9.0.tar.gz 7.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for postat 0.9.0
File Interpreter ABI Platform
postat-0.9.0-py3-none-any.whl Python 3 none any Details

Total release size: 16.6 kB

Release files / postat-0.9.0.tar.gz

Download URL postat-0.9.0.tar.gz
Size 7.4 kB
Tags Source
SHA-256 checksum
How to use checksums
c8da769aef1f6ebf9021e10e064db104d2827cfae80e25def278e5d724f9cf17
BLAKE2b-256 checksum
How to use checksums
b60a1bbf7e70d9946e8b331ade3ed3bd3c8d5acad31669c1ee112cf61b91fe08
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.12

Release files / postat-0.9.0-py3-none-any.whl

Download URL postat-0.9.0-py3-none-any.whl
Size 9.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bc93afdee231db6cd13b2f03364c4a144111b107403b54b1c0c21c75acd9c736
BLAKE2b-256 checksum
How to use checksums
0ceadb4f0d2161d7549eb36bff73c7ce9aea2651b29d306be48f5f296596b4cd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.12

Release history Release notifications | RSS feed

This release

0.9.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page