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.64.tar.gz
(40.4 kB
view details)
Built Distribution
File details
Details for the file enrichwrap-0.0.64.tar.gz
.
File metadata
- Download URL: enrichwrap-0.0.64.tar.gz
- Upload date:
- Size: 40.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ba6573ffdb72316acee40367e707b332f842d284986861517ec40a94925ab8d6 |
|
MD5 | 9f4b3df262a12321c76912ceb956d510 |
|
BLAKE2b-256 | a7aff1b1106f70a5c4c01eda0c4f5da24cc84b6c5170d4fe81da4474728bd5f8 |
File details
Details for the file enrichwrap-0.0.64-py3-none-any.whl
.
File metadata
- Download URL: enrichwrap-0.0.64-py3-none-any.whl
- Upload date:
- Size: 49.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8cd20f799daae98bfe933378cb60cd0fe4fa5395480a4425f0a419e95cb4f142 |
|
MD5 | 0914fc30f32e8f4ca1e737a784a90789 |
|
BLAKE2b-256 | 4fbb80509fc76f31d9047d555ecd882e2c016559df5d799041f9e19838a7e0b9 |