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

Uploaded Source

Built Distribution

pipen_args-0.1.8-py3-none-any.whl (6.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

Hashes for pipen-args-0.1.8.tar.gz
Algorithm Hash digest
SHA256 53b1abac541417fca2dcbd145f351ab3f06a6c8b2a7c809e89657c7742e74acc
MD5 549b8de6e64684331b900eeac560074b
BLAKE2b-256 836675f6d202a58f80e3f8bf622f1f947be4d57008f88efeb110c9d78bb7fca6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pipen_args-0.1.8-py3-none-any.whl
  • Upload date:
  • Size: 6.1 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

Hashes for pipen_args-0.1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 c740f89e16fa9d19279096bd1f59e3b2273d01f0e9266230539c978060f97845
MD5 4cacef81ee7aadb74290887f2485dcb6
BLAKE2b-256 d742c1ddc105a41f640e80f40a1014f103920b0ea3b03e30b745abc509ecf6fd

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