Skip to main content

A small package testing calling out to third party enrichment

Project description

High level description

This tool will

  1. Take in a set of provided data, or use input.json in its place
  2. Read in a set of available enrichment REST endpoints, with POST or GET structure defined
  3. Read in a set of steps to follow, to call multiple enrichment providers in parallel, serial, percentage, or fallback means
  4. Read in mapping XML, which will take the input data (step 1) and convert it into what the various REST endpoints need (step 2).
  5. Read in outbound mapping XML, which will take the data that comes back from the enrichment tools (step 2) and map it to data that is named what a customer would expect as output
  6. Follows the steps defined (step 3), with the input data (step 1).
    • For each step,
      • For each enrichment called, map the incoming data to what the rest call needs. Call the rest interface
      • On failure, capture the failure in the results
      • On success, capture the data that comes back. Map it to the variable names as defined in step 5
  7. Return back the set of data from each of the enrichment providers, remapped as requested, to the caller

Requirements

  • pip install requests
  • python -m pip install --upgrade pip

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

enrichwrap-0.0.62.tar.gz (39.6 kB view details)

Uploaded Source

Built Distribution

enrichwrap-0.0.62-py3-none-any.whl (48.3 kB view details)

Uploaded Python 3

File details

Details for the file enrichwrap-0.0.62.tar.gz.

File metadata

  • Download URL: enrichwrap-0.0.62.tar.gz
  • Upload date:
  • Size: 39.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.0 importlib_metadata/3.7.2 packaging/20.9 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2

File hashes

Hashes for enrichwrap-0.0.62.tar.gz
Algorithm Hash digest
SHA256 c17c3923e346b9cbe4d66fc93eb2318f1c6e66f035df4a242d31d109f896db7c
MD5 b969818367c77e7d97d38c076a1b8cc8
BLAKE2b-256 79b0193a561c950ee70264e58e49e49d5779d5e073b2b0ae620c73dd20e9c436

See more details on using hashes here.

File details

Details for the file enrichwrap-0.0.62-py3-none-any.whl.

File metadata

  • Download URL: enrichwrap-0.0.62-py3-none-any.whl
  • Upload date:
  • Size: 48.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.0 importlib_metadata/3.7.2 packaging/20.9 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2

File hashes

Hashes for enrichwrap-0.0.62-py3-none-any.whl
Algorithm Hash digest
SHA256 22d089eead96a159226d466b1898b46816d2483af171fe9d991c5e84eb6fcffa
MD5 22d0b883db1097560acb2b665b82808e
BLAKE2b-256 55bdd12340262f2ca53c1c1ee23356ec420bb422ead1ec4add40e9094ee7fcc1

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page