application will allow users to share and dereference ML models.
Project description
KBox
KBox python implementation
This package is created to distribute KBox as a python package.
-
View the library from here
-
Install using pip
pip install kbox
Use it in from your terminal
Once you install the kbox package, you can directly execute the commands from the terminal. You don't need to open up a python environment to use the kbox package.
Open a terminal and execute KBox commands in python with kbox package as below,
kbox -list
KBox KNS Resource table list
##############################
name,format,version
##############################
https://schema.org/,kibe,0
http://productcatalogue.org/products/eco/,kibe,0
http://productcatalogue.org/products/amazon/,kibe,0
http://company.org,kibe,0
http://github.org/aksw/NSpM/monument_300_2,kibe,0
http://github.org/aksw/NSpM/monument_300,NSPM/Model,0
http://purl.org/dc/dcmitype/,kibe,0
http://purl.org/dc/dc0/,kibe,0
...
...
Like the above command, you can use all other KBox commands with kbox python package. You can refer to the document here to get a good understanding of other KBox commands as well.
Use it in your python application.
execute(command)
Description: Execute the provided command in the KBox.jar
Args:
command: 'string', KBox command which should be exectue in KBox.
Returns:
Resutls of the provided kbox command as a string
If you want to use the kbox inside your python application, you can follow these instructions,
-
Import the kbox package (
from kbox import kbox
). -
Execute any KBox command with execute() function as follows.
kbox.execute('KBox_Command')
**Note: execute()
method will return a string output which contains the result of the executed command.
Source URLs
- Find the KBox source code here
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 Distributions
Built Distribution
File details
Details for the file KBox-0.0.2a0-py3-none-any.whl
.
File metadata
- Download URL: KBox-0.0.2a0-py3-none-any.whl
- Upload date:
- Size: 19.5 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.6.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.6.14
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 158aea8ee2d478c0f66c3ceccc33b9aaed2164340bd63f134086d54a1793e651 |
|
MD5 | b9eb131f992d54fbf2d1fc3e3d6da6cf |
|
BLAKE2b-256 | ca059a1436b8c137f34f23b13326d0633412164b5db50305b7a27057a8ed348e |