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.0.tar.gz
(5.8 kB
view details)
Built Distribution
File details
Details for the file pipen-args-0.1.0.tar.gz
.
File metadata
- Download URL: pipen-args-0.1.0.tar.gz
- Upload date:
- Size: 5.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.11 CPython/3.10.0 Linux/5.11.0-1020-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c2b459cca2a423ff314daf3f0f65d3b0473e995891cf3fd62c05178481172ec4 |
|
MD5 | 0d36a979931294b2423007969ef7e697 |
|
BLAKE2b-256 | 57008245f7b53d8c1b8eec656ba2a85501ce46b5bd87716480c990f412e831c9 |
File details
Details for the file pipen_args-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: pipen_args-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.11 CPython/3.10.0 Linux/5.11.0-1020-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d2902cec14f6fe923cceb9c22e2c508c1852f4be9bb4f381191d6a1b83c4202d |
|
MD5 | a0842ece82fa751170b673a349653e7f |
|
BLAKE2b-256 | 955264316a8b2ec43f413a3da9da6768b63740116e6e44fb109f99c2e04c12d2 |