Common functions used across the DUKE.ai project environments.
Project description
Duke.ai Lib (dukeai_lib)
Latest Release: 2023-07-25
The dukeai_lib PIP package repository; Contains base functions that are used across multiple internal backend projects making it easier for developers to maintain consistency via a centralized codebase while enabling retroactive updates to core functionality.
Modules
-
tools
- gen_random_sha()
-
application
- check_access()
- api_response()
-
utilities
- DecimalEncoder(class)
-
schema_kung_fu
- rate_confirmation
- flatten_ratecon()
- unflatten_ratecon()
- accessorial
- flatten_accessorial()
- unflatten_accessorial()
- bill_of_lading
- flatten_bol()
- unflatten_bol()
- invoice
- flatten_invoice()
- unflatten_invoice()
- noa_lor
- flatten_noa_lor()
- unflatten_noa_lor()
- classification
- dt_multiclass_to_dynamoson()
- translate_dt_multiclass()
- classification_template()
- standardize_classification_name()
- parse_classification_dynamoson()
- parse_multiple_classification_dynamoson()
- schema_utilities
- dict(REFERENCE_OPTIONS)
- dict(STATES)
- get_idtype()
- format_state()
- parse_incoming_address()
- format_time()
- parse_time()
- rate_confirmation
Usage
pip install dukeai_lib
and subsequently...
import dukeai_lib
or
from dukeai_lib.schema_kung_fu import schema_utilities
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
dukeai_lib-0.2.1.tar.gz
(49.7 kB
view hashes)
Built Distribution
dukeai_lib-0.2.1-py3-none-any.whl
(56.7 kB
view hashes)
Close
Hashes for dukeai_lib-0.2.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fdc8fa1c702cad2d3bef0d387123aeb2fd55b06a44d0d5429413e73a11f062a0 |
|
MD5 | 5071e953e2f8f782571141f13d7ae61e |
|
BLAKE2b-256 | 58e649ebbacc008469de66e17dfc603f4603b734f67b0c41bfaddd2c0c5f8712 |