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.57.tar.gz
(39.4 kB
view hashes)
Built Distribution
Close
Hashes for enrichwrap-0.0.57-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1f4ea6e3be26c2fe1f2b963e6d0095090027a1aedcc5c463050ab7dd7d8b9e33 |
|
MD5 | a8b4546c0aaab31961d68364ecaf3a6f |
|
BLAKE2b-256 | 73645d5821858b93350dd965cc348040f58016b3fccbb306c215bf7af3d0802f |