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
Release files for jpf 0.3.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 | |
|---|---|---|---|
| jpf-0.3.0.tar.gz | 3.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| jpf-0.3.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.1 kB
Release files / jpf-0.3.0.tar.gz
| Download URL | jpf-0.3.0.tar.gz |
|---|---|
| Size | 3.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f7c910a6e55683474316567cb252f5382512c25972059078525dc7b8ee38786e
|
|
BLAKE2b-256 checksum How to use checksums |
5721e6acaef985bfaf485d9358f65c42fbe25894195568d2ef7591e59703abfc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.13 CPython/3.10.4 Darwin/21.6.0
|
Release files / jpf-0.3.0-py3-none-any.whl
| Download URL | jpf-0.3.0-py3-none-any.whl |
|---|---|
| Size | 3.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
842aa34f7e127e163dd560be68fe2725e20f53a39c123b567649830afb711d46
|
|
BLAKE2b-256 checksum How to use checksums |
31b3a1190ee3da0eb1b2fbdced30b5f886a482e9d95a948b640adfff7c9ee17a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.13 CPython/3.10.4 Darwin/21.6.0
|