MoGui, Graphical User Interface for Modules
Project description
MoGui, Graphical User Interface for Modules
MoGui is a Graphical User Interface (GUI) for Environment Modules. It helps users selecting modules to load and save module collections.
Features
- View available modules, loaded modules, enabled modulepaths and available collections
- Load module when selecting it from the available modules list
- Unload module when deselecting it from the available modules list or double clicking it from the loaded modules list
- Purge loaded environment, reset to initial environment and restore default collection
- Save currently loaded environment into the default collection
- When right clicking element, show
helpinformation of available modules,displayinformation of loaded modules and content of collections - Apply any environment change made from MoGui onto the shell session that launched the GUI application
Installing MoGui
Install from git repository:
$ git clone https://github.com/cea-hpc/mogui.git
$ cd mogui
$ pip install .
Install from PyPi:
$ pip install modules-gui
Using MoGui
Once installed, a mogui-setup-env command is available to initialize mogui
in your current shell session. Run the following command depending on your
current shell:
sh:
$ eval "$(mogui-setup-env sh)"
bash:
$ eval "$(mogui-setup-env bash)"
ksh:
$ eval "$(mogui-setup-env ksh)"
zsh:
$ eval "$(mogui-setup-env zsh)"
csh:
$ eval "`mogui-setup-env csh`"
tcsh:
$ eval "`mogui-setup-env tcsh`"
fish:
$ eval mogui-setup-env fish | source -
After this initialization step, a mogui shell function will be defined in
your shell session (or a shell alias on csh/tcsh shells).
$ mogui
By running this shell function/alias, the GUI will appear. Any environment change made from the GUI (like loading a module or restoring a collection) will be applied back into the parent shell session that has invoked the GUI.
Requirements
- Python >= 3.6
- PyQt5
- Modules >= 5.2
Licenses
MoGui is distributed under the GNU General Public License, either version 2 or
(at your option) any later version (GPL v2+). Read the file COPYING.GPLv2
for details.
MoGui's icons found in the mogui/icons/mogui-light/symbolic/actions
directory are imported from the Adwaita icon theme of the GNOME Project
(http://www.gnome.org). Icons from the mogui/icons/mogui-dark/symbolic/actions
directory are modified version of Adwaita icons (color switch). This work is
licenced under the Creative Commons Attribution-Share Alike 3.0 United States
License. Read the file COPYING-ICONS.CCBYSA3 for details.
Authors
- Aurélien Cedeyn <aurelien.cedeyn AT cea.fr>
- Xavier Delaruelle <xavier.delaruelle AT cea.fr>
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file modules-gui-0.2.2.tar.gz.
File metadata
- Download URL: modules-gui-0.2.2.tar.gz
- Upload date:
- Size: 57.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9b0b1a5aecff5db30e214d0e193cb2db6f35f89c672adf0267d00f9967512cc1
|
|
| MD5 |
0af33e97c50dc9a672ee2aa202f0759b
|
|
| BLAKE2b-256 |
a0e353561112b37c88a8e7a4ddb54d3d27e2a7bfea28490a713c1eb5fe3f8e37
|
File details
Details for the file modules_gui-0.2.2-py3-none-any.whl.
File metadata
- Download URL: modules_gui-0.2.2-py3-none-any.whl
- Upload date:
- Size: 48.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b7fb508cbf6c6eabf9318e7bb391a819bb9e86f27f8dd8754d663fe7c23137a5
|
|
| MD5 |
a410d5c930f3314c95dde1e7e9a124e9
|
|
| BLAKE2b-256 |
a144c525d2e2f40f7c2f6e233f661f6b2f8c2794297f4390f8677a10811faed5
|