Skip to main content

Data Models

Description

This package contains three pydantic data models Datamodels for use in the API tier and Processing tier

How to Install

This package is a simple package with three pydantic data models. The module is called datamodels.

Example imports:

Command Line

$ pip install datamodelsFrontier

Python

from datamodelsFrontier.external import Barcode

from datamodelsFrotnier.downstream import ChildProduct

Code Information

Example Code:

InventoryItemDimension(height_mm=3, width_mm=4, depth_mm=5, mass_kg=5)

Each Model and Input Value

External

The models that can be imported are:

  • InventoryItemDimension:

    • height_mm: int
    • width_mm: int
    • depth_mm: int
    • mass_kg: int
  • Barcode:

    • barcode_type: str
    • barcode: str
  • InventoryItem:

    • inventory_item_id: str
    • sku: str
    • name: str
    • country_of_origin: str
    • harmonized_system_code: str
    • has_hazmat: bool
    • barcodes: list[Barcode]
    • dimensions: InventoryItemDimension
    • alternative_inventory_items: list[str]
    • thg_id: str
    • status: str
Downstream
  • ChildProduct:
    • id: str
    • title: str
    • barcode: str
    • releaseDate: str
    • rrp: str
    • length: str
    • height: str
    • width: str
    • weight: str
    • releaseDateEstimated: bool

Release files for datamodelsFrontier 1.2.5

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

Source distribution (sdist)

Source distribution for datamodelsFrontier 1.2.5
File Size Uploaded
datamodelsFrontier-1.2.5.tar.gz 4.4 kB Details

Built distribution (wheel)

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

Total release size: 8.1 kB

Release files / datamodelsFrontier-1.2.5.tar.gz

Download URL datamodelsFrontier-1.2.5.tar.gz
Size 4.4 kB
Tags Source
SHA-256 checksum
How to use checksums
5d5a3ca935bfeef36962b16a299028ea6cf58e0ef5cbba2c20cce6d767ed2167
BLAKE2b-256 checksum
How to use checksums
957420ea0e4de969b3ced36a6bfdc36627adb63ae9d13a58886603ba5d7d9dfc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.16

Release files / datamodelsFrontier-1.2.5-py3-none-any.whl

Download URL datamodelsFrontier-1.2.5-py3-none-any.whl
Size 3.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e0053473cc3ce790357acbb80f58b4b1942775def748b8849a337e3665734ccb
BLAKE2b-256 checksum
How to use checksums
7050a49150ad38f2e39959e7dc340b3f07bd868d5f3873d3305b83f83c37cfbd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.16

Release history Release notifications | RSS feed

This release

1.2.5 This release

2 release files

1.2.4

2 release files

1.2.3

2 release files

1.1

2 release files

1.0

2 release files

0.2

2 release files

0.0.0

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