{ "info": { "author": "Alex Willmer", "author_email": "alex@moreati.org.uk", "bugtrack_url": null, "classifiers": [ "Intended Audience :: Developers", "Programming Language :: Python :: 3.6" ], "description": "======\noprint\n======\n\n.. image:: https://travis-ci.org/moreati/oprint.svg?branch=master\n :target: https://travis-ci.org/moreati/oprint\n :alt: Build Tests\n\nA ``pprint`` for CPython 3.6 ``dict`` objects that preserves insertion order.\n\nAbout\n=====\n\nCPython 3.6 uses a new \"compact\" representation for `dict`_ objects. As a\nnice side effect this happens to preserve the insertion order of keys.\n\n The order-preserving aspect of this new implementation is considered an\n implementation detail and should not be relied upon\n\n``pprint.pprint()`` retains it's behaviour from earlier Python releases.\nIt formats a ``dict`` object by sorting the keys alphabetically.\n\n.. code:: python\n\n >>> import pprint\n >>> pprint.pprint({'foo': 1, 'bar': 2, 'baz': 3})\n {'bar': 2, 'baz': 3, 'foo': 1}\n\n``oprint.pprint()`` throws out the old.\n\n.. code:: python\n\n >>> import oprint\n >>> oprint.pprint({'foo': 1, 'bar': 2, 'baz': 3})\n {'foo': 1, 'bar': 2, 'baz': 3}\n\nThe library is otherwise a drop-in replacement for ``pprint``.\n\nInstall\n=======\n\n.. code:: sh\n\n pip install oprint\n\nDevelopment\n===========\n\nThis project is developed on `GitHub`_, please file `issues`_ for any feature\nor bug requests.\n\nContributors\n============\n\n- `Alex Willmer`_\n\n.. _pprint.pprint(): https://docs.python.org/3.6/library/pprint.html\n.. _dict: https://docs.python.org/3.6/whatsnew/3.6.html#whatsnew36-compactdict\n.. _GitHub: https://github.com/moreati/oprint\n.. _issues: https://github.com/moreati/oprint/issues\n.. _Alex Willmer: https://github.com/moreati\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/moreati/oprint", "keywords": "pprint", "license": "", "maintainer": "", "maintainer_email": "", "name": "oprint", "package_url": "https://pypi.org/project/oprint/", "platform": "ALL", "project_url": "https://pypi.org/project/oprint/", "project_urls": { "Homepage": "https://github.com/moreati/oprint" }, "release_url": "https://pypi.org/project/oprint/0.1/", "requires_dist": null, "requires_python": "", "summary": "", "version": "0.1" }, "last_serial": 2876735, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "01cb26136700061f4bf7ba4e9d54db2f", "sha256": "41c92990877987b7ab77f25397bfa1eaa0c2ad4995484bae9551905170b57eaf" }, "downloads": -1, "filename": "oprint-0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "01cb26136700061f4bf7ba4e9d54db2f", "packagetype": "bdist_wheel", "python_version": "3.6", "requires_python": null, "size": 4769, "upload_time": "2017-05-15T23:14:14", "url": "https://files.pythonhosted.org/packages/bc/24/11366700a0c4fda6cf8af389cad8faa760b8105909805605b691b98a8d31/oprint-0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "901ed798012c7ae61f723ec9983228fe", "sha256": "b16b5c45ad5888e84348d88926effff140b296a40c62e9c18ac2a089210d4db4" }, "downloads": -1, "filename": "oprint-0.1.tar.gz", "has_sig": false, "md5_digest": "901ed798012c7ae61f723ec9983228fe", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3384, "upload_time": "2017-05-15T23:14:12", "url": "https://files.pythonhosted.org/packages/fa/c9/aa72f852a1875b64d887010a79ca79d72197afad1b45dd9b41a68d63d8aa/oprint-0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "01cb26136700061f4bf7ba4e9d54db2f", "sha256": "41c92990877987b7ab77f25397bfa1eaa0c2ad4995484bae9551905170b57eaf" }, "downloads": -1, "filename": "oprint-0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "01cb26136700061f4bf7ba4e9d54db2f", "packagetype": "bdist_wheel", "python_version": "3.6", "requires_python": null, "size": 4769, "upload_time": "2017-05-15T23:14:14", "url": "https://files.pythonhosted.org/packages/bc/24/11366700a0c4fda6cf8af389cad8faa760b8105909805605b691b98a8d31/oprint-0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "901ed798012c7ae61f723ec9983228fe", "sha256": "b16b5c45ad5888e84348d88926effff140b296a40c62e9c18ac2a089210d4db4" }, "downloads": -1, "filename": "oprint-0.1.tar.gz", "has_sig": false, "md5_digest": "901ed798012c7ae61f723ec9983228fe", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3384, "upload_time": "2017-05-15T23:14:12", "url": "https://files.pythonhosted.org/packages/fa/c9/aa72f852a1875b64d887010a79ca79d72197afad1b45dd9b41a68d63d8aa/oprint-0.1.tar.gz" } ] }