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.4.tar.gz (42.9 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.4-py3-none-any.whl (14.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: procman-2.0.4.tar.gz
  • Upload date:
  • Size: 42.9 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.4.tar.gz
Algorithm Hash digest
SHA256 1a7c281c307dff57a300e8808afd2d1c24d1c9470135e05e5306deed479906d8
MD5 5cfde55fb79f48d8beee270220d9f3f6
BLAKE2b-256 460cb833f707d9510d614c6bf5ccd2d0fa03991902c710f6e7c41d4c419346d5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: procman-2.0.4-py3-none-any.whl
  • Upload date:
  • Size: 14.5 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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 8da96279b23c6775f1d934bac3e0ad74fb5bf69c9bee1c70d3ace0667db645f5
MD5 b446713b8a94c45c60f0d9c8b5b9467e
BLAKE2b-256 29280925eed4bd70807fee50ec526ab61de3830e3c1fffe79fe897da98086a59

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