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.2.tar.gz
(5.8 kB
view details)
Built Distribution
File details
Details for the file pipen-args-0.1.2.tar.gz
.
File metadata
- Download URL: pipen-args-0.1.2.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 | 1c910c2a025412615a6c2e0dd74c147d5558e80bf4a135dbde74459b461bdaac |
|
MD5 | 9cca7f1502aaff196ad6b0895651b8bc |
|
BLAKE2b-256 | 46635ad04487205848151543ad83f87a75bfac322f81c3b3a78753c81b7108d5 |
File details
Details for the file pipen_args-0.1.2-py3-none-any.whl
.
File metadata
- Download URL: pipen_args-0.1.2-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 | e016de9fdc6ed5d49e4612419de3bfb5eebdc2b9dd143745c7c13be2d9768d40 |
|
MD5 | ef3f3f13264f2a3551928eaa1a7cc533 |
|
BLAKE2b-256 | 79da8f6606184c27a4f629cbed42229bcea80e77c63fe9ac88c8e042401bc2cb |