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 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


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

Uploaded Source

Built Distribution

pipen_args-0.3.0-py3-none-any.whl (6.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pipen-args-0.3.0.tar.gz
  • Upload date:
  • Size: 6.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.1 CPython/3.10.7 Linux/5.15.0-1020-azure

File hashes

Hashes for pipen-args-0.3.0.tar.gz
Algorithm Hash digest
SHA256 b12082671e5b1dfffc26ea913d13433973cf85bc209a60b4b5df42a1da6d5028
MD5 549db747d1791b4d0f8aa485b80332c1
BLAKE2b-256 cce31f3b3c7a6671dfd8b76c47193d794040a995b1ab1acb3797b17e7b1aafca

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pipen_args-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 6.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.1 CPython/3.10.7 Linux/5.15.0-1020-azure

File hashes

Hashes for pipen_args-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2f700530387da16cf22e16cbf4e2b9d966eec9df34bc8cab5c479b694743c01a
MD5 60963ed71aa650c64fbdb3bc5e547e12
BLAKE2b-256 03f3c1a4df9d75163ec613e7b8f05cbe7dcd4792e1d438cd6b82a242b17feead

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