IBM Spectrum Discover Application SDK
Project description
Application SDK
The Application SDK is a set of libraries provided to aid with the development of applications that leverage the IBM Spectrum Discover platform capabilities. An application in this context is described as a program that can act upon the source data to extract relevant metadata or can modify the source data as instructed. Examples of this are content inspection, anonymization, or data movement. When a policy is run against an application the application receives instructions from the Spectrum Discover PolicyEngine (called 'action params') and a list of documents to perform those actions on.
The application libraries provide functions to:
- Initialize the application and register it with the Spectrum Discover host
- Read and parse work messages from the PolicyEngine
- Retrieve the contents of the documents via Spectrum Discover connections
- Construct and send the results back to the PolicyEngine
The Application SDK provides abstracted methods to send and receive the relevant information for the work messages and sending the results back to the PolicyEngine.
An example application using these libraries is also provided in this repository.
Building a python wheel
You can create a local python wheel with the following command:
python3.6 setup.py sdist bdist_wheel --universal --dist=dist
ls dist
Building a docker image
Assuming that you have already created the wheel...
docker build .
docker image ls | head -n 2
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
Built Distribution
Hashes for ibm_spectrum_discover_application_sdk-0.0.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e78202cdccebe2f37fcdb4e4039877e26fa7734c054c58aa709f5b2a5bbf8035 |
|
MD5 | 05f2dfd949503660a8107080a2c99c15 |
|
BLAKE2b-256 | a23f809ae73b52c84477fa55a4f06d5fdcae3add125d776df0e9c92f52ca6cb6 |
Hashes for ibm_spectrum_discover_application_sdk-0.0.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0e4b4d5dbd964360d12bba7e41ded14888d44fd62b17cb9677dd7ce05760076d |
|
MD5 | 85ec5e72d2d77323f68c9773b9c8a9f2 |
|
BLAKE2b-256 | b4ad55abced87001d4150cd370975509805747c6964128e3a9fdc8e360da3932 |