Skip to main content

Basic job launcher

Project description

Lambada

Lambada allows to launch and supervise multiple commands.

Launch with

python3 -m lambada

or

lambada

See lambada.toml for an example file.

[analog]
cmd = "xclock"

[digital]
cmd = "xclock -digital"

Commands are described by their name and a cmd string field. Following options are availables :

  • shell if set to true interpret the cmd in bash (allows to launch multiple commands and use bash features such as | or >)
  • persist if set to true, task is not terminated when lambada exits normally.
  • detach if set to true, task is detached from lambada and does not receive signal (SIGINT or Ctrl+C) send to lambada.
  • acquire if set to true, monitor pre-existing task. Might be completed by basedOn. If no task is found, launch a new one.
  • basedOn support two way to retrieve pre-existing task
    • {method="grepCmd"} will try to find a process with exact same cmd as defined
    • {method="listenPort", port=1234} will try to find a process listeing to the given port.

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

lambada-launcher-0.3.0.tar.gz (4.5 kB view details)

Uploaded Source

Built Distribution

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

lambada_launcher-0.3.0-py3-none-any.whl (5.7 kB view details)

Uploaded Python 3

File details

Details for the file lambada-launcher-0.3.0.tar.gz.

File metadata

  • Download URL: lambada-launcher-0.3.0.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.3

File hashes

Hashes for lambada-launcher-0.3.0.tar.gz
Algorithm Hash digest
SHA256 c0f49d9b001633aec01d1b1b354eab85fa38728b1e0725779d6688e91b8452e8
MD5 36862c91ad58f774cf94b991a9aeb32f
BLAKE2b-256 30a7fd1c54742244d2ad5b89323aa49c5fff361ee90d6770ad70e725d3f3b528

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for lambada_launcher-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 94c7e7d96dd6f91c9abbf415171c32947618fa45453840261ef3dc40fdc6404c
MD5 1ac7a35cd50b674cd3f7a20767505329
BLAKE2b-256 afc77df1c873491198253eaa7b3b485d5231b3a0298a187842cf6bedc303bb44

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