Add verbosal information in logs for pipen.
Project description
pipen-verbose
Add verbosal information in logs for pipen.
Usage
from pipen import Proc, Pipen
class Process(Proc):
input_keys = 'a'
input = range(10)
output = 'b:file:a.txt'
script = 'echo {{in.a}} > {{out.b}}'
Pipen(starts=Process).run()
> python example.py
11-04 12:00:19 I /main _____________________________________ __
I /main ___ __ \___ _/__ __ \__ ____/__ | / /
I /main __ /_/ /__ / __ /_/ /_ __/ __ |/ /
I /main _ ____/__/ / _ ____/_ /___ _ /| /
I /main /_/ /___/ /_/ /_____/ /_/ |_/
I /main
I /main version: 0.0.1
I /main
I /main ┏━━━━━━━━━━━━━━━━━━━━━━━━━ pipeline-0 ━━━━━━━━━━━━━━━━━━━━━━━━━━┓
I /main ┃ Undescribed. ┃
I /main ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
I /main Enabled plugins: ['verbose', 'main-0.0.1']
I /main Loaded processes: 1
I /main Running pipeline using profile: 'default'
I /main Output will be saved to: './pipeline-0-output'
I /main
I /main ╭─────────────────── default configurations ────────────────────╮
I /main │ cache = True │
I /main │ dirsig = 1 │
I /main │ envs = Config({}) │
I /main │ error_strategy = 'ignore' │
I /main │ forks = 1 │
I /main │ lang = 'bash' │
I /main │ loglevel = 'debug' │
I /main │ num_retries = 3 │
I /main │ plugin_opts = Config({}) │
I /main │ plugins = None │
I /main │ scheduler = 'local' │
I /main │ scheduler_opts = Config({}) │
I /main │ submission_batch = 8 │
I /main │ template = 'liquid' │
I /main │ workdir = './.pipen' │
I /main ╰───────────────────────────────────────────────────────────────╯
I /main
I /main ╭═══════════════════════════ Process ═══════════════════════════╮
I /main ║ Undescribed. ║
I /main ╰═══════════════════════════════════════════════════════════════╯
I /main Process: Workdir: '.pipen/process'
I /verbose Process: size: 10
I /verbose Process: [0/9] in.a: 0
I /verbose Process: [0/9] out.b: pipeline-0-output/Process/0/a.txt
I /main Process: Cached jobs: 0-1
I /verbose Process: Time elapsed: 00:00:00.034s
pipeline-0: 100%|████████████████████████████████████████| 1/1 [00:00<00:00, 10.50 procs/s]
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
pipen-verbose-0.0.0.tar.gz
(3.4 kB
view hashes)
Built Distribution
Close
Hashes for pipen_verbose-0.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e2135426f018b8027c0505be64b00c468302bc0ea9d20f65d36eecc1d57d9161 |
|
MD5 | 9397c78dde76db376a93222e12185876 |
|
BLAKE2b-256 | 3e1657a0164d8b2d8fbe10d5ce6b83018d7ae993c742db118b13f3995e889d4b |