Skip to main content

make pretty json

Project description

make pretty json.



pip install pretty-json

Environment Variables


Default: monokai

The pygments formatter used to make the json pretty.


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')"


See contributors section on GitHub.

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

pretty-json-1.2.0.tar.gz (2.5 kB view hashes)

Uploaded source

Built Distribution

pretty_json-1.2.0-py2-none-any.whl (4.0 kB view hashes)

Uploaded py2

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page