Skip to main content

Utility toolkit for omnibenchmark modules and Snakemake workflows

Project description

obkit

Utility toolkit for omnibenchmark modules and Snakemake workflows. Pure stdlib, zero runtime dependencies.

The R implementation lives in the same repository under r/obkit.

Install

pip install obkit

Modules

module purpose
obkit.logger Structured JSONL lifecycle event logging — drop phase-boundary anchors into a log file so downstream tooling can attribute profiler samples to named phases of a rule.
obkit.prof Parse and align profiler output (denet, Snakemake bench files) with logger events for per-phase resource attribution. (in progress)

Usage

from obkit.logger import init_logger, emit

init_logger("/path/to/logdir")
emit("align", "start")
# ... do work ...
emit("align", "end", attrs={"reads": 12345})

Events are written to omnibench-events.jsonl inside the directory passed to init_logger. See the wire format spec for the record schema.

Status

v0.1, pre-release. Wire format is stable; API may still shift.

License

MIT — see LICENSE.

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

obkit-0.0.2.tar.gz (4.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

obkit-0.0.2-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

Details for the file obkit-0.0.2.tar.gz.

File metadata

  • Download URL: obkit-0.0.2.tar.gz
  • Upload date:
  • Size: 4.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for obkit-0.0.2.tar.gz
Algorithm Hash digest
SHA256 7ba60eee610071a907152d980bf161a9a870105bda447edf7c2333c6f51302e6
MD5 cb638f69229584d2e7267968e4a55313
BLAKE2b-256 be3449b79447c0df9878cb3afa67f438204e40f1460ab8493ecbdf13aea5375c

See more details on using hashes here.

Provenance

The following attestation bundles were made for obkit-0.0.2.tar.gz:

Publisher: release.yml on omnibenchmark/obkit

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file obkit-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: obkit-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 4.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for obkit-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c831f3aa984ae1d8dafe0033503c6a817edb8c86657e32a4ebb48247483dcaf9
MD5 13b8cd9c5b40c9b6c9a7ee00363939a6
BLAKE2b-256 a995892b7b4763c30e106e7dd2a16f1725fd7e5aafd95aafded5616d8ea2c8aa

See more details on using hashes here.

Provenance

The following attestation bundles were made for obkit-0.0.2-py3-none-any.whl:

Publisher: release.yml on omnibenchmark/obkit

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page