Skip to main content

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()

Usage

pip install dukeai_lib

and subsequently...

import dukeai_lib

or

from dukeai_lib.schema_kung_fu import schema_utilities

Release files for dukeai-lib 0.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 dukeai-lib 0.2.5
File Size Uploaded
dukeai_lib-0.2.5.tar.gz 50.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for dukeai-lib 0.2.5
File Interpreter ABI Platform
dukeai_lib-0.2.5-py3-none-any.whl Python 3 none any Details

Total release size: 106.9 kB

Release files / dukeai_lib-0.2.5.tar.gz

Download URL dukeai_lib-0.2.5.tar.gz
Size 50.0 kB
Tags Source
SHA-256 checksum
How to use checksums
986f1a787a808a1081ba706a3c01f7b7633ff2ccb49bac358b420c28129dee51
BLAKE2b-256 checksum
How to use checksums
af0bb4fbf35a6cf05269e6ae40790bd2637790893e4be1d5c851486695e3a377
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.8.10

Release files / dukeai_lib-0.2.5-py3-none-any.whl

Download URL dukeai_lib-0.2.5-py3-none-any.whl
Size 57.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fcfbeb7f69741364517303c91f306ea8c255867b25e70f06476ba075e1137cf7
BLAKE2b-256 checksum
How to use checksums
69068ad8cc80d4bb3994a7836f9e3f994112d78930ff2b9202b1da8f966f8f5f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.8.10

Release history Release notifications | RSS feed

This release

0.2.5 This release

2 release files

0.2.4

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.9

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

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