{ "info": { "author": "Rudolph Pienaar", "author_email": "rudolph.pienaar@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "pl-pacscopy\n===========\n\n.. image:: https://badge.fury.io/py/pacscopy.svg\n :target: https://badge.fury.io/py/pacscopy\n\n.. image:: https://travis-ci.org/FNNDSC/pacscopy.svg?branch=master\n :target: https://travis-ci.org/FNNDSC/pacscopy\n\n.. image:: https://img.shields.io/badge/python-3.5%2B-blue.svg\n :target: https://badge.fury.io/py/pl-pacscopy\n\n.. contents:: Table of Contents\n\n\nAbstract\n--------\n\n``pacscopy`` is a simple plugin that copies data from open storage to create a new top level ChRIS Feed. It's core utility is in demonstrating how to create a largely trivial FS plugin/app for the ChRIS system.\n\nSynopsis\n--------\n\n.. code::\n\n python pacscopy.py \\\n [-v ] [--verbosity ] \\\n [-d ] [--dir ] \\\n [--version] \\\n [--man] \\\n [--meta] \\\n \n\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 pacscopy\n\nand run with\n\n.. code:: bash\n\n pacscopy.py --man /tmp /tmp\n\nto get inline help. To copy from one directory to another, simply do\n\n.. code:: bash\n\n pacscopy.py --dir /some/input/directory /destination/directory\n\n\nUsing ``docker run``\n~~~~~~~~~~~~~~~~~~~~\n\nTo run using ``docker``, be sure to assign an \"input\" directory to ``/incoming`` and 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-pacscopy pacscopy.py \\\n\nThus, getting inline help is:\n\n.. code:: bash\n\n docker run --rm -v $(pwd)/in:/incoming -v $(pwd)/out:/outgoing \\\n fnndsc/pl-pacscopy pacscopy.py \\\n --man \\\n /outgoing\n\nExamples\n--------\n\nCopy a directory ``dataset/MPRAGE`` to the output directory. If called from ChRIS, the input directory spec refers to a location in openstorage, otherwise it is interpreted as a system directory spec.\n\n.. code:: bash\n\n mkdir out\n docker run --rm -v $(pwd)/in:/incoming -v $(pwd)/out:/outgoing \\\n fnndsc/pl-pacscopy pacscopy.py \\\n --dir dataset/MPRAGE \\\n /outgoing", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/FNNDSC/pl-pacscopy", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "pacscopy", "package_url": "https://pypi.org/project/pacscopy/", "platform": "", "project_url": "https://pypi.org/project/pacscopy/", "project_urls": { "Homepage": "https://github.com/FNNDSC/pl-pacscopy" }, "release_url": "https://pypi.org/project/pacscopy/1.0.4/", "requires_dist": null, "requires_python": "", "summary": "copy from (openstorage) to output directory", "version": "1.0.4" }, "last_serial": 5309212, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "0235f0f572d0cac5d698bfc2fefcbf3d", "sha256": "b036c1807ef322553838c6cb2567be3bcf3d4a6f020fcf30f62bd858f594375b" }, "downloads": -1, "filename": "pacscopy-1.0.0.tar.gz", "has_sig": false, "md5_digest": "0235f0f572d0cac5d698bfc2fefcbf3d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3913, "upload_time": "2019-03-27T18:45:21", "url": "https://files.pythonhosted.org/packages/a7/12/981f1126c55982dd251b671c43e04036dce25e7ae3dd814d664b9389a82e/pacscopy-1.0.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "9113389f71dccb9a09d3a9afd3acdaf0", "sha256": "0fbb07d11bb3f500bd40c164071248b063cd06c07ffbf86a7eeb85a7941cb766" }, "downloads": -1, "filename": "pacscopy-1.0.1.tar.gz", "has_sig": false, "md5_digest": "9113389f71dccb9a09d3a9afd3acdaf0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3908, "upload_time": "2019-03-27T19:20:13", "url": "https://files.pythonhosted.org/packages/2f/97/164282e594cac0f1f9c4e498819b6587e73f80b11b5b143ca8c191184fa0/pacscopy-1.0.1.tar.gz" } ], "1.0.2": [ { "comment_text": "", "digests": { "md5": "cfe8fbaae83bd3ac3ef555b2ed4f4caa", "sha256": "df3cd88ce1d61b6a94f28f0f285bf338ed430da457b697b1687a9c96fdd1f910" }, "downloads": -1, "filename": "pacscopy-1.0.2.tar.gz", "has_sig": false, "md5_digest": "cfe8fbaae83bd3ac3ef555b2ed4f4caa", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3886, "upload_time": "2019-04-01T12:30:10", "url": "https://files.pythonhosted.org/packages/aa/29/932b2ffb2ac14d95c9dc9feade82343b644dced84de77169e1fd041eb16c/pacscopy-1.0.2.tar.gz" } ], "1.0.4": [ { "comment_text": "", "digests": { "md5": "cdfab92a60856e6a004757812bed0408", "sha256": "aca9d17553e083ed9d7686a66b0c4b005963dcec0ccafe6e5a443bd9f15b0484" }, "downloads": -1, "filename": "pacscopy-1.0.4.tar.gz", "has_sig": false, "md5_digest": "cdfab92a60856e6a004757812bed0408", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3591, "upload_time": "2019-05-23T19:56:19", "url": "https://files.pythonhosted.org/packages/d8/c9/b1187c93d81f677a274a8f742065caaf16da92ee50e514723455243454b2/pacscopy-1.0.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "cdfab92a60856e6a004757812bed0408", "sha256": "aca9d17553e083ed9d7686a66b0c4b005963dcec0ccafe6e5a443bd9f15b0484" }, "downloads": -1, "filename": "pacscopy-1.0.4.tar.gz", "has_sig": false, "md5_digest": "cdfab92a60856e6a004757812bed0408", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3591, "upload_time": "2019-05-23T19:56:19", "url": "https://files.pythonhosted.org/packages/d8/c9/b1187c93d81f677a274a8f742065caaf16da92ee50e514723455243454b2/pacscopy-1.0.4.tar.gz" } ] }