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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for procman-2.1.0.tar.gz
Algorithm Hash digest
SHA256 1ad270f1792f8f590c30aea93e28eac2448b9886a2d6e11cdd948482a90efbe6
MD5 e4c28bcf5cb00ed2b6bab10b4cd4f358
BLAKE2b-256 c726e47555d755a0c8df218be4ff2858cec05f27510089d9c6adbd0ff99e5447

See more details on using hashes here.

File details

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

File metadata

  • Download URL: procman-2.1.0-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.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5c7e8ec65fb652f7a74fd214501323aa2d96b9f5fc07f10d53fd5c1f139c31f1
MD5 a9d21fef633323442c7fcb105e8f6d9e
BLAKE2b-256 7893ef2c4c5d56c0f41f5fe60c711da7947fe24a8b6200d4011eb0556011f8e7

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