Thanks Félix-Antoine, There's a long-running discussion on how to capture environment metadata in notebooks - I've mentioned your project there so that we think about environment modules for that discussion as well. https://github.com/jupyter/nbformat/pull/60
Thomas On 7 April 2017 at 20:29, Félix-Antoine Fortin < [email protected]> wrote: > Hi all, > > I have recently released an extension that allows to interact > with Lmod environment modules directly in Jupyter's interface. > The extension is named jupyterlmod: > https://github.com/cmd-ntrf/jupyter-lmod > > For those who do not know about environment modules, from > Wikipedia [1]: > > Environment Modules system is a tool to help users manage > > their Unix or Linux shell environment, by allowing groups of > > related environment-variable settings to be made or removed > > dynamically. > > Lmod is a Lua based module system that also provides a Python > interface to interact with the modules. [2] > > On a system with environment modules, a user who wishes > to use a specific set of modules would first have to load them > before launching the Jupyter notebook process. jupyter-lmod > removes that necessity by allowing the user to manage its > environment modules directly inside Jupyter's interface. > > The extension adds a tab (Softwares) to Jupyter tree interface. > In this tab, it is possible to search for available modules and > load them. The interface also allows modules viewing and unloading. > Module collections are supported through the save and restore > buttons. > > The interface works by modifying the os.environ content of the > Jupyter notebook process which spawned kernels inherits. The > instructions to modify os.environ are provided by Lmod Python > interface. Actions taken on the modules only affect kernels > that are spawned afterward or restarted. > > The main target for this extension are Jupyterhub hosted on > HPC servers. At least, that's why I built it for our site. > > The package is available on PyPI and the source code is on > Github. If you have any questions or comments, I'm all ears. > > Finally, a quick preview: > > > <https://camo.githubusercontent.com/22b27feab00e4e051a97c8fa16727f657d7fb3d1/687474703a2f2f692e696d6775722e636f6d2f49503975554a702e676966> > > <https://camo.githubusercontent.com/22b27feab00e4e051a97c8fa16727f657d7fb3d1/687474703a2f2f692e696d6775722e636f6d2f49503975554a702e676966> > > > > > > > > > > > > > > > > > > > > > -- > > [1] https://en.wikipedia.org/wiki/Environment_Modules_(software) > [2] https://www.tacc.utexas.edu/research-development/tacc-projects/lmod > > -- > You received this message because you are subscribed to the Google Groups > "Project Jupyter" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/jupyter/239dd2ac-3cfc-41c8-b18f-cbdc6586ae0a%40googlegroups.com > <https://groups.google.com/d/msgid/jupyter/239dd2ac-3cfc-41c8-b18f-cbdc6586ae0a%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Project Jupyter" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter/CAOvn4qjTczP%2BUf9j383umNp3tEZT0Lk6Dma7WNoZUJzoh6tpKg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
