Knowledge-Base (KB) interface (API)
Project description
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
File details
Details for the file Interface_KB-1.1.0.tar.gz
.
File metadata
- Download URL: Interface_KB-1.1.0.tar.gz
- Upload date:
- Size: 33.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.1 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0f7b51654d6b8aae6b6757d0eb9a07e216ded628f3744a4d0b8d09a75da255a4 |
|
MD5 | b9352890635057f263c07d6d611c78a4 |
|
BLAKE2b-256 | ce31eea08e16dd473ea299b834f09c30b3d35153cffa0ce991da7e747a6c23fa |