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: ./<name>_results
--name <str> - The workdir for the pipeline. Default: <pipeline-defined>
--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.9.tar.gz
(6.2 kB
view details)
Built Distribution
File details
Details for the file pipen-args-0.1.9.tar.gz
.
File metadata
- Download URL: pipen-args-0.1.9.tar.gz
- Upload date:
- Size: 6.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.13 CPython/3.10.2 Linux/5.11.0-1028-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9bac7d1ab704cd39ecfc708549d0df650aa3d98eb4d93bb04d5cac4288a3bd1c |
|
MD5 | c3d808da756924d502deefedfe22ac3d |
|
BLAKE2b-256 | 6327b09d060a0512361f1bee525caae6fb62e3196d006b4342e9f451257d0a7a |
File details
Details for the file pipen_args-0.1.9-py3-none-any.whl
.
File metadata
- Download URL: pipen_args-0.1.9-py3-none-any.whl
- Upload date:
- Size: 6.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.13 CPython/3.10.2 Linux/5.11.0-1028-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cdba79937dfb704daaf0d8b3457d9b7db1f246113703e416ac7ecabab5b611ba |
|
MD5 | 29230b5de0091c5afabfdf148ec2106b |
|
BLAKE2b-256 | 17069ae7917a0b70bff97ec5bf3f8b7e54f5b7dfc611ed2dfadb132b41ce36f7 |