Skip to main content

A fast JSON prettifier and minifier with multiprocessing support

Project description

json_prettifier

added -m cli arg to minify and default action without cli arg is to beautify the cli script now can accept multiple files/folders as input

  • if no input is provided, script searches current path for json files and beautify them with indent=2 , ensure_ascii=False options
  • you can sort the keys of a json file by passing -s cli arg
  • the acript updates files inplace
  • if the input file is not a valid python json file script skips it

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

json_prettifier-1.4.7.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

json_prettifier-1.4.7-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

Details for the file json_prettifier-1.4.7.tar.gz.

File metadata

  • Download URL: json_prettifier-1.4.7.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for json_prettifier-1.4.7.tar.gz
Algorithm Hash digest
SHA256 687dd177d73fbde7c6d071ea4485cbce5f8f02bbf42fc3d254ac2567a631e37e
MD5 6b6dc81d90b23ecbeeda82f61e75cc66
BLAKE2b-256 7af518aabd0f883eac9fbde8e8eb9fa48b6c5c3b4f173b6cec7d3056c8e1ec00

See more details on using hashes here.

File details

Details for the file json_prettifier-1.4.7-py3-none-any.whl.

File metadata

File hashes

Hashes for json_prettifier-1.4.7-py3-none-any.whl
Algorithm Hash digest
SHA256 e4ff430673908ebdafbd68557d45daf9439ea99176e5f11a10205cfd0dd05a2f
MD5 55899a2b2eb14aba3e5cf9508b752acf
BLAKE2b-256 a8f7d12250138c41fe0a901c2a44b7acdaa2757c973ba60482bae673de655485

See more details on using hashes here.

Supported by

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