Read-only mirror of https://github.com/MeteoSwiss-APN/cscsmod — MeteoSchweiz. Issues & pull requests at the source.
  • Python 63.7%
  • Makefile 36.3%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2019-02-08 10:35:32 +01:00
.github Initial import 2019-01-25 10:35:29 +01:00
cscsmod Bugfix 2019-01-25 12:26:26 +01:00
docs Improved the documatation 2019-01-25 12:30:30 +01:00
tests Initial import 2019-01-25 10:35:29 +01:00
.editorconfig Initial import 2019-01-25 10:35:29 +01:00
.gitignore Initial import 2019-01-25 10:35:29 +01:00
AUTHORS.rst Initial import 2019-01-25 10:35:29 +01:00
CONTRIBUTING.rst Correct the repository name 2019-01-25 10:45:33 +01:00
HISTORY.rst Initial import 2019-01-25 10:35:29 +01:00
LICENSE Initial import 2019-01-25 10:35:29 +01:00
Makefile Initial import 2019-01-25 10:35:29 +01:00
MANIFEST.in Initial import 2019-01-25 10:35:29 +01:00
Pipfile Initial import 2019-01-25 10:35:29 +01:00
README.rst Update README.rst 2019-02-08 10:35:32 +01:00
requirements.txt Initial import 2019-01-25 10:35:29 +01:00
requirements_dev.txt Initial import 2019-01-25 10:35:29 +01:00
setup.cfg Initial import 2019-01-25 10:35:29 +01:00
setup.py Initial import 2019-01-25 10:35:29 +01:00
tox.ini Initial import 2019-01-25 10:35:29 +01:00

==================
CSCS Module Loader
==================



Utility function to manage modules Package at CSCS.

Features
--------

* Full access to the module command (for detail see man module)

Quick Start
-----------

To use CSCS Module Loader in a project::

    from cscsmod import module
    import sh
    
    # Print available netcdf modules
    print(module("avail", "netcdf"))
    
    # Load the netcdf module for example
    module("load", "netcdf")
    
    # Execute the just loaded command ncdump 
    sh.ncdump("--help")

Valid arguments for the function ``module`` are the same as 
for the module command. For further details see its manpage 
(``man module``).

The function ``module`` returns the output of the module
command.

Credits
-------

This package was created with Cookiecutter_ and the `MeteoSwiss-APN/mch-python-blueprint`_ project template.

.. _Cookiecutter: https://github.com/audreyr/cookiecutter
.. _`MeteoSwiss-APN/mch-python-blueprint`: https://github.com/MeteoSwiss-APN/mch-python-blueprint