Parse yaml
Project description
yaml-pipe
Install
pip install yaml-pipe
How to use
example1
sample.yml
---
foo:
bar: BAR
cat sample.yml | yaml-pipe foo.bar="bar"
output
---
foo:
bar: bar
example2
sample.yml
---
foo:
bar: BAR
---
fizz:
buzz: BUZZ
cat sample.yml | yaml-pipe --block_id 1 fizz.buzz="buzz"
output
---
foo:
bar: BAR
---
fizz:
buzz: buzz
Developpers
Linting and test
pyenv local 3.10.4 3.9.13 3.8.13
poetry install
poetry run nox
Upload to PyPI
Default target is testpypi.
make pypi-upload
If you upload to pypi, set empty to TEST_PYPI
.
make pypi-upload TEST_PYPI=
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
yaml-pipe-1.1.1.tar.gz
(4.2 kB
view hashes)
Built Distribution
Close
Hashes for yaml_pipe-1.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3c5026bef9e6619bb1f68b4b663d5692dcca5f6be2d97a803d33eb4155791c4a |
|
MD5 | 437ca6c9cfd2ee8a118257c50a2ddc62 |
|
BLAKE2b-256 | 6eb93fbba4f83e44ff28fe9c962c07f5e4ca08f56c64817bc7ee2e2bd2e5cd57 |