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 details)
Built Distribution
File details
Details for the file pipen-verbose-0.0.0.tar.gz
.
File metadata
- Download URL: pipen-verbose-0.0.0.tar.gz
- Upload date:
- Size: 3.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.4 CPython/3.9.0 Linux/5.4.0-1031-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6893f7a47e1a7ffabdb081ab21c54cd9ea7e1cbad0983f4f4c8f4e9d214ba199 |
|
MD5 | 248c72e89fed5033bb6e8a7e3254ce8a |
|
BLAKE2b-256 | 5e8ed17cf01b2ee98ead08a30a86d10a0ef4a204fe864249ea670bc019770bfc |
File details
Details for the file pipen_verbose-0.0.0-py3-none-any.whl
.
File metadata
- Download URL: pipen_verbose-0.0.0-py3-none-any.whl
- Upload date:
- Size: 3.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.4 CPython/3.9.0 Linux/5.4.0-1031-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e2135426f018b8027c0505be64b00c468302bc0ea9d20f65d36eecc1d57d9161 |
|
MD5 | 9397c78dde76db376a93222e12185876 |
|
BLAKE2b-256 | 3e1657a0164d8b2d8fbe10d5ce6b83018d7ae993c742db118b13f3995e889d4b |