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 as _
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.3.4.tar.gz
(6.6 kB
view details)
Built Distribution
File details
Details for the file pipen_args-0.3.4.tar.gz
.
File metadata
- Download URL: pipen_args-0.3.4.tar.gz
- Upload date:
- Size: 6.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.3.2 CPython/3.11.1 Linux/5.15.0-1031-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 093c55e58e335c070edbe1e2e78f4002c30ce4bb51d1ecd0feb7a709be33ca42 |
|
MD5 | 93caba13d2b57f16eb18f03827ac1dc6 |
|
BLAKE2b-256 | 4e7464c057e64408d09efa5db71dfcd9da73926c2296bd703ed9eb4fa7d2b09b |
File details
Details for the file pipen_args-0.3.4-py3-none-any.whl
.
File metadata
- Download URL: pipen_args-0.3.4-py3-none-any.whl
- Upload date:
- Size: 6.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.3.2 CPython/3.11.1 Linux/5.15.0-1031-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 91c702580fd8614c1c6f9d91cb9495aae874f9746862635839f0178c137c5a00 |
|
MD5 | ec4bb689238f54397889f3f7470e9a4a |
|
BLAKE2b-256 | 8a9df5be81e44f5d0e42c69e959a01fd3b93a3627911b64a97fc3bf849dc63c5 |