Skip to main content

GUI for deployment and monitoring of servers and applications

Project description

manman

GUI for deployment and monitoring of servers and applications related to specific apparatuses.

usage: python -m manman [-h] [-c CONFIGDIR] [-t INTERVAL] [-v] [apparatus ...]
positional arguments:
  apparatus             Path of apparatus config files, can include wildcards.
                        If None, then an interactive dialog will be opened to
                        select files. (default: None)
options:
  -c CONFIGDIR, --configDir CONFIGDIR
                        Root directory of config files, one config file per
                        apparatus, if None, then ./config directory will be
                        used (default: None)
  -C, --condensed       Condensed arrangement of tables: no headers, narrow
                        columns (default: False)
  -t INTERVAL, --interval INTERVAL
                        Interval in seconds of periodic checking. If 0 then no
                        checking (default: 10.0)
  -z ZOOMIN, --zoomin ZOOMIN
                        Scale the application window by a factor, it must
                        be >= 1 (default: None)

Control of all applications in a table

The action cell in top row of the table executes table-wide commands: Check All, Start All, Stop All It also has commands to

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

Configuration

The following actions are defined in the combobox, related to the application:

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

Definition of actions, associated with an apparatus, are defined in the startup dictionary of the python scripts, code-named as apparatus_NAME.py. See examples in the config directory.

Supported keys are:

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

Demo

  • python -m manman config/apparatus_*.py
    Control all apparatuses, defined in the ./config directory. Each apparatus will be controlled in a separate tab.
  • python -m manman -c config apparatus_test.py apparatus_TST.py
    Control two apparatuses from the ./config directory
  • python -m manman -c config
    Interacively select apparatuses from the ./config directory
    manman

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

manman-1.0.2.tar.gz (46.0 kB view details)

Uploaded Source

Built Distribution

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

manman-1.0.2-py3-none-any.whl (14.3 kB view details)

Uploaded Python 3

File details

Details for the file manman-1.0.2.tar.gz.

File metadata

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

File hashes

Hashes for manman-1.0.2.tar.gz
Algorithm Hash digest
SHA256 e6a2b47729cdf5e0ac6c9aa3c707bc033c8b47079465f495a3bf2a0ac1f4a00e
MD5 8e25a7fc413f28da88ced136f24b4b81
BLAKE2b-256 35b5f7e0d77930a8e2ba53bd0812a2f053e5e4d24a9daa354a3cff5a3b22022c

See more details on using hashes here.

File details

Details for the file manman-1.0.2-py3-none-any.whl.

File metadata

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

File hashes

Hashes for manman-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 f0c1b8e3f2eb008fd6fb1279a429d7e4ad3278724df8229fc7d793dd368471a5
MD5 459c83f65f3540ef83991d4a98daf0a4
BLAKE2b-256 b3be3e039b5be5093c3b91947ca68515a5e3ccd0cfa67935c3489f2e8ad255ec

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