a unix filter for "greping" in YAML files
Project description
yg — "YAML grep"
Searches in YAML files for properties that matches a regex and prints them.
usage: yg pattern [files]
For more intricate command line YAML manipulation, check out yq.
Installation
$ pip install folkol.yg
Examples
- finds Ansible variables matching nginx: yg nginx group_vars/* host_vars/*
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
folkol.yg-0.0.16.tar.gz
(3.1 kB
view details)
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 folkol.yg-0.0.16.tar.gz.
File metadata
- Download URL: folkol.yg-0.0.16.tar.gz
- Upload date:
- Size: 3.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.7.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5a7409b9df50c8b761e87e6ad98c817be7c58fa659a6b4213bc519501e6a2923
|
|
| MD5 |
163ddb86adb2535960a86d8465b37469
|
|
| BLAKE2b-256 |
1a50a243de955c9dcef1972eb332640da68b5e5f665110d5722d93b966783c49
|
File details
Details for the file folkol.yg-0.0.16-py3-none-any.whl.
File metadata
- Download URL: folkol.yg-0.0.16-py3-none-any.whl
- Upload date:
- Size: 2.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.7.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b499a669137aaf30e6e8b8967d0719d648e6e014b8d2175ab83b2d7b29c8cfa8
|
|
| MD5 |
92b2a437c7350159dd266bce5f744cff
|
|
| BLAKE2b-256 |
afca9216000b92e23a0761992dc10e717b36e6dde71ba6ab470d90b3e06eca21
|