No project description provided
Project description
omnibench-cli
A command line interface to query and access datasets and workflows project-wide across omnibenchmark.
Install
Install via pip:
pip install omnibench-cli
While developing, you can use poetry:
pip install poetry
poetry shell
Use
❯ omni_cli
Usage: omni_cli [OPTIONS] COMMAND [ARGS]...
Interact with omnibenchmark datasets and workflows.
Options:
--help Show this message and exit.
Commands:
bench Inspect benchmarks
dataset Inspect datasets
docker Manipulate local docker images used for workflow runs
epoch Query and manipulate Orchestrator Epochs in the Knowledge...
graph Local knowledge graph operations
init Initialize omnibenchmark cache
query Query the local graph
update Update omnibenchmark cache
workflow Interacts with workflows
❯ omni_cli bench ls
omni_clustering
spatial-clustering
❯ omni_cli bench stages omni_clustering
omni_clustering:build
omni_clustering:data_run
omni_clustering:process_run
omni_clustering:param_run
omni_clustering:method_run
omni_clustering:metric_run
omni_clustering:summary_run
Local Graph Server
The local graph needs oxigraph_server
to be installed.
You can install it with cargo
:
❯ cargo install oxigraph_server
Updating crates.io index
Downloaded oxigraph_server v0.3.18
Downloaded 1 crate (34.4 KB) in 1.93s
Installing oxigraph_server v0.3.18
Updating crates.io index
[... long build follows ...]
Now you can start the graph server (which supports Federated SPARQL. You can configure a different graph for annotations:
❯ omni_cli graph enable
Enabling local SPARQL endpoint
❯ omni_cli graph run
Running local SPARQL endpoint
Running oxigraph_server with --location /home/user/OmniBenchmark/graph
Listening for requests at http://localhost:7878
❯ omni_cli graph run --annotations
Running local SPARQL endpoint
Running oxigraph_server with --location /home/user/OmniBenchmark/annotations
Listening for requests at http://localhost:8080
Do note, however, that no authentication or TLS endpoint is configured by default. If you plan to deploy the graph in production, is up to you to make sure you deploy an authentication frontend (support in the client is still needed, see #2).
Useful pointers
- Initial Functionality Requests
- omnibenchmark-py, a
python
library to interact with omnibenchmark. - omnibus, a
bash/R
tool to interact withomnibenchmark
from the terminal. - omni_site, the static site generator that powers https://omnibenchmark.org/.
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 Distribution
Built Distribution
File details
Details for the file omnibench_cli-1.0.3.tar.gz
.
File metadata
- Download URL: omnibench_cli-1.0.3.tar.gz
- Upload date:
- Size: 24.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.10.6 Linux/6.2.6-76060206-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0eb7b21948cf4c6e97842cee15f131cc75005f652ef31a4d39a2d585eed510e4 |
|
MD5 | c8095aafea0acaf57f11a13426235fce |
|
BLAKE2b-256 | ca291a6d8ef5148169958b107cbae9ef9cd213dc1b215772c790d3bba08e6258 |
File details
Details for the file omnibench_cli-1.0.3-py3-none-any.whl
.
File metadata
- Download URL: omnibench_cli-1.0.3-py3-none-any.whl
- Upload date:
- Size: 28.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.10.6 Linux/6.2.6-76060206-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b9b15bbb8407507dc773a36240e08074bbc5f778435d4147f4d2a7abf4e30bbb |
|
MD5 | 9cc9ff31a189bbf87378ecd1fa790584 |
|
BLAKE2b-256 | e4ed5eece987059476bebc5eddf7195c291c375a8d35fe5476826d55e9b74c8a |