A small package testing calling out to third party enrichment
Project description
High level description
This tool will
- Take in a set of provided data, or use input.json in its place
- Read in a set of available enrichment REST endpoints, with POST or GET structure defined
- Read in a set of steps to follow, to call multiple enrichment providers in parallel, serial, percentage, or fallback means
- Read in mapping XML, which will take the input data (step 1) and convert it into what the various REST endpoints need (step 2).
- 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
- 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
- For each step,
- 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
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
enrichwrap-0.0.50.tar.gz
(36.7 kB
view details)
Built Distribution
File details
Details for the file enrichwrap-0.0.50.tar.gz
.
File metadata
- Download URL: enrichwrap-0.0.50.tar.gz
- Upload date:
- Size: 36.7 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | e042e8400c3d7a03a4c33283fd4ee361590b6fc327d2d3e7700efe6479f8dce4 |
|
MD5 | 8539f5ebe3aeb00aaf4690e1731d6c67 |
|
BLAKE2b-256 | 54ab841467ede1d41c69203fb4c2e51065efb958b41dbf62c6f3c1b52375aefd |
File details
Details for the file enrichwrap-0.0.50-py3-none-any.whl
.
File metadata
- Download URL: enrichwrap-0.0.50-py3-none-any.whl
- Upload date:
- Size: 44.5 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | eea8e3a0284aff6cd3c5cdb0a58b6f8209609293896fd84bbaa0784549e16796 |
|
MD5 | 6ced0d2cc3a2ad0253531c523aa41319 |
|
BLAKE2b-256 | 81485227ea8841f2b9a0d548af30fb7e6337ffaaed9cb7afe6f1bcc7f02a3566 |