文件名称:yamlpal:简单的工具,用于修改和搜索Yaml文件,同时保持原始文件格式
文件大小:30KB
文件格式:ZIP
更新时间:2024-06-06 17:53:54
Python
亚姆帕尔 简单的工具,用于修改和搜索yaml文件,同时保持原始文件格式。 Yamlpal使用自己的版本的“ yamlpath”(类似于xpath的语法)来标识yaml文件中的元素。 基本用法: # Installation pip install yamlpal # Inserting new content into files (output is printed to stdout by default) $ yamlpal insert -f examples/sample1.yml " bill-to/address/city " " newkey: value " $ yamlpal insert -f examples/sample1.yml " invoice " @examples/insert-multiline.txt # Specify files vi
【文件预览】:
yamlpal-master
----Vagrantfile(1KB)
----test-requirements.txt(92B)
----requirements.txt(49B)
----run_tests.sh(2KB)
----examples()
--------sample1.yml(759B)
--------insert-multiline.txt(42B)
----.travis.yml(377B)
----LICENSE(1KB)
----setup.cfg(27B)
----setup.py(2KB)
----README.md(2KB)
----.gitignore(759B)
----yamlpal()
--------exceptions.py(56B)
--------dumper.py(4KB)
--------__init__.py(25B)
--------cli.py(8KB)
--------tests()
--------yaml_parser.py(11KB)
----CHANGELOG.md(310B)