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

Uploaded Python 3

File details

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

File metadata

  • Download URL: procman-2.0.3.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.3.tar.gz
Algorithm Hash digest
SHA256 fdde02c9f9ebbdd42295d72001b107ba46190a25931ea8680727b1ecc70efc1a
MD5 2057b35989a423c5d667c09751206602
BLAKE2b-256 074b5aa61376374868e7c0d8780c44d0f1abe78d6e7e4599dcf49588fddab4ff

See more details on using hashes here.

File details

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

File metadata

  • Download URL: procman-2.0.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 f012e94cc585ea8560992d32939ccd4e7dbe2355a12070cba9aa67d1281f708f
MD5 b9a3229755a1a4da6be03a943bd3faad
BLAKE2b-256 28be539bd5656cbda1a7011462e0f36470d1258bd82d8863b7c4453149a456a4

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