Skip to main content

Deutsche Post pricing and rules data with schema validation

Project description

Porto Data

validation codecov

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 the porto CLI or import the porto_data package; 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; the porto_data folder 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

gruncellka_porto_data-0.2.0.tar.gz (29.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gruncellka_porto_data-0.2.0-py3-none-any.whl (26.9 kB view details)

Uploaded Python 3

File details

Details for the file gruncellka_porto_data-0.2.0.tar.gz.

File metadata

  • Download URL: gruncellka_porto_data-0.2.0.tar.gz
  • Upload date:
  • Size: 29.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for gruncellka_porto_data-0.2.0.tar.gz
Algorithm Hash digest
SHA256 46f0c37d0242a9fa3c3c0698b9e1c821fcbb2f703b780583e0f20f786f43966e
MD5 be0cbfe598d49aede6e59eee2f78ad35
BLAKE2b-256 4349af4248c707920a2f0bac87b596629e33721c2427d19b19359eaabfd96ffd

See more details on using hashes here.

File details

Details for the file gruncellka_porto_data-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for gruncellka_porto_data-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 745dc13b2b8b36c2b622f4a9b090210c8527691fcfb165b8b3f5e1cc8b5c9203
MD5 03565a35f2238ff9e2fce9618c8f99e0
BLAKE2b-256 5aaafd57da481515548d34e55438d5987685118032ff2937c7c393927630a987

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