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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file dukeai_lib-0.2.5.tar.gz.
File metadata
- Download URL: dukeai_lib-0.2.5.tar.gz
- Upload date:
- Size: 50.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
986f1a787a808a1081ba706a3c01f7b7633ff2ccb49bac358b420c28129dee51
|
|
| MD5 |
d99687cf580c4721599fe5f8024c2137
|
|
| BLAKE2b-256 |
af0bb4fbf35a6cf05269e6ae40790bd2637790893e4be1d5c851486695e3a377
|
File details
Details for the file dukeai_lib-0.2.5-py3-none-any.whl.
File metadata
- Download URL: dukeai_lib-0.2.5-py3-none-any.whl
- Upload date:
- Size: 57.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fcfbeb7f69741364517303c91f306ea8c255867b25e70f06476ba075e1137cf7
|
|
| MD5 |
a274d64491339ef9eb773964b33765ec
|
|
| BLAKE2b-256 |
69068ad8cc80d4bb3994a7836f9e3f994112d78930ff2b9202b1da8f966f8f5f
|