pretty-json
make pretty json.
Documentation: https://github.com/devstuff-io/pretty-json
Installation
pip install pretty-json
Environment Variables
PJSON_OUTPUT_STYLE
Default: monokai
The pygments formatter used to make the json pretty.
Usage
from pretty_json import format_json
# format_json(content, style=OUTPUT_STYLE)
print format_json({'key': 'value'})
See and sample the available styles
python -c "from pretty_json import sample;sample('manni')"
Metadata
Release files for pretty-json 1.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pretty-json-1.2.0.tar.gz | 2.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pretty_json-1.2.0-py2-none-any.whl | Python 2 | none | any | Details |
Total release size: 6.5 kB
Release files / pretty-json-1.2.0.tar.gz
| Download URL | pretty-json-1.2.0.tar.gz |
|---|---|
| Size | 2.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6ca862881886254f699d2621dc1725ba0ae3fdc5cb0f02b99e8563399840f5c7
|
|
BLAKE2b-256 checksum How to use checksums |
cc7817c765ef0ef5fc70d59cee2a339dba8a8f37d952500789d6130eafb7a6ce
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / pretty_json-1.2.0-py2-none-any.whl
| Download URL | pretty_json-1.2.0-py2-none-any.whl |
|---|---|
| Size | 4.0 kB |
| Tags | Python 2 |
|
SHA-256 checksum How to use checksums |
25dea2c99bdcce5619539e53a17bade9d5990d70a0a0230f4b25b841d7688807
|
|
BLAKE2b-256 checksum How to use checksums |
1445393abdf18560dface82142a03dc9b6291313c8416a624b6fdd18529dbd89
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |