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)
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
You can read the documentation (for Python 3), which sums up pretty much everything you can find in this page, and more:
https://interface-kb-public-documentation.readthedocs.io/en/latest/