yfind

Software Screenshot:
yfind
Software Details:
Version: 0.1.0 Alpha 2
Upload Date: 20 Feb 15
Developer: Christian Neumann
Distribution Type: Freeware
Downloads: 14

Rating: 2.0/5 (Total Votes: 1)

yfind is a Python tool to search YAML files satisfying specified conditions.

Examples: yfind '.mailings[0].sent < 2012/06/12' my_files/

yfind '.id == 10'

((?.id) and (yfind '.id == 10)) or (.enabled == "False")'


Currently supported search expressions:

< Operand > < Operator > < Operand >

where Operator is one of ==, !=, , =.

Operands may be numbers (1, 3.0), scalars ("foo", "bar"), dates (2007/12/30) or YAML fields (.foo.bar, .foo[4].bar, .bar).

To check for existance of a field, use '?' before the field name: ?.foo.bar.

Search expression can be combined with the logical operators "and, or, not":

- not (< SearchExpression >)
- (< SearchExpression >) and (< SearchExpression >)
- (< SearchExpression >) or (< SearchExpression >)

Requirements:

  • Python

Similar Software

Other Software of Developer Christian Neumann

Monsti
Monsti

19 Feb 15

kotti_contactform
kotti_contactform

20 Feb 15

kotti_dkbase
kotti_dkbase

20 Feb 15

kotti_site_gallery
kotti_site_gallery

20 Feb 15

Comments to yfind

Comments not found
Add Comment
Turn on images!