Skip to main content

Backport of pprint from Python 3.9 to Python 3.6-3.8

Project description

Backport of pprint from Python 3.9 to Python 3.6-3.8

See the Python documentation 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.


Travis Build Status Windows Tests Status macOS Tests Status Coverage CodeFactor Grade


PyPI - Package Version PyPI - Supported Python Versions PyPI - Supported Implementations PyPI - Wheel


GitHub last commit GitHub commits since tagged version Maintenance


License GitHub top language Requirements Status pre-commit


pprint36 can be installed from PyPI.

To install with pip:

$ python -m pip install pprint36

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pprint36- (13.6 kB view hashes)

Uploaded source

Built Distribution

pprint36- (13.2 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page