Skip to main content

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


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.4.tar.gz (5.9 kB view details)

Uploaded Source

Built Distribution

pipen_args-0.1.4-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

File details

Details for the file pipen-args-0.1.4.tar.gz.

File metadata

  • Download URL: pipen-args-0.1.4.tar.gz
  • Upload date:
  • Size: 5.9 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

Hashes for pipen-args-0.1.4.tar.gz
Algorithm Hash digest
SHA256 00d3128710901887a72a315bc5aabf6990065725c9c594a9e32d59363b224b3b
MD5 66a002e656cb3391ef39edf503381931
BLAKE2b-256 a16eef035c5e94991619d454bab7e9f6453acdbdb46353639f489b6d5dad19a5

See more details on using hashes here.

File details

Details for the file pipen_args-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: pipen_args-0.1.4-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

Hashes for pipen_args-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 dd8f93f8ac2fb24a73273992fa88a2359f3ff09f7ec78da99b21cf911ad35de5
MD5 4c56a465cea0ba4507bebc1225fb31dc
BLAKE2b-256 3d7f66abfe3ffad12e4db3d3e8a8e08f09fd9015984e77b5ff113bb34134a322

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page