Skip to main content

A python package that provides a command template for easy execution.

Project description

commandtemplate

A python package that provides a command template for easy execution.

Usage:

from commandtemplate.conda import run_template_bash
output_func = lambda **kwargs: [kwargs['o']]

run_template_bash(
    "cp {i} {o}",
    conda_env="some_conda_environment",
    i="input_file",
    o="output_file"
    
)

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

commandtemplate-0.0.1.tar.gz (2.2 kB view details)

Uploaded Source

Built Distribution

commandtemplate-0.0.1-py3-none-any.whl (2.5 kB view details)

Uploaded Python 3

File details

Details for the file commandtemplate-0.0.1.tar.gz.

File metadata

  • Download URL: commandtemplate-0.0.1.tar.gz
  • Upload date:
  • Size: 2.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.11.3 pkginfo/1.8.2 requests/2.28.1 requests-toolbelt/0.9.1 tqdm/4.64.0 CPython/3.10.4

File hashes

Hashes for commandtemplate-0.0.1.tar.gz
Algorithm Hash digest
SHA256 8cfcd5a5e8e87b3ae6e1311a2deaebf4b3ad555eaf982966c36939dc045db0a3
MD5 187d04601c57d981fbfbae7cbf110d3a
BLAKE2b-256 d2766fab64409f0eb251109feb398076c6107861d6d4dafcb1973de43129a542

See more details on using hashes here.

File details

Details for the file commandtemplate-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: commandtemplate-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 2.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.11.3 pkginfo/1.8.2 requests/2.28.1 requests-toolbelt/0.9.1 tqdm/4.64.0 CPython/3.10.4

File hashes

Hashes for commandtemplate-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0f7b009d3ab27e45d411f3d392158dbce02c8b0ed6f838eb9f5969b962631322
MD5 ca712e5e1077455a7e5e20b527c3240b
BLAKE2b-256 346568f8833066547794ad8808d50a40bd29dc30deec9aa2434fdddc35d9e797

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