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 obkit-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.3.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.3-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: obkit-0.0.3.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.3.tar.gz
Algorithm Hash digest
SHA256 59a4241b308ea25aa0c1d1c97f553de362a720fb2e3ddcf76cddc1badaf032f6
MD5 66962727d9bd0dfea8db6c9bf839a68c
BLAKE2b-256 0fa6d4f4c5f67a3ee2dfcfb4605fbec3cb07808c2beb6a00c8815ab9aecad42b

See more details on using hashes here.

Provenance

The following attestation bundles were made for obkit-0.0.3.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.3-py3-none-any.whl.

File metadata

  • Download URL: obkit-0.0.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 b331119d5e30b15234c7f567cd5d8ea016e999f51ac10226d5a68cd90cd58a7b
MD5 567138fde6ea2984b7f2c1611e7831d2
BLAKE2b-256 5cf30aeab8eab2fd7776759367cfaf6cdda582cc6ba950d103ee65a3dab0aee8

See more details on using hashes here.

Provenance

The following attestation bundles were made for obkit-0.0.3-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