{ "info": { "author": "K.Himeno", "author_email": "k.himeno314@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.5" ], "description": "=============\nOrderedFormat\n=============\n\n|buildstatus|_ |coverage|_\n\nOrdered value getter from Dictionary type value.\n\nRequirements\n============\n\nPython 2.7 upper and 3.x\n\nFrom a dictionary type, this can acquire a value in order of a methodical keys.\n\nInstall\n=======\n\n::\n\n pip install OrderedFormat\n\nUsage\n=====\n\nQuickStart ::\n\n import OrderedFormat.formatter as odf\n\n yml_txt_data = \"\"\"\n human:\n name: John\n age: 22\n \"\"\"\n\n yml_key_txt = \"\"\"\n human:\n - name\n - age\n - name\n \"\"\"\n\n ordered_keys = odf.load_ordered_keys(None, raw_txt=yml_key_txt, load_type=\"yaml\")\n ordered_data = odf.kflatten(yml_txt_data, ordered_keys, load_type=\"yaml\")\n\n # ordered_data = (\"John\", \"John\", 22, \"John\")\n\n\nCurrentry, ``kflatten`` method return flat tuple value.\n\nWhen you load keys value or dict value (json/yaml file type), you can use two method.\n\nUsing Load File Data ::\n\n ordered_keys = odf.load_ordered_keys(\"\")\n dict_data = odf.load_dict_val(\"\")\n\n odf.kflatten(dict_data, ordered_keys)\n\nAvailable extension is \".yaml\" , \".yml\" and \"json\".\n\n.. |buildstatus| image:: https://travis-ci.org/Himenon/OrderedFormat.svg?branch=master\n.. _buildstatus: https://travis-ci.org/Himenon/OrderedFormat\n\n.. |coverage| image:: https://coveralls.io/repos/github/Himenon/OrderedFormat/badge.svg?branch=master\n.. _coverage: https://coveralls.io/github/Himenon/OrderedFormat", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/Himenon/OrderedFormat", "keywords": "ordered dictionary", "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "OrderedFormat", "package_url": "https://pypi.org/project/OrderedFormat/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/OrderedFormat/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/Himenon/OrderedFormat" }, "release_url": "https://pypi.org/project/OrderedFormat/0.0.2/", "requires_dist": null, "requires_python": null, "summary": "Ordered value getter from Dictionary type value.", "version": "0.0.2" }, "last_serial": 2206839, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "eb98d6379d600257c097d4f0c14f2577", "sha256": "d81c84c958814ca538d405caa5471cc8e4a259f96306b42d21e00dcb468d09e5" }, "downloads": -1, "filename": "OrderedFormat-0.0.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "eb98d6379d600257c097d4f0c14f2577", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 4440, "upload_time": "2016-07-06T14:18:34", "url": "https://files.pythonhosted.org/packages/61/ea/6f98055ab19c1f59d494a91dfead3e166d056204983fcefd7c36cff86527/OrderedFormat-0.0.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "80e64fef5ae99aa254980dbb0690ddae", "sha256": "b35d9664bad969bcea8dc4bd11970431923d83a9061a7f8cad7e1737cfe8533e" }, "downloads": -1, "filename": "OrderedFormat-0.0.1.tar.gz", "has_sig": false, "md5_digest": "80e64fef5ae99aa254980dbb0690ddae", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5032, "upload_time": "2016-07-06T14:18:30", "url": "https://files.pythonhosted.org/packages/cb/be/ea0f884f42d05e2f078e45b30a0ebc86153f1a2338e405679591057fee3e/OrderedFormat-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "21748f2ac7e0440c3f7f8a4c398283a7", "sha256": "da0dbd8e60ff136746bee9be03398151ff0a581c71988cff0c6a94a41a464f9c" }, "downloads": -1, "filename": "OrderedFormat-0.0.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "21748f2ac7e0440c3f7f8a4c398283a7", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 4620, "upload_time": "2016-07-06T22:50:10", "url": "https://files.pythonhosted.org/packages/5f/2a/7c9047d65cb72af9036660236a72a278f4e3544b0b8fa190d72577cec773/OrderedFormat-0.0.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "7e6f57a099c80062209a9dedafe77944", "sha256": "bc561b14ef183fea172b4f8993032e3c3da27636874a966e2b1bf3465ef6c57f" }, "downloads": -1, "filename": "OrderedFormat-0.0.2.tar.gz", "has_sig": false, "md5_digest": "7e6f57a099c80062209a9dedafe77944", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5164, "upload_time": "2016-07-06T22:50:15", "url": "https://files.pythonhosted.org/packages/06/85/dac043bfbb14434f5ff691b9b15fd8155bb32c4922922ac40b0cc330c106/OrderedFormat-0.0.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "21748f2ac7e0440c3f7f8a4c398283a7", "sha256": "da0dbd8e60ff136746bee9be03398151ff0a581c71988cff0c6a94a41a464f9c" }, "downloads": -1, "filename": "OrderedFormat-0.0.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "21748f2ac7e0440c3f7f8a4c398283a7", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 4620, "upload_time": "2016-07-06T22:50:10", "url": "https://files.pythonhosted.org/packages/5f/2a/7c9047d65cb72af9036660236a72a278f4e3544b0b8fa190d72577cec773/OrderedFormat-0.0.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "7e6f57a099c80062209a9dedafe77944", "sha256": "bc561b14ef183fea172b4f8993032e3c3da27636874a966e2b1bf3465ef6c57f" }, "downloads": -1, "filename": "OrderedFormat-0.0.2.tar.gz", "has_sig": false, "md5_digest": "7e6f57a099c80062209a9dedafe77944", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5164, "upload_time": "2016-07-06T22:50:15", "url": "https://files.pythonhosted.org/packages/06/85/dac043bfbb14434f5ff691b9b15fd8155bb32c4922922ac40b0cc330c106/OrderedFormat-0.0.2.tar.gz" } ] }