Edit your YAML files as JSON - and vice versa!
Project description
jaml
Lets you edit JSON as YAML, and vice versa, with only one command!
- Intelligently detects output settings based on the input file type
- Respects your $EDITOR if it can, otherwise tries to find one it can use
- Is made with love
Installation
pip install jaml-edit
Usage
$ jaml --help
usage: jaml [-h] [-i INDENT] [-t] file_name
Interchangeably edit YAML as JSON and vice versa
positional arguments:
file_name The file to edit
optional arguments:
-h, --help show this help message and exit
-i INDENT, --indent INDENT
How indented the output data should be
-t, --trailing-whitespace
Add trailing whitespace to the end of the output
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
jaml-edit-0.0.3.tar.gz
(3.2 kB
view hashes)
Built Distribution
Close
Hashes for jaml_edit-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | efb63a119be9aeefb735908ee49053ad58582a4669583f25b46f48e92094b563 |
|
MD5 | 0f72a610d44f14c3d3746a728c37a0cd |
|
BLAKE2b-256 | 332c2830dce8c659e6e3e908dfacc73415b6f1b9a7a878970d1a087dad256f64 |