This release is a pre-release and may not be stable for production use.
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
Metadata
Release files for KBox 0.0.2a0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| KBox-0.0.2a0-py3-none-any.whl | Python 3 | none | any | Details |
Release files / KBox-0.0.2a0-py3-none-any.whl
| Download URL | KBox-0.0.2a0-py3-none-any.whl |
|---|---|
| Size | 19.5 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
158aea8ee2d478c0f66c3ceccc33b9aaed2164340bd63f134086d54a1793e651
|
|
BLAKE2b-256 checksum How to use checksums |
ca059a1436b8c137f34f23b13326d0633412164b5db50305b7a27057a8ed348e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|