Skip to main content

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 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

Download files

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

Files for ibm-spectrum-discover-application-sdk, version 0.0.2
Filename, size File type Python version Upload date Hashes
Filename, size ibm_spectrum_discover_application_sdk-0.0.2-py2.py3-none-any.whl (15.3 kB) File type Wheel Python version py2.py3 Upload date Hashes View hashes
Filename, size ibm_spectrum_discover_application_sdk-0.0.2.tar.gz (12.2 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page