Pretty format all your json files at once in place with three characters
Project description
jpf
Pretty format all your json files at once in place with three characters
Usage
jpf
Just typing in the three magic characters will pretty format all your *.json files in the current folder and all subfolders.
Since the command is recursive jpf should be used with caution.
Options
jpf comes with some options to further customise the formatting of your files:
| argument | short | default | function |
|---|---|---|---|
--help |
-h |
show this help message and exit | |
--indent |
-i |
4 | format files with that indent level |
--sort-keys |
-s |
False | decide whether jpf should sort the keys |
Installation
pip
jpf is as very simple to install using pip:
pip install jpf
conda
Alternatively jpf can be installed using conda:
conda install -c conda-forge jpf
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file jpf-0.3.0.tar.gz.
File metadata
- Download URL: jpf-0.3.0.tar.gz
- Upload date:
- Size: 3.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.13 CPython/3.10.4 Darwin/21.6.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f7c910a6e55683474316567cb252f5382512c25972059078525dc7b8ee38786e
|
|
| MD5 |
00fca92715afc5a59c6c099669380997
|
|
| BLAKE2b-256 |
5721e6acaef985bfaf485d9358f65c42fbe25894195568d2ef7591e59703abfc
|
File details
Details for the file jpf-0.3.0-py3-none-any.whl.
File metadata
- Download URL: jpf-0.3.0-py3-none-any.whl
- Upload date:
- Size: 3.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.13 CPython/3.10.4 Darwin/21.6.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
842aa34f7e127e163dd560be68fe2725e20f53a39c123b567649830afb711d46
|
|
| MD5 |
4459932b00dc0ca55192115159209f73
|
|
| BLAKE2b-256 |
31b3a1190ee3da0eb1b2fbdced30b5f886a482e9d95a948b640adfff7c9ee17a
|