Skip to main content

A demo/testing simplefsapp for the MOC compute environment.

Project description


A demo/testing simplefsapp for the MOC compute environment.


python                                       \
    [-v <level>] [--verbosity <level>]                          \
    [--version]                                                 \
    [--man]                                                     \
    [--meta]                                                    \

Description is a testing/demo application for an FS-type application on the Massachusetts Open Cloud (MOC) remote computing environment.

The application simply “touches” new files in its output directory which are the names of the files in the ‘–dir <path>’ target directory.


[-v <level>] [--verbosity <level>]
Verbosity level for app. Not used currently.

If specified, print version number.

If specified, print (this) man page.

If specified, print plugin meta data.

[--dir <path>]
A directory on the process filesystem (if run outside ChRIS) or a
path inside openstorage (if run within ChRIS) to examine.

[--sleepLength <sleepLength>]
If specified, sleep for <sleepLength> seconds before starting
script processing. This is to simulate a possibly long running


This plugin can be run in two modes: natively as a python package or as a containerized docker image.

Using PyPI

To run from PyPI, simply do a

pip install simplefsapp_moc

and run with --man /tmp

to get inline help. The app should also understand being called with only two positional arguments /destination/directory

Using docker run

To run using docker, be sure to assign an output directory to /outgoing. Make sure that the $(pwd)/out directory is world writable!

Now, prefix all calls with

docker run --rm -v $(pwd)/out:/outgoing                             \
        fnndsc/pl-simplefsapp_moc                        \

Thus, getting inline help is:

mkdir in out && chmod 777 out
docker run --rm -v $(pwd)/in:/incoming -v $(pwd)/out:/outgoing      \
        fnndsc/pl-simplefsapp_moc                        \
        --man                                                       \

Project details

Release history Release notifications

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for simplefsapp-moc, version 1.0.2
Filename, size File type Python version Upload date Hashes
Filename, size simplefsapp_moc-1.0.2.tar.gz (4.7 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page