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.1.tar.gz
(2.4 kB
view hashes)
Built Distribution
Close
Hashes for pprintjson-1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 99768cce5e3f2f0840781e08ecd267dffc7f659770a12bdc5b4e11148ef3a7c1 |
|
MD5 | 69d375979a246a17d459ad83cd9b315f |
|
BLAKE2b-256 | db650fee6b0d7a6cc1bb256d6bace8c5509f45242f6be1d700a8b213dfc4863d |