Command-line argument parser for pipen.
Project description
pipen-args
Command line argument parser for pipen
Usage
from pipen import Proc, Pipen
from pipen_args import args
class Process(Proc):
input = 'a'
input_data = range(10)
script = 'echo {{in.a}}'
Pipen().set_start(Process).run()
❯ python example.py --help
DESCRIPTION:
Pipeline description.
My process
USAGE:
example.py --in.a list [OPTIONS]
OPTIONS FOR <Process>:
--in.a <list> - [Required] Undescribed.
OPTIONAL OPTIONS:
--config <path> - Read options from a configuration file in TOML. Default: None
-h, --help - Print help information for this command
--full - Show full options for this command
PIPELINE OPTIONS:
--profile <str> - The default profile from the configuration to run the pipeline.
This profile will be used unless a profile is specified in the
process or in the .run method of pipen. Default: default
--outdir <path> - The output directory of the pipeline
Default:
/home/pwwang/github/pipen-args/examples/pipen-0_results
--workdir <str> - The workdir for the pipeline. Default: ./.pipen
--scheduler <str> - The scheduler to run the jobs. Default: local
See more examples in examples/
folder.
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-args-0.1.7.tar.gz
(6.1 kB
view hashes)
Built Distribution
Close
Hashes for pipen_args-0.1.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6e93f9f2b5505e6a94f10902dae03960fc4c73e5cd5c90e5eb5a9dcad2cecd57 |
|
MD5 | 788997b28afe0cbce5fd3f2c5794d8cd |
|
BLAKE2b-256 | 0a8f001304243eb81a11919c20d3b3a8b72fe54f5d7fa9537d9a1cb15f4f6c3a |