Search YAML files satisfying specified conditions.
Project description
Search YAML files satisfying specified conditions.
Depends on Python 3.
Examples: yfind '.mailings[0].sent < 2012/06/12' my_files/ yfind '.id == 10'
Currently supported search expressions:
<Operand> <Operator> <Operand>
where Operator is one of ==, !=, <, >, <= or >=.
Operands may be numbers (1, 3.0), scalars (“foo”, “bar”), dates (2007/12/30) or YAML fields (.foo.bar, .foo[4].bar, .bar).
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
yfind-0.1.0a1.tar.gz
(3.7 kB
view details)
File details
Details for the file yfind-0.1.0a1.tar.gz
.
File metadata
- Download URL: yfind-0.1.0a1.tar.gz
- Upload date:
- Size: 3.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 01347dd44e4ab21dcd8e256e372060ad958fa1d27c22410d11c900b651cb08f2 |
|
MD5 | 5985e5044894d7cc4bf512c00c4634a1 |
|
BLAKE2b-256 | c04a999afb06761e618ec575ef86ce5f816f28f642c67bcacd492e8bfbac8e23 |