Skip to main content

Knowledge-Base (KB) interface (API)

Project description

pypi-version

Interface-KB is a python API to interface with Knowledge-Base instance models written for python 3.6. The API is developed as part of the Product-Assembly Co-Design (PACo) SBO project.

Interface-KB allows you to handle Knowledge-Base instance models, and gives the key you need to integrate the Knowledge-Base structured data model within existing or new algorithms or applications. It supports out-of-the-box:

  • Fetching structured data from existing Knowledge-Base instance models,

  • Updating structured data from existing Knowledge-Base instance models,

  • Adding structured data to a new or existing Knowledge-Base instance model,

  • Knowledge-Base interface handling via standardized Interface Objects,

  • JSON (de)serialization

Let see how to create an API instance to start using the API functions:

from Interface_KB import KB_Interface,InterfaceObjects
API = KB_Interface.KB_Interface(True)

Installation

Interface-KB is available on pypi, you can simply install it using pip:

$ pip install Interface-KB

Installation using pip in virtual environment:

$ py -m pip install –user Interface-KB

Examples and documentation

You can find all usage examples and detailed documentation of all API functions in this page:

https://interface-kb-public-documentation.readthedocs.io/en/latest/

Project details


Download files

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

Source Distribution

Interface_KB-1.1.0.tar.gz (33.6 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page