{ "info": { "author": "Konrad Ja\u0142owiecki ", "author_email": "dexter2206@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "ymlref: load Yaml documents with possibility to resolve references.\n==========================================================================\n\n|License: MIT|\n\n**ymlref** is a library that allows you to load Yaml documents and resolve JSON-pointer references\ninside them.\n\nUsage example\n-------------\n\n.. code:: python\n\n import ymlref\n\n\n DOCUMENT = \"\"\"\n\n authors:\n shakespear:\n first_name: William\n last_name: Shakespear\n dostoevsky:\n first_name: Fyodor\n last_name: Dostoevsky\n books:\n - title: Makbet\n\tauthor:\n\t $ref: \"#/authors/shakespear\"\n - title: Crime and punishment\n\tauthor:\n\t $ref: \"#/authors/dostoevsky\"\n \"\"\"\n\n doc = ymlref.loads(DOCUMENT)\n print('Books in document: \\n')\n for book in doc['books']:\n print(book['title'])\n print('Author: ' + book['author']['first_name'] + ' ' + book['author']['last_name'])\n print('---')\n\nExposed API\n----------------\n**ymlref** provides two functions: **load** and **loads**. The first one loads document from file-like object, while the second one loads document from `str` object.\n\n.. |License: MIT| image:: https://img.shields.io/badge/License-MIT-yellow.svg\n :target: https://opensource.org/licenses/MIT", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/dexter2206/ymlref", "keywords": "yml json jsonpointer", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "ymlref", "package_url": "https://pypi.org/project/ymlref/", "platform": "Linux", "project_url": "https://pypi.org/project/ymlref/", "project_urls": { "Homepage": "https://github.com/dexter2206/ymlref" }, "release_url": "https://pypi.org/project/ymlref/0.1.1/", "requires_dist": null, "requires_python": "", "summary": "ymlref: load Yaml documents with possibility to resolve references.", "version": "0.1.1" }, "last_serial": 3850406, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "f5bbde4d14e5d68a5ff87caa97b4887f", "sha256": "3c3993b37bbf3f35b19c6586069f53032b64b00b895e8d2bd4c3bbe281b99fd3" }, "downloads": -1, "filename": "ymlref-0.1.0.tar.gz", "has_sig": false, "md5_digest": "f5bbde4d14e5d68a5ff87caa97b4887f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10558, "upload_time": "2018-05-10T12:46:38", "url": "https://files.pythonhosted.org/packages/8e/00/eb9d48bf4894dfd47216aa1a19463eb93117a42b572b266db0eeb530eb97/ymlref-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "3e3af46ea1e1097b97016a967f590f7f", "sha256": "1b9af91f90e6723f088d7a800063f70a130e50263bcdc6aecefca816f7e5cd8c" }, "downloads": -1, "filename": "ymlref-0.1.1.tar.gz", "has_sig": false, "md5_digest": "3e3af46ea1e1097b97016a967f590f7f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10578, "upload_time": "2018-05-10T12:53:34", "url": "https://files.pythonhosted.org/packages/ab/fc/06a56dc247fef274fd2fbdd792cf9e78149763afab56f7e92a0bf9076035/ymlref-0.1.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "3e3af46ea1e1097b97016a967f590f7f", "sha256": "1b9af91f90e6723f088d7a800063f70a130e50263bcdc6aecefca816f7e5cd8c" }, "downloads": -1, "filename": "ymlref-0.1.1.tar.gz", "has_sig": false, "md5_digest": "3e3af46ea1e1097b97016a967f590f7f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10578, "upload_time": "2018-05-10T12:53:34", "url": "https://files.pythonhosted.org/packages/ab/fc/06a56dc247fef274fd2fbdd792cf9e78149763afab56f7e92a0bf9076035/ymlref-0.1.1.tar.gz" } ] }