Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

UNKNOWN

Project description

Ygrep is a simple utility that does a Grep-like match to Yaml files. It understands Yaml hierarchy and shows, for each match, the matching scalar node along with its descendants and ancestors, effectively cropping the yaml tree.

For example, given the following Yaml tree:

invoice: 34843
date: 2001-01-23
bill-to: &id001
  given: Chris
  family: Dumars
  address:
    lines: |
      458 Walkman Dr.
      Suite #292
    city: Royal Oak
    state: MI
    postal: 48046

A match for “address” would write:

bill-to:
  address:
    lines: |
      458 Walkman Dr.
      Suite #292
    city: Royal Oak
    state: MI
    postal: 48046

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for Ygrep, version 0.1dev
Filename, size File type Python version Upload date Hashes
Filename, size Ygrep-0.1dev.tar.gz (18.4 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page