{ "info": { "author": "Nathan Longbotham", "author_email": "longbotham@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "Introduction\n============\n\nThe is a simplification and redesign of the orderedbunch package from tinytools.\nThe package ontains an OrderedBunch object class with associated\nbunchify/unbunchify methods, similar to other bunch implementations but\nbuilt off an OrderedDict with ipython table-complete overloaded to the\ndata memebers. It removes the ``ordered_dictionarify`` function that is in\ntinytools and and leaves the development of the nested dictionaries to\nexternal code. The motivation is that it is quite complicated to infer what\nthe user is wanting - and therefore error prone.\n\nIPython has also recently changed its handling of the ``__dir__`` method and it\nis unclear under which cases it is respected for tab completion or not. It\nseems, though, that for ipython 6, it is possible to remove mothods from\nthe tab completion through the ``IPCompleter.*`` configuration options.\n\nInstalling\n==========\n\n.. code:: python \n\n pip install orderedbunch\n\nImport\n=======\n\n.. code:: python \n\n import orderedbunch\n\nQuick Start\n===========\n.. code:: python\n\n from orderedbunch import OrderedBunch\n\n ## OrderedBunch\n from collections import OrderedDict\n\n # Create an OrderedBunch from and return it to an OrderedDict\n od = OrderedDict({'a':1,'b':2,'c':{'aa':1.23,'bb':'string'}})\n ob = orderedbunch.ordered_bunchify(od)\n ob.a # Explore the OrderdBunch with tab complete\n ob['a'] # Equivalent to above\n ob.c.bb # orderd_bunchify is recursive on nested Dict objects\n ob['c']['bb'] # Equivalent to above\n od2 = tt.bunch.ordered_unbunchify(ob)\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "orderedbunch", "package_url": "https://pypi.org/project/orderedbunch/", "platform": "", "project_url": "https://pypi.org/project/orderedbunch/", "project_urls": null, "release_url": "https://pypi.org/project/orderedbunch/1.0.1/", "requires_dist": null, "requires_python": "", "summary": "Tab completable ordered dictionary.", "version": "1.0.1" }, "last_serial": 4216316, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "e3202e459fb6296f5b3362582ff1dea6", "sha256": "e9e207b7406f1ad6d2ceb7c27b54ca57cfbe60c1c2ae9b51fd0e3bfc96b1b649" }, "downloads": -1, "filename": "orderedbunch-1.0.0-py3-none-any.whl", "has_sig": false, "md5_digest": "e3202e459fb6296f5b3362582ff1dea6", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5770, "upload_time": "2018-06-07T20:16:21", "url": "https://files.pythonhosted.org/packages/aa/b3/4d27d36ea10254fdebf900a2418a74d5934098931a38b5cb3f856353da55/orderedbunch-1.0.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "8304f963346b76fa7d5c454755bdfc2c", "sha256": "9a1bf645f37158e65f7a229f45649c3543790bbd90958544a7f30d1d0f8f7e50" }, "downloads": -1, "filename": "orderedbunch-1.0.0.tar.gz", "has_sig": false, "md5_digest": "8304f963346b76fa7d5c454755bdfc2c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5003, "upload_time": "2018-06-07T20:16:21", "url": "https://files.pythonhosted.org/packages/db/f6/20fa763412c23182d34971b5988af920b58d6838bef0d8326782357652bf/orderedbunch-1.0.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "035e7dec4f0315d38f10e70e289faf97", "sha256": "8462a1e8f0a5b7717b1de7fd0c771fa383d99b8f2c14eb078cc1e3eb616bf0a5" }, "downloads": -1, "filename": "orderedbunch-1.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "035e7dec4f0315d38f10e70e289faf97", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5859, "upload_time": "2018-08-28T19:31:30", "url": "https://files.pythonhosted.org/packages/a9/c7/2ffeb22306af652467995fef9d0b51c5908f54a7700b800a6b7343bc14e1/orderedbunch-1.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "62b72ac4b9e5a5ce06c059554435cd38", "sha256": "ab91052c1090133d7921637437179728290dd1539d4a89014a43d1231fc0b3d5" }, "downloads": -1, "filename": "orderedbunch-1.0.1.tar.gz", "has_sig": false, "md5_digest": "62b72ac4b9e5a5ce06c059554435cd38", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5048, "upload_time": "2018-08-28T19:31:31", "url": "https://files.pythonhosted.org/packages/20/02/bfcb94841649f8a714932d80d402d3efd3e4def999131c2053ac1b3ad215/orderedbunch-1.0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "035e7dec4f0315d38f10e70e289faf97", "sha256": "8462a1e8f0a5b7717b1de7fd0c771fa383d99b8f2c14eb078cc1e3eb616bf0a5" }, "downloads": -1, "filename": "orderedbunch-1.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "035e7dec4f0315d38f10e70e289faf97", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5859, "upload_time": "2018-08-28T19:31:30", "url": "https://files.pythonhosted.org/packages/a9/c7/2ffeb22306af652467995fef9d0b51c5908f54a7700b800a6b7343bc14e1/orderedbunch-1.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "62b72ac4b9e5a5ce06c059554435cd38", "sha256": "ab91052c1090133d7921637437179728290dd1539d4a89014a43d1231fc0b3d5" }, "downloads": -1, "filename": "orderedbunch-1.0.1.tar.gz", "has_sig": false, "md5_digest": "62b72ac4b9e5a5ce06c059554435cd38", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5048, "upload_time": "2018-08-28T19:31:31", "url": "https://files.pythonhosted.org/packages/20/02/bfcb94841649f8a714932d80d402d3efd3e4def999131c2053ac1b3ad215/orderedbunch-1.0.1.tar.gz" } ] }