Deutsche Post pricing and rules data with schema validation
Project description
Porto Data
Structured JSON data for Deutsche Post shipping services
A comprehensive, schema-validated dataset containing Deutsche Post pricing, restrictions, zones, features, services, and compliance frameworks for international postal services. All data is validated against JSON schemas and published as a self-contained package on npm and PyPI.
Install
npm (scope: @gruncellka)
npm install @gruncellka/porto-data
PyPI (Python)
pip install gruncellka-porto-data
The package includes data/, schemas/, mappings.json, and metadata.json so you can validate and use the data offline. Data files reference canonical schema URLs (GitHub); schemas are shipped in the package for local validation.
- PyPI: After
pip install, use theportoCLI or import theporto_datapackage; paths are resolved automatically. - npm: Data lives under
porto_data/(e.g.porto_data/data/products.json,porto_data/schemas/,porto_data/mappings.json,porto_data/metadata.json). Same layout in both ecosystems; theporto_datafolder exists so the wheel includes the files correctly.
Use cases
E-commerce and logistics (shipping costs, restrictions), compliance (sanctions, frameworks), research and education.
Data statistics
9 JSON files, 9 schemas; 190+ countries in zones; 5 product types; 5 service types (e.g. registered mail); 31 restrictions across 18 compliance frameworks.
Data overview and structure
| File | Description |
|---|---|
products.json |
Shipping products (letters, parcels, packages) |
services.json |
Additional services (registered mail, etc.) |
prices.json |
Pricing by product, zone, and weight (effective dates) |
zones.json |
Geographic zones and country mappings |
weight_tiers.json |
Weight brackets for pricing |
dimensions.json |
Size limits and specifications |
features.json |
Service features and capabilities |
restrictions.json |
Shipping restrictions, sanctions, compliance frameworks |
data_links.json |
Cross-references between data files |
All data is validated against JSON schemas in schemas/; mappings.json maps schemas to files; metadata.json has checksums and canonical URLs. Structure: Products → Prices → Zones (dimensions, weight tiers, effective dates); Services → Features; Restrictions → Frameworks (e.g. EU sanctions, UN resolutions). One-directional; no circular dependencies. data_links.json describes dependencies and lookup rules.
Standards
- Country codes: ISO 3166-1 alpha-2 (
DE,US,FR,YE) - Region codes: ISO 3166-2 (
DE-BY,US-CA,FR-75) - Dates: ISO 8601 (
2024-01-15,2023-06-01) - Jurisdiction:
EU(European Union),UN(United Nations),DE(Germany),DP(Deutsche Post operational)
Restrictions: Tracks occupied/disputed territories, links to legal frameworks (EU sanctions, UN resolutions), supports partial territory restrictions (effective_partial) and historical dates (effective_from, effective_to).
Disclaimer
This is reference data for Deutsche Post services. Always verify current restrictions, pricing, and service availability with Deutsche Post before shipping. Data accuracy is best-effort. Official information: Deutsche Post.
Related resources
🔳 gruncellka
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file gruncellka_porto_data-0.3.0.tar.gz.
File metadata
- Download URL: gruncellka_porto_data-0.3.0.tar.gz
- Upload date:
- Size: 19.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
70dbd73d918589a46e4dcfa4fae58e87d02225ae179497259c4d3936ed063083
|
|
| MD5 |
e065c0af3b1c036d9b657868055bdf5f
|
|
| BLAKE2b-256 |
7f0d9770fdacf50f9c2759ee13fbe5bf9bf70b031bebb88d850374985b509e3b
|
Provenance
The following attestation bundles were made for gruncellka_porto_data-0.3.0.tar.gz:
Publisher:
publish.yml on gruncellka/porto-data
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
gruncellka_porto_data-0.3.0.tar.gz -
Subject digest:
70dbd73d918589a46e4dcfa4fae58e87d02225ae179497259c4d3936ed063083 - Sigstore transparency entry: 1052761282
- Sigstore integration time:
-
Permalink:
gruncellka/porto-data@a80efdd0a82197154547cbbdb9d7b26558d72dba -
Branch / Tag:
refs/tags/v0.3.0 - Owner: https://github.com/gruncellka
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@a80efdd0a82197154547cbbdb9d7b26558d72dba -
Trigger Event:
push
-
Statement type:
File details
Details for the file gruncellka_porto_data-0.3.0-py3-none-any.whl.
File metadata
- Download URL: gruncellka_porto_data-0.3.0-py3-none-any.whl
- Upload date:
- Size: 27.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
924522127d984b432621d4741b2b2aa2fe74f1dcc457cccd2808adb891a59010
|
|
| MD5 |
2ff4c6ce5c2f8bd82aefc4b16aa910ce
|
|
| BLAKE2b-256 |
96e6ac1a491ed71485decb0409ee26b2d4bff354e9d1abb6eb19ff5f9e3ad81f
|
Provenance
The following attestation bundles were made for gruncellka_porto_data-0.3.0-py3-none-any.whl:
Publisher:
publish.yml on gruncellka/porto-data
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
gruncellka_porto_data-0.3.0-py3-none-any.whl -
Subject digest:
924522127d984b432621d4741b2b2aa2fe74f1dcc457cccd2808adb891a59010 - Sigstore transparency entry: 1052761285
- Sigstore integration time:
-
Permalink:
gruncellka/porto-data@a80efdd0a82197154547cbbdb9d7b26558d72dba -
Branch / Tag:
refs/tags/v0.3.0 - Owner: https://github.com/gruncellka
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@a80efdd0a82197154547cbbdb9d7b26558d72dba -
Trigger Event:
push
-
Statement type: