Skip to main content

Build Arguments, Launch Process. A process launcher tool

Project description

Barp: Build Arguments, Run Process

Trivia

This application simplifies execution of processes by providing a flexible way to define arguments.

Status

Early WIP

Examples of execution

Basic execution via command line arguments:

$ barp run -p $PWD/docs/examples/barp.d/profiles/local.cfg -t $PWD/docs/examples/barp.d/task_templates/command.cfg:print_n_times
Hello 1 🚀
Hello 2 🚀
Hello 3 🚀
Hello 4 🚀
Hello 5 🚀
Example error! 💥

Adjusting the envitonment via env vars:

# Local process
$ export BARP_PROFILE=$PWD/docs/examples/barp.d/profiles/local.cfg
$ barp run -t $PWD/docs/examples/barp.d/task_templates/command.cfg:print_env_vars
Here is an env var from task: "test"; Here is an env var from profile: "abc"

# Docker. NB: Docker needs to be running
$ export BARP_PROFILE=$PWD/docs/examples/barp.d/profiles/docker.cfg
$ barp run -t $PWD/docs/examples/barp.d/task_templates/command.cfg:print_env_vars
Here is an env var from task: "test"; Here is an env var from profile: "abc_docker"

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

barp-0.0.1.tar.gz (5.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

barp-0.0.1-py3-none-any.whl (8.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: barp-0.0.1.tar.gz
  • Upload date:
  • Size: 5.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.28.1

File hashes

Hashes for barp-0.0.1.tar.gz
Algorithm Hash digest
SHA256 44c3bd7614d067fd2a9ff649624e58c87bb6cbf36015bdadd2b120943964a169
MD5 0ddd023deccb714832e53954a50bd243
BLAKE2b-256 fa218fbbd3523ded30844737ce1fa6e02c9325c710aa1bdcb02923d7d2f304b0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: barp-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 8.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.28.1

File hashes

Hashes for barp-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d4d2d7ba043607b8c98bc1797ecc3c377bc1ecc8e73e04cf3c2d1a44a0d0d900
MD5 f535783bf5198df9f71000f1b18c977a
BLAKE2b-256 32cc265f3c78f70eb38a4de71e66dd74aa2bd057799ea187e00b1dfd108462ea

See more details on using hashes here.

Supported by

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