Skip to main content

Tabbed GUI to start/stop/monitor programs

Project description

procman

Compact GUI for deployment and monitoring programs and processes.
condensed
The GUI can control multiple sets of programs arranged in the tabs.

The 'status' column dynamically shows the color-coded status of programs.

The commands are executed by clicking buttons in the leftmost column.
The top button executes table-wide commands:Check All, Start All, Stop All.
It also holds commands to

  • delete current tab (Delete),
  • edit the table of the current tab (Edit),
  • condense and expand table arrangement (Condense and Uncondense).

The following actions are defined for programs:

  • Check
  • Start
  • Stop
  • Command: will display the command for starting the program

Definition of actions, associated with programs in the tab, are defined in the startup dictionary of the python scripts, code-named as proc#_NAME.py. See examples in the config directory.

Supported keys are:

  • 'cmd': command which will be used to start and stop the server,
  • 'cd': directory (if needed), from where to run the cmd,
  • 'process': used for checking/stopping the server to identify its process. If cmd properly identifies the server, then this key is not necessary,
  • 'shell': some serverss require shell=True option for subprocess.Popen(),
  • 'help': it will be used as a tooltip,

Demo

  • python -m procman config/proc*.py
    or python -m procman -c config
    Control of all sets of programs, defined in the ./config directory. Each set of programs will be controlled in a separate tab.
  • python -m procman -c config proc1_test.py proc3_TST.py
    Control two set of programs from the ./config directory.
  • python -m procman -i -c config
    Interacively select config files from the ./config directory.
    procman

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

procman-2.0.1.tar.gz (42.8 kB view details)

Uploaded Source

Built Distribution

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

procman-2.0.1-py3-none-any.whl (14.4 kB view details)

Uploaded Python 3

File details

Details for the file procman-2.0.1.tar.gz.

File metadata

  • Download URL: procman-2.0.1.tar.gz
  • Upload date:
  • Size: 42.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.5

File hashes

Hashes for procman-2.0.1.tar.gz
Algorithm Hash digest
SHA256 551add327b5ad75b0d19b92e4012497d332f31a4bc06badb52dac0a3081047bc
MD5 7546ab71cb6882ebb7dcab3b77eaf722
BLAKE2b-256 cb32b12a276504bfcde0cedb58c7e267f7fe77541c3483bf19ae5b2d7523f339

See more details on using hashes here.

File details

Details for the file procman-2.0.1-py3-none-any.whl.

File metadata

  • Download URL: procman-2.0.1-py3-none-any.whl
  • Upload date:
  • Size: 14.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.5

File hashes

Hashes for procman-2.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 40195f349f568d92cf52626865d86043ad49c4686ba40588af91709d4c10ca66
MD5 b4b4603c9c9e5b18fe00815746b81e93
BLAKE2b-256 908cfb4c02a48b1bcdbdd203850c89ef1e2914a0325717f4c521870b9fcfe8c7

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