An interface for weight_calc service.
Project description
promsoft_weight_calc_interface
Interface for weight_calc microservice.
Usage:
from promsoft_weight_calc_interface import Entry, ComplEntry
my_entry = Entry(id=10004, cnt=2)
print(f"Entry as dict: {my_entry.dict()}")
my_compl_entry = ComplEntry(items=[Entry(id=10004, cnt=2), Entry(id=10005, cnt=2)], return_sizes_goods=True)
print(f"ComplEntry as dict: {my_compl_entry.dict()}")
Project details
Release history Release notifications | RSS feed
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
File details
Details for the file promsoft_weight_calc_interface-0.2.4.tar.gz
.
File metadata
- Download URL: promsoft_weight_calc_interface-0.2.4.tar.gz
- Upload date:
- Size: 2.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.10.13 Linux/5.15.0-89-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 08258776eb396d5fe9781df80012e0a4e78147a303d2fd9854592c1f839d427d |
|
MD5 | 06c52663200592b7587eb3addc470bc8 |
|
BLAKE2b-256 | fba8ef2817faf7f130af4a14d62a3903857194dec6609865e747915710d7f216 |
File details
Details for the file promsoft_weight_calc_interface-0.2.4-py3-none-any.whl
.
File metadata
- Download URL: promsoft_weight_calc_interface-0.2.4-py3-none-any.whl
- Upload date:
- Size: 2.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.10.13 Linux/5.15.0-89-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | defb7bdfe0534f2f9d432ee4c42cc43800f378c597decc7cb7bbab5a91e424df |
|
MD5 | bc1e6ddc3860558936f90fb1b85cb236 |
|
BLAKE2b-256 | 1834399cbbaa434fea27c11aae86e80352b33024cd70ca857751d49f7201f193 |