{ "info": { "author": "FNNDSC", "author_email": "dev@babyMRI.org", "bugtrack_url": null, "classifiers": [], "description": "pl-simplefsapp_moc\n================================\n\n.. image:: https://badge.fury.io/py/simplefsapp_moc.svg\n :target: https://badge.fury.io/py/simplefsapp_moc\n\n.. image:: https://travis-ci.org/FNNDSC/simplefsapp_moc.svg?branch=master\n :target: https://travis-ci.org/FNNDSC/simplefsapp_moc\n\n.. image:: https://img.shields.io/badge/python-3.5%2B-blue.svg\n :target: https://badge.fury.io/py/pl-simplefsapp_moc\n\n.. contents:: Table of Contents\n\n\nAbstract\n--------\n\nA demo/testing simplefsapp for the MOC compute environment.\n\n\nSynopsis\n--------\n\n.. code::\n\n python simplefsapp_moc.py \\\n [-v ] [--verbosity ] \\\n [--version] \\\n [--man] \\\n [--meta] \\\n \n\n\nDescription\n------------\n\n\n`simplefsapp_moc.py` is a testing/demo application for an FS-type application on the Massachusetts Open Cloud (MOC) remote computing environment.\n\nThe application simply \"touches\" new files in its output directory which are the names of the files in the '--dir ' target directory.\n\nArguments\n---------\n\n.. code::\n\n [-v ] [--verbosity ]\n Verbosity level for app. Not used currently.\n\n [--version]\n If specified, print version number. \n \n [--man]\n If specified, print (this) man page.\n\n [--meta]\n If specified, print plugin meta data.\n\n [--dir ]\n A directory on the process filesystem (if run outside ChRIS) or a \n path inside openstorage (if run within ChRIS) to examine.\n\n [--sleepLength ]\n If specified, sleep for seconds before starting\n script processing. This is to simulate a possibly long running \n process.\n\nRun\n----\n\nThis ``plugin`` can be run in two modes: natively as a python package or as a containerized docker image.\n\nUsing PyPI\n~~~~~~~~~~\n\nTo run from PyPI, simply do a \n\n.. code:: bash\n\n pip install simplefsapp_moc\n\nand run with\n\n.. code:: bash\n\n simplefsapp_moc.py --man /tmp\n\nto get inline help. The app should also understand being called with only two positional arguments\n\n.. code:: bash\n\n simplefsapp_moc.py /destination/directory\n\n\nUsing ``docker run``\n~~~~~~~~~~~~~~~~~~~~\n\nTo run using ``docker``, be sure to assign an output directory to ``/outgoing``. *Make sure that the* ``$(pwd)/out`` *directory is world writable!*\n\nNow, prefix all calls with \n\n.. code:: bash\n\n docker run --rm -v $(pwd)/out:/outgoing \\\n fnndsc/pl-simplefsapp_moc simplefsapp_moc.py \\\n\nThus, getting inline help is:\n\n.. code:: bash\n\n mkdir in out && chmod 777 out\n docker run --rm -v $(pwd)/in:/incoming -v $(pwd)/out:/outgoing \\\n fnndsc/pl-simplefsapp_moc simplefsapp_moc.py \\\n --man \\\n /outgoing\n\nExamples\n--------", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://wiki", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "simplefsapp-moc", "package_url": "https://pypi.org/project/simplefsapp-moc/", "platform": "", "project_url": "https://pypi.org/project/simplefsapp-moc/", "project_urls": { "Homepage": "http://wiki" }, "release_url": "https://pypi.org/project/simplefsapp-moc/1.0.2/", "requires_dist": null, "requires_python": "", "summary": "A demo/testing simplefsapp for the MOC compute environment.", "version": "1.0.2" }, "last_serial": 5146076, "releases": { "1.0.2": [ { "comment_text": "", "digests": { "md5": "ac09e1c5364400c3ebd84e465b662fc4", "sha256": "9ea3f187fa4fdc9cca63b66aae50136f58ccedaac1afee4dee9f97c1f45fd90d" }, "downloads": -1, "filename": "simplefsapp_moc-1.0.2.tar.gz", "has_sig": false, "md5_digest": "ac09e1c5364400c3ebd84e465b662fc4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4733, "upload_time": "2019-04-15T17:57:21", "url": "https://files.pythonhosted.org/packages/2a/c4/6b9b860f477746dc1a1efc3422d687d9d26d760cdab9b28986f4c2b895bb/simplefsapp_moc-1.0.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "ac09e1c5364400c3ebd84e465b662fc4", "sha256": "9ea3f187fa4fdc9cca63b66aae50136f58ccedaac1afee4dee9f97c1f45fd90d" }, "downloads": -1, "filename": "simplefsapp_moc-1.0.2.tar.gz", "has_sig": false, "md5_digest": "ac09e1c5364400c3ebd84e465b662fc4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4733, "upload_time": "2019-04-15T17:57:21", "url": "https://files.pythonhosted.org/packages/2a/c4/6b9b860f477746dc1a1efc3422d687d9d26d760cdab9b28986f4c2b895bb/simplefsapp_moc-1.0.2.tar.gz" } ] }