Skip to main content
pipen-runinfo logo

Generate running information for jobs in pipen pipelines.

Including session info (packages and versions), time, and device info.


Install

pip install -U pipen-runinfo

Enable/Disable the plugin

The plugin is registered via entrypoints. It's by default enabled. To disable it: plugins=[..., "no:runinfo"], or uninstall this plugin.

Plugin options

  • runinfo_lang: The name of the language to run the job script for session info. Default is None, which means it will be inferred from the proc.lang This should be a process-level option, unless you only have one single process in your pipeline.
  • runinfo_path: Whether to include paths for the modules in the session information. Default is True. This option could be either specified in the process-level or the pipeline-level. Only works for python.
  • runinfo_submod: Whether to include submodules in the session information. Default is False. This option could be either specified in the process-level or the pipeline-level. Only works for python.

Supported languages for session info

python, R, bash, and fish.

Usage

The plugin will generate 3 files in the job directory of the pipeline.

job.runinfo.session

The session information of the job, including the interpreter, packages and their versions.

Python

Generates a TSV file with the following columns:

  • Name: The name of the module, or python itself
  • __version__: The version fetched by module.__version__ or module.version
  • importlib.metadata: The version fetched by importlib.metadata.version(package)
  • Path: The path of the module (only if runinfo_path is True)

R

Generates a text file sessionInfo() output.

Bash

Generates a TSV file with the following columns:

  • SHELL: The value of $SHELL
  • BASH_VERSION: The value of $BASH_VERSION
  • BASH_ARGV0: The value of $BASH_ARGV0
  • BASH_SOURCE: The value of $BASH_SOURCE
  • proc-exe: The real path of the executable from /proc/<pid>/exe
  • proc-exe-version: The version of the executable from /proc/<pid>/exe --version

Fish

Generates a TSV file with the following columns:

  • SHELL: The value of $SHELL
  • FISH_VERSION: The value of $FISH_VERSION
  • proc-exe: The real path of the executable from /proc/<pid>/exe
  • proc-exe-version: The version of the executable from /proc/<pid>/exe --version

job.runinfo.time

The time spent on the job, and more, generated by time -v command.

job.runinfo.device

The device (CPU, memory, disk, network and GPU) information of the job, generated by lscpu, free, df, ifconfig/ip and nvidia-smi/rocm-smi when available. Missing lscpu/free fall back to /proc/cpuinfo and /proc/meminfo.

Metadata

Release files for pipen-runinfo 1.1.6

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

Source distribution (sdist)

Source distribution for pipen-runinfo 1.1.6
File Size Uploaded Provenance Actions
pipen_runinfo-1.1.6.tar.gz 457.5 kB Without provenance Details for pipen_runinfo-1.1.6.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pipen-runinfo 1.1.6
File Interpreter ABI Platform Actions
pipen_runinfo-1.1.6-py3-none-any.whl Python 3 none any Details for pipen_runinfo-1.1.6-py3-none-any.whl

Total release size: 465.3 kB

Release files / pipen_runinfo-1.1.6.tar.gz

Download URL pipen_runinfo-1.1.6.tar.gz
Size 457.5 kB
Tags Source
SHA-256 checksum
How to use checksums
0553d8b1ca4630b50908fabbe3821ac56b07376b43c407b2c8d748637b32d10e
BLAKE2b-256 checksum
How to use checksums
15dc9291cbd0f86a177ea4c0fcf1af52e63afbe702d741c5571e5f1bfe583109
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / pipen_runinfo-1.1.6-py3-none-any.whl

Download URL pipen_runinfo-1.1.6-py3-none-any.whl
Size 7.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
18946d5627dac7ab324b322e2148ece124d17488e1039069c5fc744b679d23ce
BLAKE2b-256 checksum
How to use checksums
b6d00796a57215244ef2ac154d4dc6bc34cfe40ae0d0646b17e4f8e121dd9e7e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for pipen-runinfo 1.1.6

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