Skip to main content

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

Metadata

Release files for omnibench-cli 1.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for omnibench-cli 1.0.3
File Size Uploaded Provenance Actions
omnibench_cli-1.0.3.tar.gz 24.8 kB Without provenance Details for omnibench_cli-1.0.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for omnibench-cli 1.0.3
File Interpreter ABI Platform Actions
omnibench_cli-1.0.3-py3-none-any.whl Python 3 none any Details for omnibench_cli-1.0.3-py3-none-any.whl

Total release size: 53.5 kB

Release files / omnibench_cli-1.0.3.tar.gz

Download URL omnibench_cli-1.0.3.tar.gz
Size 24.8 kB
Tags Source
SHA-256 checksum
How to use checksums
0eb7b21948cf4c6e97842cee15f131cc75005f652ef31a4d39a2d585eed510e4
BLAKE2b-256 checksum
How to use checksums
ca291a6d8ef5148169958b107cbae9ef9cd213dc1b215772c790d3bba08e6258
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.5.1 CPython/3.10.6 Linux/6.2.6-76060206-generic

Release files / omnibench_cli-1.0.3-py3-none-any.whl

Download URL omnibench_cli-1.0.3-py3-none-any.whl
Size 28.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b9b15bbb8407507dc773a36240e08074bbc5f778435d4147f4d2a7abf4e30bbb
BLAKE2b-256 checksum
How to use checksums
e4ed5eece987059476bebc5eddf7195c291c375a8d35fe5476826d55e9b74c8a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.5.1 CPython/3.10.6 Linux/6.2.6-76060206-generic

Security for omnibench-cli 1.0.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page