{ "info": { "author": "Jon Stutters", "author_email": "j.stutters@ucl.ac.uk", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Science/Research", "License :: OSI Approved :: MIT License", "Topic :: System :: Logging" ], "description": "========\nPirec\n========\n\n.. image:: https://travis-ci.org/jstutters/pirec.svg?branch=master\n :target: https://travis-ci.org/jstutters/pirec\n :alt: Build Status\n\n.. image:: https://readthedocs.org/projects/pirec/badge/?version=latest\n :target: http://pirec.readthedocs.org/en/latest/?badge=latest\n :alt: Documentation Status\n\nPirec is a Python package for wrapping scripts so that their inputs and\noutputs are preserved in a consistent way and results are recorded.\n\n\nExample\n-------\n\n.. code:: python\n\n from pirec import call, record, pipeline\n from pirec.artefacts import TextFile\n\n\n @record()\n def pipeline_stage_1(f):\n call(['/bin/cat', f.filename])\n\n\n @record()\n def pipeline_stage_2(f):\n call(['/bin/cat', f.filename])\n\n\n def my_pipeline(file1, file2):\n pipeline_stage_1(file1)\n pipeline_stage_2(file2)\n\n\n def example_pipeline():\n pipeline.run(\n 'example',\n my_pipeline,\n '/my/data/directory',\n TextFile('month00/data.txt'), TextFile('month12/data.txt')\n )\n\n\n if __name__ == '__main__':\n example_pipeline()\n\n\nInstallation\n------------\n\n::\n\n pip install pirec\n\n\nRequirements\n------------\n\nPirec is tested with Python v2.7 - 3.6. Use of the MongoDB or SQLDatabase\nresult recorders requires the installation of the ``pymongo`` or ``sqlalchemy``\nmodules as appropriate. Depending on your database SQLAlchemy may require\nadditional support libraries to be installed.\n\n\nDocumentation\n-------------\n\nFull documentation is hosted on `Read the Docs `_.\n\n\nContribute\n----------\n\n- Issue Tracker: `github.com/jstutters/pirec/issues `_\n- Source Code: `github.com/jstutters/pirec `_\n\n\nSupport\n-------\n\nIf you are having problems, please let me know by submitting an issue in the tracker.\n\n\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/jstutters/pirec", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "pirec", "package_url": "https://pypi.org/project/pirec/", "platform": "", "project_url": "https://pypi.org/project/pirec/", "project_urls": { "Homepage": "https://github.com/jstutters/pirec" }, "release_url": "https://pypi.org/project/pirec/0.11.0/", "requires_dist": [ "wrapt" ], "requires_python": "", "summary": "Records the inputs and outputs of scripts", "version": "0.11.0" }, "last_serial": 3312632, "releases": { "0.10.0": [ { "comment_text": "", "digests": { "md5": "45aaedf37689560453c5a574a27f1128", "sha256": "8bf6451a06430c2132fd1237d213de54467648a258fa16be90414412719164c8" }, "downloads": -1, "filename": "pirec-0.10.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "45aaedf37689560453c5a574a27f1128", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 13867, "upload_time": "2017-01-29T12:21:20", "url": "https://files.pythonhosted.org/packages/ed/1f/5fd2735ac955daca60ab9818397f5b78b8853961a2bf0303249e8f63ad59/pirec-0.10.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "60c662e7d80bdf45156631e33a521bcf", "sha256": "6b4104ee0dda4bf6e4e5c57d1facaee13d3ffa2570743bf155c7fe1f52367588" }, "downloads": -1, "filename": "pirec-0.10.0.tar.gz", "has_sig": false, "md5_digest": "60c662e7d80bdf45156631e33a521bcf", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8995, "upload_time": "2017-01-29T12:21:22", "url": "https://files.pythonhosted.org/packages/1f/5d/496ffbcb9483f681bd037f511dbafb2040aa6e47e18d910cf0578376a106/pirec-0.10.0.tar.gz" } ], "0.10.1": [ { "comment_text": "", "digests": { "md5": "77a019b4b13be1f753430cb28df8efe5", "sha256": "fb61f2d092140c337ead9e36d6c2caaf5023d54b65b4a97c27786751373d8e15" }, "downloads": -1, "filename": "pirec-0.10.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "77a019b4b13be1f753430cb28df8efe5", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 13926, "upload_time": "2017-03-08T09:53:35", "url": "https://files.pythonhosted.org/packages/5c/ff/3f2393e8704e9f5f124a5823bc6a92ee9842678573d27fe97c7d47fa19ba/pirec-0.10.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "88113a05077b87fb473f25b475c13423", "sha256": "68b8788b5e205698083979614a3780f5476095bfbd7b187277d830e9b29715db" }, "downloads": -1, "filename": "pirec-0.10.1.tar.gz", "has_sig": false, "md5_digest": "88113a05077b87fb473f25b475c13423", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9037, "upload_time": "2017-03-08T09:53:36", "url": "https://files.pythonhosted.org/packages/e1/1e/89ba320eed423846a7abba9d4064d0aa8bc54018a54177e4e5e761a2e7d3/pirec-0.10.1.tar.gz" } ], "0.10.2": [ { "comment_text": "", "digests": { "md5": "f01c97fdd1bfe2f9a2667382e091c23f", "sha256": "6fb972264d6f0c5a6833666d2768d154d419d58336c444f535116acb3eea216b" }, "downloads": -1, "filename": "pirec-0.10.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "f01c97fdd1bfe2f9a2667382e091c23f", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 14051, "upload_time": "2017-04-12T12:12:17", "url": "https://files.pythonhosted.org/packages/06/12/661c278b54c190e3296a5473f92e46cff78df7e1a40fe4c3d947712b84ee/pirec-0.10.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ebfa0370c327cf69b90802c570b7c476", "sha256": "7338a804538ba52fdf2570fdb58a50b630eeff0811db2a3164dfdeeb025c5c89" }, "downloads": -1, "filename": "pirec-0.10.2.tar.gz", "has_sig": false, "md5_digest": "ebfa0370c327cf69b90802c570b7c476", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9122, "upload_time": "2017-04-12T12:12:19", "url": "https://files.pythonhosted.org/packages/54/e6/448127012be0693052a720237f59484f461ca8850710509b0e7b764295d8/pirec-0.10.2.tar.gz" } ], "0.11.0": [ { "comment_text": "", "digests": { "md5": "1b61cf1875640913050eadb896c3d47a", "sha256": "d8b5097595aa8478da23a8c61fd5d68ade9b104c25b5a0e4c7dcad41ee57744a" }, "downloads": -1, "filename": "pirec-0.11.0.linux-x86_64.tar.gz", "has_sig": false, "md5_digest": "1b61cf1875640913050eadb896c3d47a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18848, "upload_time": "2017-11-07T12:49:40", "url": "https://files.pythonhosted.org/packages/00/5b/b1c6dfe2f34944dd7deb2c7cfb5870a33f088a9aeec418f9a10cccb69f25/pirec-0.11.0.linux-x86_64.tar.gz" }, { "comment_text": "", "digests": { "md5": "c964f0c39bfbb15c8411e6ace14a2d56", "sha256": "331fc849b9442bb6a443c007f44412945463949a00ede28e6e3ce217d270dfaf" }, "downloads": -1, "filename": "pirec-0.11.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "c964f0c39bfbb15c8411e6ace14a2d56", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 14503, "upload_time": "2017-11-07T12:49:37", "url": "https://files.pythonhosted.org/packages/1a/b4/c1f8fd4dbce9f11a868417eb4ba4f64085cbeb56571bf3930b804567145c/pirec-0.11.0-py2.py3-none-any.whl" } ], "0.11.0a2": [ { "comment_text": "", "digests": { "md5": "e7699c285fded269cfdef07ce81bd80d", "sha256": "89022f9910367f995b6cc141980bed8a7f4811a53727046c3af6a2a800e91965" }, "downloads": -1, "filename": "pirec-0.11.0a2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "e7699c285fded269cfdef07ce81bd80d", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 14382, "upload_time": "2017-10-04T12:09:51", "url": "https://files.pythonhosted.org/packages/28/2a/1447fc180ccdecddc0ae4e675f8c2cb22a837610f0f41213790e3967a3b7/pirec-0.11.0a2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "7ff7f020eac8c8c9d70a6eafbc03a116", "sha256": "c7aefc81e4fa344186c48cc99162ef606382ed43361482ea5bfe1130ddfb874c" }, "downloads": -1, "filename": "pirec-0.11.0a2.tar.gz", "has_sig": false, "md5_digest": "7ff7f020eac8c8c9d70a6eafbc03a116", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9429, "upload_time": "2017-10-04T12:09:52", "url": "https://files.pythonhosted.org/packages/ee/c8/9a1f707bf8a2dfc5a9bb9b4891346e9f81de78f8f75129a4a2221a1542f0/pirec-0.11.0a2.tar.gz" } ], "0.11.0a3": [ { "comment_text": "", "digests": { "md5": "fa978fd6903104a4ebff271d361009fe", "sha256": "cd149303b8e26391bf0a671e8b23b752756366b009a8f55de68ae915e04ca699" }, "downloads": -1, "filename": "pirec-0.11.0a3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "fa978fd6903104a4ebff271d361009fe", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 14462, "upload_time": "2017-10-04T16:37:19", "url": "https://files.pythonhosted.org/packages/e1/8a/be85b47de5eba7cb404ff4df188b5f67f2c4e23ecb6fa2e5b2cd2ec05caa/pirec-0.11.0a3-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "20d6419e7a00c7b63ee6d302965d241c", "sha256": "6ee8ac1463bb81d87c7bc180835364d5f49e862fdb0446190d0e59ebd2ea3c00" }, "downloads": -1, "filename": "pirec-0.11.0a3.tar.gz", "has_sig": false, "md5_digest": "20d6419e7a00c7b63ee6d302965d241c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9469, "upload_time": "2017-10-04T16:37:20", "url": "https://files.pythonhosted.org/packages/cb/e2/7a724ea9c4ed35eab867110653beeefef0ace086741d9c1a72f15a93c71f/pirec-0.11.0a3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "1b61cf1875640913050eadb896c3d47a", "sha256": "d8b5097595aa8478da23a8c61fd5d68ade9b104c25b5a0e4c7dcad41ee57744a" }, "downloads": -1, "filename": "pirec-0.11.0.linux-x86_64.tar.gz", "has_sig": false, "md5_digest": "1b61cf1875640913050eadb896c3d47a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18848, "upload_time": "2017-11-07T12:49:40", "url": "https://files.pythonhosted.org/packages/00/5b/b1c6dfe2f34944dd7deb2c7cfb5870a33f088a9aeec418f9a10cccb69f25/pirec-0.11.0.linux-x86_64.tar.gz" }, { "comment_text": "", "digests": { "md5": "c964f0c39bfbb15c8411e6ace14a2d56", "sha256": "331fc849b9442bb6a443c007f44412945463949a00ede28e6e3ce217d270dfaf" }, "downloads": -1, "filename": "pirec-0.11.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "c964f0c39bfbb15c8411e6ace14a2d56", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 14503, "upload_time": "2017-11-07T12:49:37", "url": "https://files.pythonhosted.org/packages/1a/b4/c1f8fd4dbce9f11a868417eb4ba4f64085cbeb56571bf3930b804567145c/pirec-0.11.0-py2.py3-none-any.whl" } ] }