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.1.tar.gz
.
File metadata
- Download URL: promsoft_weight_calc_interface-0.2.1.tar.gz
- Upload date:
- Size: 1.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.6.1 CPython/3.10.13 Linux/5.15.0-53-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 10bde5a60dbc2a8fd81355258e82fffacf1cad53373cda7aff9be750c157db91 |
|
MD5 | b56930d14f2ec80c3d9b80290fe8bf84 |
|
BLAKE2b-256 | 6d60401032faf70503c93e52ac2d8db535306007c32c19c3cd004f0370b2e119 |
File details
Details for the file promsoft_weight_calc_interface-0.2.1-py3-none-any.whl
.
File metadata
- Download URL: promsoft_weight_calc_interface-0.2.1-py3-none-any.whl
- Upload date:
- Size: 2.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.6.1 CPython/3.10.13 Linux/5.15.0-53-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7dfbeaaf06bef0ba9c8fbe80941df0f683157a826ca2e17b688e9271000b24ad |
|
MD5 | e8f7a0502312be23309152d9a1a8d049 |
|
BLAKE2b-256 | b15492a129b2074f02dbdbdab04c7347a598a7af7082b2d7c2fc5016defa587f |