##########
pprint-36
##########
.. start short_desc
**Backport of pprint from Python 3.9 to Python 3.6-3.8**
.. end short_desc
See the `Python documentation <https://docs.python.org/3/library/pprint.html>`_ for examples and usage information.
The pertinent changes from Python 3.6 to Python 3.9 are:
* ``pprint`` can now pretty-print ``types.SimpleNamespace``.
Contributed by Carl Bordum Hansenin Python 3.9.
* ``pprint.pp`` has been added to pretty-print objects with dictionary
keys being sorted with their insertion order by default. Parameter
*sort_dicts* has been added to ``pprint.pprint``, ``pprint.pformat`` and
``pprint.PrettyPrinter``. Contributed by RĂ©mi Lapeyre in Python 3.8.
.. start shields
.. list-table::
:stub-columns: 1
:widths: 10 90
* - Tests
- |actions_linux| |actions_windows| |actions_macos| |coveralls|
* - PyPI
- |pypi-version| |supported-versions| |supported-implementations| |wheel|
* - Activity
- |commits-latest| |commits-since| |maintained| |pypi-downloads|
* - QA
- |codefactor| |actions_flake8| |actions_mypy|
* - Other
- |license| |language| |requires|
.. |actions_linux| image:: https://github.com/domdfcoding/pprint36/workflows/Linux/badge.svg
:target: https://github.com/domdfcoding/pprint36/actions?query=workflow%3A%22Linux%22
:alt: Linux Test Status
.. |actions_windows| image:: https://github.com/domdfcoding/pprint36/workflows/Windows/badge.svg
:target: https://github.com/domdfcoding/pprint36/actions?query=workflow%3A%22Windows%22
:alt: Windows Test Status
.. |actions_macos| image:: https://github.com/domdfcoding/pprint36/workflows/macOS/badge.svg
:target: https://github.com/domdfcoding/pprint36/actions?query=workflow%3A%22macOS%22
:alt: macOS Test Status
.. |actions_flake8| image:: https://github.com/domdfcoding/pprint36/workflows/Flake8/badge.svg
:target: https://github.com/domdfcoding/pprint36/actions?query=workflow%3A%22Flake8%22
:alt: Flake8 Status
.. |actions_mypy| image:: https://github.com/domdfcoding/pprint36/workflows/mypy/badge.svg
:target: https://github.com/domdfcoding/pprint36/actions?query=workflow%3A%22mypy%22
:alt: mypy status
.. |requires| image:: https://dependency-dash.repo-helper.uk/github/domdfcoding/pprint36/badge.svg
:target: https://dependency-dash.repo-helper.uk/github/domdfcoding/pprint36/
:alt: Requirements Status
.. |coveralls| image:: https://img.shields.io/coveralls/github/domdfcoding/pprint36/master?logo=coveralls
:target: https://coveralls.io/github/domdfcoding/pprint36?branch=master
:alt: Coverage
.. |codefactor| image:: https://img.shields.io/codefactor/grade/github/domdfcoding/pprint36?logo=codefactor
:target: https://www.codefactor.io/repository/github/domdfcoding/pprint36
:alt: CodeFactor Grade
.. |pypi-version| image:: https://img.shields.io/pypi/v/pprint36
:target: https://pypi.org/project/pprint36/
:alt: PyPI - Package Version
.. |supported-versions| image:: https://img.shields.io/pypi/pyversions/pprint36?logo=python&logoColor=white
:target: https://pypi.org/project/pprint36/
:alt: PyPI - Supported Python Versions
.. |supported-implementations| image:: https://img.shields.io/pypi/implementation/pprint36
:target: https://pypi.org/project/pprint36/
:alt: PyPI - Supported Implementations
.. |wheel| image:: https://img.shields.io/pypi/wheel/pprint36
:target: https://pypi.org/project/pprint36/
:alt: PyPI - Wheel
.. |license| image:: https://img.shields.io/github/license/domdfcoding/pprint36
:target: https://github.com/domdfcoding/pprint36/blob/master/LICENSE
:alt: License
.. |language| image:: https://img.shields.io/github/languages/top/domdfcoding/pprint36
:alt: GitHub top language
.. |commits-since| image:: https://img.shields.io/github/commits-since/domdfcoding/pprint36/v3.9.16.0
:target: https://github.com/domdfcoding/pprint36/pulse
:alt: GitHub commits since tagged version
.. |commits-latest| image:: https://img.shields.io/github/last-commit/domdfcoding/pprint36
:target: https://github.com/domdfcoding/pprint36/commit/master
:alt: GitHub last commit
.. |maintained| image:: https://img.shields.io/maintenance/yes/2023
:alt: Maintenance
.. |pypi-downloads| image:: https://img.shields.io/pypi/dm/pprint36
:target: https://pypi.org/project/pprint36/
:alt: PyPI - Downloads
.. end shields
|
Installation
--------------
.. start installation
``pprint36`` can be installed from PyPI.
To install with ``pip``:
.. code-block:: bash
$ python -m pip install pprint36
.. end installation
Raw data
{
"_id": null,
"home_page": "https://github.com/domdfcoding/pprint36",
"name": "pprint36",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.6",
"maintainer_email": "",
"keywords": "backport,pprint,prettyprint",
"author": "",
"author_email": "Python Software Foundation <dominic@davis-foster.co.uk>",
"download_url": "https://files.pythonhosted.org/packages/34/2f/4424fbe7aaa2abc4ecef43fe122acbe3133dff93a5aa0d00cb04b05b0d0d/pprint36-3.9.16.0.tar.gz",
"platform": "Windows",
"description": "\n##########\npprint-36\n##########\n\n.. start short_desc\n\n**Backport of pprint from Python 3.9 to Python 3.6-3.8**\n\n.. end short_desc\n\nSee the `Python documentation <https://docs.python.org/3/library/pprint.html>`_ for examples and usage information.\n\n\nThe pertinent changes from Python 3.6 to Python 3.9 are:\n\n* ``pprint`` can now pretty-print ``types.SimpleNamespace``.\n Contributed by Carl Bordum Hansenin Python 3.9.\n\n* ``pprint.pp`` has been added to pretty-print objects with dictionary\n keys being sorted with their insertion order by default. Parameter\n *sort_dicts* has been added to ``pprint.pprint``, ``pprint.pformat`` and\n ``pprint.PrettyPrinter``. Contributed by R\u00e9mi Lapeyre in Python 3.8.\n\n\n.. start shields\n\n.. list-table::\n\t:stub-columns: 1\n\t:widths: 10 90\n\n\t* - Tests\n\t - |actions_linux| |actions_windows| |actions_macos| |coveralls|\n\t* - PyPI\n\t - |pypi-version| |supported-versions| |supported-implementations| |wheel|\n\t* - Activity\n\t - |commits-latest| |commits-since| |maintained| |pypi-downloads|\n\t* - QA\n\t - |codefactor| |actions_flake8| |actions_mypy|\n\t* - Other\n\t - |license| |language| |requires|\n\n.. |actions_linux| image:: https://github.com/domdfcoding/pprint36/workflows/Linux/badge.svg\n\t:target: https://github.com/domdfcoding/pprint36/actions?query=workflow%3A%22Linux%22\n\t:alt: Linux Test Status\n\n.. |actions_windows| image:: https://github.com/domdfcoding/pprint36/workflows/Windows/badge.svg\n\t:target: https://github.com/domdfcoding/pprint36/actions?query=workflow%3A%22Windows%22\n\t:alt: Windows Test Status\n\n.. |actions_macos| image:: https://github.com/domdfcoding/pprint36/workflows/macOS/badge.svg\n\t:target: https://github.com/domdfcoding/pprint36/actions?query=workflow%3A%22macOS%22\n\t:alt: macOS Test Status\n\n.. |actions_flake8| image:: https://github.com/domdfcoding/pprint36/workflows/Flake8/badge.svg\n\t:target: https://github.com/domdfcoding/pprint36/actions?query=workflow%3A%22Flake8%22\n\t:alt: Flake8 Status\n\n.. |actions_mypy| image:: https://github.com/domdfcoding/pprint36/workflows/mypy/badge.svg\n\t:target: https://github.com/domdfcoding/pprint36/actions?query=workflow%3A%22mypy%22\n\t:alt: mypy status\n\n.. |requires| image:: https://dependency-dash.repo-helper.uk/github/domdfcoding/pprint36/badge.svg\n\t:target: https://dependency-dash.repo-helper.uk/github/domdfcoding/pprint36/\n\t:alt: Requirements Status\n\n.. |coveralls| image:: https://img.shields.io/coveralls/github/domdfcoding/pprint36/master?logo=coveralls\n\t:target: https://coveralls.io/github/domdfcoding/pprint36?branch=master\n\t:alt: Coverage\n\n.. |codefactor| image:: https://img.shields.io/codefactor/grade/github/domdfcoding/pprint36?logo=codefactor\n\t:target: https://www.codefactor.io/repository/github/domdfcoding/pprint36\n\t:alt: CodeFactor Grade\n\n.. |pypi-version| image:: https://img.shields.io/pypi/v/pprint36\n\t:target: https://pypi.org/project/pprint36/\n\t:alt: PyPI - Package Version\n\n.. |supported-versions| image:: https://img.shields.io/pypi/pyversions/pprint36?logo=python&logoColor=white\n\t:target: https://pypi.org/project/pprint36/\n\t:alt: PyPI - Supported Python Versions\n\n.. |supported-implementations| image:: https://img.shields.io/pypi/implementation/pprint36\n\t:target: https://pypi.org/project/pprint36/\n\t:alt: PyPI - Supported Implementations\n\n.. |wheel| image:: https://img.shields.io/pypi/wheel/pprint36\n\t:target: https://pypi.org/project/pprint36/\n\t:alt: PyPI - Wheel\n\n.. |license| image:: https://img.shields.io/github/license/domdfcoding/pprint36\n\t:target: https://github.com/domdfcoding/pprint36/blob/master/LICENSE\n\t:alt: License\n\n.. |language| image:: https://img.shields.io/github/languages/top/domdfcoding/pprint36\n\t:alt: GitHub top language\n\n.. |commits-since| image:: https://img.shields.io/github/commits-since/domdfcoding/pprint36/v3.9.16.0\n\t:target: https://github.com/domdfcoding/pprint36/pulse\n\t:alt: GitHub commits since tagged version\n\n.. |commits-latest| image:: https://img.shields.io/github/last-commit/domdfcoding/pprint36\n\t:target: https://github.com/domdfcoding/pprint36/commit/master\n\t:alt: GitHub last commit\n\n.. |maintained| image:: https://img.shields.io/maintenance/yes/2023\n\t:alt: Maintenance\n\n.. |pypi-downloads| image:: https://img.shields.io/pypi/dm/pprint36\n\t:target: https://pypi.org/project/pprint36/\n\t:alt: PyPI - Downloads\n\n.. end shields\n\n|\n\nInstallation\n--------------\n\n.. start installation\n\n``pprint36`` can be installed from PyPI.\n\nTo install with ``pip``:\n\n.. code-block:: bash\n\n\t$ python -m pip install pprint36\n\n.. end installation\n",
"bugtrack_url": null,
"license": "PSFLicense",
"summary": "Backport of pprint from Python 3.9 to Python 3.6-3.8",
"version": "3.9.16.0",
"project_urls": {
"Homepage": "https://github.com/domdfcoding/pprint36",
"Issue Tracker": "https://github.com/domdfcoding/pprint36/issues",
"Source Code": "https://github.com/domdfcoding/pprint36"
},
"split_keywords": [
"backport",
"pprint",
"prettyprint"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "5f766f698f9e496b7662dad4afef4ac4dbfa49f493286493a11dee9cef57715b",
"md5": "fdd28d06e35e32043e9b3fc04344154a",
"sha256": "5500e214fff19656c8c23ce9d4a5cfac93e58c4968b3f81eac2b7ec57ef9fe02"
},
"downloads": -1,
"filename": "pprint36-3.9.16.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "fdd28d06e35e32043e9b3fc04344154a",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.6",
"size": 42707,
"upload_time": "2023-05-23T13:35:42",
"upload_time_iso_8601": "2023-05-23T13:35:42.459242Z",
"url": "https://files.pythonhosted.org/packages/5f/76/6f698f9e496b7662dad4afef4ac4dbfa49f493286493a11dee9cef57715b/pprint36-3.9.16.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "342f4424fbe7aaa2abc4ecef43fe122acbe3133dff93a5aa0d00cb04b05b0d0d",
"md5": "182330b5c9f62cb24afd1b4ce2447f0c",
"sha256": "31b0e7d1a06e9cd73e90d2aa0b58caaf7341b15a24282777952d1b571a7ec993"
},
"downloads": -1,
"filename": "pprint36-3.9.16.0.tar.gz",
"has_sig": false,
"md5_digest": "182330b5c9f62cb24afd1b4ce2447f0c",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6",
"size": 12288,
"upload_time": "2023-05-23T13:35:44",
"upload_time_iso_8601": "2023-05-23T13:35:44.324553Z",
"url": "https://files.pythonhosted.org/packages/34/2f/4424fbe7aaa2abc4ecef43fe122acbe3133dff93a5aa0d00cb04b05b0d0d/pprint36-3.9.16.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-05-23 13:35:44",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "domdfcoding",
"github_project": "pprint36",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [],
"tox": true,
"lcname": "pprint36"
}