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.2.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.2-py3-none-any.whl (14.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: procman-2.0.2.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.2.tar.gz
Algorithm Hash digest
SHA256 581545cfcf599ac597940c3afc68cefb538bd0d83ae110afd2ddef6e040c84a4
MD5 90b3766aa7753a16a76d27200a57e3b1
BLAKE2b-256 27069af0a8036286ffcf54df69ad0531688b418f5c2a55069d8ea999ae893039

See more details on using hashes here.

File details

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

File metadata

  • Download URL: procman-2.0.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ffaf3a522a81f612be7e2b0d3912859a8f4dfb765f44efa469b1a3d380b1cca4
MD5 4942e832536b66282e48141306994286
BLAKE2b-256 7c1806c3fbae211ca4966d6aeaf78223548288d9f575786bde7ab1a4116e1a68

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