{ "info": { "author": "Prometheus Research, LLC", "author_email": "contact@prometheusresearch.com", "bugtrack_url": null, "classifiers": [ "Intended Audience :: Developers", "License :: OSI Approved :: GNU Affero General Public License v3", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7" ], "description": ".. image:: https://img.shields.io/bitbucket/pipelines/atlassian/adf-builder-javascript.svg\n :target: https://bitbucket.org/prometheus/rios.core/addon/pipelines/home\n :alt: Build Status\n.. image:: https://readthedocs.org/projects/rioscore/badge/?version=stable\n :target: https://rioscore.readthedocs.org\n :alt: API Documentation\n.. image:: https://img.shields.io/pypi/v/rios.core.svg\n :target: https://pypi.python.org/pypi/rios.core\n.. image:: https://img.shields.io/pypi/l/rios.core.svg\n :target: https://pypi.python.org/pypi/rios.core\n\n******************\nRIOS.CORE Overview\n******************\n\nRIOS.CORE is a `Python`_ package that provides basic validation and\nformatting functionality for data structures that adhere to the `RIOS`_\nspecifications (formally known as PRISMH).\n\n.. _`Python`: https://www.python.org\n.. _`RIOS`: https://rios.readthedocs.org\n\n\nExample Usage\n=============\n\nThis package exposes a handful of simple functions for validating and\nformatting the standard RIOS data structures::\n\n >>> from rios.core import validate_instrument, get_instrument_json\n\n >>> instrument = {\"foo\": \"bar\", \"id\": \"urn:my-instrument\", \"title\": \"An Instrument Title\", \"record\": [{\"id\": \"field1\",\"type\": \"text\"}], \"version\": \"1.0\"}\n >>> validate_instrument(instrument)\n Traceback (most recent call last):\n ...\n colander.Invalid: {'': u'Unrecognized keys in mapping: \"{\\'foo\\': \\'bar\\'}\"'}\n\n >>> del instrument['foo']\n >>> validate_instrument(instrument)\n\n >>> print get_instrument_json(instrument)\n {\n \"id\": \"urn:my-instrument\",\n \"version\": \"1.0\",\n \"title\": \"An Instrument Title\",\n \"record\": [\n {\n \"id\": \"field1\",\n \"type\": \"text\"\n }\n ]\n }\n\n\nFor more information on the available functionality, please read the API\ndocumentation.\n\n\nContributing\n============\n\nContributions and/or fixes to this package are more than welcome. Please submit\nthem by forking this repository and creating a Pull Request that includes your\nchanges. We ask that you please include unit tests and any appropriate\ndocumentation updates along with your code changes.\n\nThis project will adhere to the `Semantic Versioning`_ methodology as much as\npossible, so when building dependent projects, please use appropriate version\nrestrictions.\n\n.. _`Semantic Versioning`: http://semver.org\n\nA development environment can be set up to work on this package by doing the\nfollowing::\n\n $ virtualenv rios\n $ cd rios\n $ . bin/activate\n $ hg clone ssh://hg@bitbucket.org/prometheus/rios.core\n $ cd rios.core\n $ pip install -e .\n $ pip install -r requirements.txt\n $ nosetests\n\n\nLicense/Copyright\n=================\n\nThis project is licensed under the GNU Affero General Public License, version\n3. See the accompanying ``LICENSE.rst`` file for details.\n\nCopyright (c) 2015, Prometheus Research, LLC\n\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://bitbucket.org/prometheus/rios.core", "keywords": "rios prismh research instrument assessment standard validation", "license": "AGPLv3", "maintainer": "", "maintainer_email": "", "name": "rios.core", "package_url": "https://pypi.org/project/rios.core/", "platform": "", "project_url": "https://pypi.org/project/rios.core/", "project_urls": { "Homepage": "https://bitbucket.org/prometheus/rios.core" }, "release_url": "https://pypi.org/project/rios.core/0.8.3/", "requires_dist": [ "six", "colander (<1.5,>=1.0)", "pyyaml" ], "requires_python": "", "summary": "Parsing and Validation Library for RIOS Files", "version": "0.8.3" }, "last_serial": 4964483, "releases": { "0.5.0": [ { "comment_text": "", "digests": { "md5": "7b7e85667c512a2f3e499e6cfdaa8f95", "sha256": "a5950dd4b0f02be3752cccaa6aaeb701000240b4932cc5fcd721d8889381ab57" }, "downloads": -1, "filename": "rios.core-0.5.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "7b7e85667c512a2f3e499e6cfdaa8f95", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 29914, "upload_time": "2015-09-25T17:42:41", "url": "https://files.pythonhosted.org/packages/b2/c2/f63caa433bcd1d2cf35ecf4883b46005a1f2a0947faf77c6c7666dfb8eb6/rios.core-0.5.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "be5c40f636c69645aecd7dbe7afd74d9", "sha256": "78318b1844cb671faf62cd2d595360bc46bc476fc3e7be38e620dd20f486de3f" }, "downloads": -1, "filename": "rios.core-0.5.0.tar.gz", "has_sig": false, "md5_digest": "be5c40f636c69645aecd7dbe7afd74d9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 32922, "upload_time": "2015-09-25T17:42:45", "url": "https://files.pythonhosted.org/packages/4f/72/8c94ce7973266d8ad65d8e111fbb718a98ca2f76215e537cd1281fc4c3ea/rios.core-0.5.0.tar.gz" } ], "0.6.0": [ { "comment_text": "", "digests": { "md5": "91c21820dd226d8a41eb767320341675", "sha256": "34e2c47bf19daf85f7414d8a74b18b103ab5ec95b04e94709e38c376487d885a" }, "downloads": -1, "filename": "rios.core-0.6.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "91c21820dd226d8a41eb767320341675", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 30250, "upload_time": "2015-10-29T14:32:43", "url": "https://files.pythonhosted.org/packages/54/f8/bbb78543020f41146f567fa23989b472e6c7fadbcd1be57575fb6ddbea51/rios.core-0.6.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "2292e448beebd4e388593eab81712dc8", "sha256": "fd1ce4a2deddde159781a192acfb1723e53fd599130047b7e1171bedb29a91c7" }, "downloads": -1, "filename": "rios.core-0.6.0.tar.gz", "has_sig": false, "md5_digest": "2292e448beebd4e388593eab81712dc8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 33568, "upload_time": "2015-10-29T14:32:48", "url": "https://files.pythonhosted.org/packages/ce/48/320f69ae6aec13c93d3f04a4698b2e94bd315f3147a8cfff4ce3314be319/rios.core-0.6.0.tar.gz" } ], "0.7.0": [ { "comment_text": "", "digests": { "md5": "9bc71da7e5181af1c8e2c827927ea438", "sha256": "8c3d6700fdaa708b18ef27ab8226f8ef9dde57c6d54e2bb57d95b249f4404b3b" }, "downloads": -1, "filename": "rios.core-0.7.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "9bc71da7e5181af1c8e2c827927ea438", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 31190, "upload_time": "2015-12-28T16:02:13", "url": "https://files.pythonhosted.org/packages/34/e9/ad9b03a1ee8c7ff14209a1c1b5d1059bb3c9cb71a8e0612204abcfc44a4e/rios.core-0.7.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e0914efaab2e727e9156007c3555e526", "sha256": "f47a167e53bd9ce7817f419289bd84ee06ed7ef2b12babda67606324ab6ee9ca" }, "downloads": -1, "filename": "rios.core-0.7.0.tar.gz", "has_sig": false, "md5_digest": "e0914efaab2e727e9156007c3555e526", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 34180, "upload_time": "2015-12-28T16:04:08", "url": "https://files.pythonhosted.org/packages/07/aa/28f4dce75642aaa45f533e4e3e4f0a84b2f4d1d6df196d7203e930a4c2a0/rios.core-0.7.0.tar.gz" } ], "0.8.0": [ { "comment_text": "", "digests": { "md5": "219755b44ec98aeff5148e3676e2527f", "sha256": "ddae4bec8bae409d3dbc6e1285752b6b681b030db5a007813be51ed2254cbcb2" }, "downloads": -1, "filename": "rios.core-0.8.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "219755b44ec98aeff5148e3676e2527f", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 31422, "upload_time": "2016-06-17T15:12:36", "url": "https://files.pythonhosted.org/packages/c3/e9/87a53e70900b21e1aa366e8271dcb49cac91f6f0443fb86871c20fd156da/rios.core-0.8.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e8b64c35ad5d6c8d21cabc43a8c0c75d", "sha256": "548b8715cd0aee493d6169e54019dc6490ccb55b865f1c9fdc77f98303549f47" }, "downloads": -1, "filename": "rios.core-0.8.0.tar.gz", "has_sig": false, "md5_digest": "e8b64c35ad5d6c8d21cabc43a8c0c75d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 34553, "upload_time": "2016-06-17T15:12:41", "url": "https://files.pythonhosted.org/packages/f5/e3/f0ce14d62229dfe0915799996704a1034c139488b5df03cb3848370e7a69/rios.core-0.8.0.tar.gz" } ], "0.8.1": [ { "comment_text": "", "digests": { "md5": "abb577eeeb55b28272a1d65066184619", "sha256": "213c59c5ca2d56228d8a6d592bc886fa5fcfa85d6485af202115723841779fca" }, "downloads": -1, "filename": "rios.core-0.8.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "abb577eeeb55b28272a1d65066184619", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 31788, "upload_time": "2016-08-01T17:50:36", "url": "https://files.pythonhosted.org/packages/5d/9b/6103a22a708ff8391b362cb60d97b092c6447a807e3757f0e1edc596e526/rios.core-0.8.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "a3b219f1250980a58634ab51b046f1a8", "sha256": "48f2bceb6aa1614b4a532bcf76a22adbf0280c6e4bc8e23412669035c19678d8" }, "downloads": -1, "filename": "rios.core-0.8.1.tar.gz", "has_sig": false, "md5_digest": "a3b219f1250980a58634ab51b046f1a8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 34939, "upload_time": "2016-08-01T17:50:38", "url": "https://files.pythonhosted.org/packages/9e/0d/cfb56c3ac1d3899f38078969199ea8b65d9dae9a6733e42b1c85c7b715dd/rios.core-0.8.1.tar.gz" } ], "0.8.2": [ { "comment_text": "", "digests": { "md5": "e02a05b829acbb0a3b7745e5375aa6ff", "sha256": "ca9554f034721980f64c36ef8e505afdbb96de429738de04b2921adfa5a42243" }, "downloads": -1, "filename": "rios.core-0.8.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "e02a05b829acbb0a3b7745e5375aa6ff", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 29401, "upload_time": "2018-09-06T12:48:35", "url": "https://files.pythonhosted.org/packages/34/f2/afaa7655d23536d59734a1be8d48599134211d9805861305dbf46a1dc7b1/rios.core-0.8.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "f7aa9b50ed07fd86619c8a5aaae5c4be", "sha256": "321623cf339d25bc1a5903081cb0abd1cee26ce088ad6d3b2891ea1e67140fe7" }, "downloads": -1, "filename": "rios.core-0.8.2.tar.gz", "has_sig": false, "md5_digest": "f7aa9b50ed07fd86619c8a5aaae5c4be", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 84232, "upload_time": "2018-09-06T12:48:36", "url": "https://files.pythonhosted.org/packages/ce/b7/db3f553c52d157632c52a3534a352c49829f0d776aadbe6ee0093e35b21f/rios.core-0.8.2.tar.gz" } ], "0.8.3": [ { "comment_text": "", "digests": { "md5": "a88f03cdae710303cf88fb2b2af750df", "sha256": "434109fbf66c63d9869850f6f43c34662dfa1fdfc2bea3faa76066829493d3ed" }, "downloads": -1, "filename": "rios.core-0.8.3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "a88f03cdae710303cf88fb2b2af750df", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 41438, "upload_time": "2019-03-20T16:12:32", "url": "https://files.pythonhosted.org/packages/9c/a4/6affb2bd020d8b8c59194a5eae22b6b16e407f4df048d699a0555e9c2ad0/rios.core-0.8.3-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "90deb3589f9043f2fb9299a8523c7051", "sha256": "8c81fb4b5cc5741ab236b95d637aedaad59437d551f644e5267f6e7036f57a29" }, "downloads": -1, "filename": "rios.core-0.8.3.tar.gz", "has_sig": false, "md5_digest": "90deb3589f9043f2fb9299a8523c7051", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 84210, "upload_time": "2019-03-20T16:12:34", "url": "https://files.pythonhosted.org/packages/34/05/75b7a1e2503a0b3bdbfc86642ed235090bb4db91c13706f8a4013125fae8/rios.core-0.8.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "a88f03cdae710303cf88fb2b2af750df", "sha256": "434109fbf66c63d9869850f6f43c34662dfa1fdfc2bea3faa76066829493d3ed" }, "downloads": -1, "filename": "rios.core-0.8.3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "a88f03cdae710303cf88fb2b2af750df", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 41438, "upload_time": "2019-03-20T16:12:32", "url": "https://files.pythonhosted.org/packages/9c/a4/6affb2bd020d8b8c59194a5eae22b6b16e407f4df048d699a0555e9c2ad0/rios.core-0.8.3-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "90deb3589f9043f2fb9299a8523c7051", "sha256": "8c81fb4b5cc5741ab236b95d637aedaad59437d551f644e5267f6e7036f57a29" }, "downloads": -1, "filename": "rios.core-0.8.3.tar.gz", "has_sig": false, "md5_digest": "90deb3589f9043f2fb9299a8523c7051", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 84210, "upload_time": "2019-03-20T16:12:34", "url": "https://files.pythonhosted.org/packages/34/05/75b7a1e2503a0b3bdbfc86642ed235090bb4db91c13706f8a4013125fae8/rios.core-0.8.3.tar.gz" } ] }