A json pretty printer for python
Project description
pprintjson
A json pretty printer for Python 🐍.
Installation
$ pip install pprintjson
Usage
# 1. import the "pprintjson" function.
from pprintjson import pprintjson as ppjson
# 2. pretty print JSON.
obj = { "a": 1, "b": "string", "c": True }
ppjson(obj)
License
MIT © Travis Clarke
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pprintjson-1.0.0.tar.gz
(2.4 kB
view hashes)
Built Distribution
Close
Hashes for pprintjson-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 18d765da78afb4b29c80b74b05908a2fcccac21cae254b7bd7cbb5f459d6a182 |
|
MD5 | d4333bc0b037302cd9f7b08b797f3bba |
|
BLAKE2b-256 | 3b635274e77609485204aa127ddebc505ccb3d22c2a55f0692226b0f1b1ee612 |