Giter Club home page Giter Club logo

mogui's Introduction

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.

A sneak peek of MoGui

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 help information of available modules, display information 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>

mogui's People

Contributors

xdelaruelle avatar cedeyn avatar

Stargazers

 avatar Adrien Cotte avatar  avatar

Watchers

 avatar Philippe DENIEL avatar Thomas Leibovici avatar Romain F. avatar  avatar  avatar Laurent Nguyen avatar Patrice LUCAS avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.