Skip to main content

pyppl_require

Requirement manager for PyPPL.

Installation

It requires pyppl_annotate.

pip install pyppl_require

Usage

> pyppl require
Description:
  Process requirement manager

Usage:
  pyppl require <--pipe AUTO> [OPTIONS]

Required options:
  -p, --pipe <AUTO>     - The pipeline script.

Optional options:
  --install <AUTO>      - Install the requirements.
                          You can specify a directory (default: $HOME/bin) to install the \
                          requirements.
                          Default: None
  -h, -H, --help        - Show help message and exit.

To allow your processes to be analyzed, you have to put a section in annotate using toml format:

pXXX.config.annotate = """
@requires:
  [bedtools]
  validate: "bedtools --version"
  install: "conda install -c bioconda bedtools"
  # other annotations
"""

If you want define those commands using process properties and aggrs:

pXXX.config.annotate = """
@requires:
  [bedtools]
  validate: "{{args.bedtools}} --version"
  install: "conda install -c bioconda bedtools"
  # other annotations
"""

Install to a specify directory:

pXXX.config.annotate = """
@requires:
  [bedtools]
  validate: "{{args.bedtools}} --version"
  install: "conda install -c bioconda bedtools; ln -s $(which bedtools) {{bindir}}/bedtools"
  # other annotations
"""

{{bindir}} will be the directory passed to the command line.

pyppl require --pipe <your pipeline> --install </path/to/bin>

Metadata

Release files for pyppl-require 0.0.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyppl-require 0.0.5
File Size Uploaded Provenance
pyppl_require-0.0.5.tar.gz 4.2 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for pyppl-require 0.0.5
File Interpreter ABI Platform
pyppl_require-0.0.5-py3-none-any.whl Python 3 none any Details

Total release size: 8.8 kB

Release files / pyppl_require-0.0.5.tar.gz

Download URL pyppl_require-0.0.5.tar.gz
Size 4.2 kB
Tags Source
SHA-256 checksum
How to use checksums
3f9d9cc633c7fc795c927991eb612f69402ce512f294a1142639dad05ebbefe8
BLAKE2b-256 checksum
How to use checksums
8124a2f1af61e607c2b6cb6af66cf7f1c96fc2cfe429122ab43db29d157ac059
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.0.8 CPython/3.7.1 Linux/4.15.0-1028-gcp

Release files / pyppl_require-0.0.5-py3-none-any.whl

Download URL pyppl_require-0.0.5-py3-none-any.whl
Size 4.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6813e7a709b6a88d4a06739652402eebe7e5a13ea5c89efe24f420c0b646ae31
BLAKE2b-256 checksum
How to use checksums
79cc2d08e4860ca7c46ec7c81e48f67e1e803e81f8d771103a34c48caf0df0df
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.0.8 CPython/3.7.1 Linux/4.15.0-1028-gcp

Security for pyppl-require 0.0.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page