Skip to main content

Dumb little tool to 'grep' yaml files

Project description

yamlgrep

A simple-ish program to "grep" for values in a yaml file

yamlgrep works by taking a series of yaml files and traversing the entire tree; when it finds a value which matches the pattern given, it prints the filename (optional), the number of the document within that file (optional), the path to the value.

Example:

$ yamlgrep foo thismanifest.yaml thatmanifest.yaml
thismanifest.yaml:1: .spec.containers.0.image foo.io/eieio/myimg:v1.31.1
thatmanifest.yaml:8: .spec.containers.0.image foo.io/eieio/myimg:v1.32.4

The --help is pretty good in explaining things.

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

yamlgrep-0.1.3.tar.gz (3.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

yamlgrep-0.1.3-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

Details for the file yamlgrep-0.1.3.tar.gz.

File metadata

  • Download URL: yamlgrep-0.1.3.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for yamlgrep-0.1.3.tar.gz
Algorithm Hash digest
SHA256 24844f48a7562eff35c6f7689b7442479e3524b8be3acfd5adb29dbbd0d03613
MD5 df73b479e3cc74f86952f4fe2fb0ae55
BLAKE2b-256 8ccf6a6fe18a96a5ceec14095f2415cc819d13fab5b4ac80971f6337ef91d323

See more details on using hashes here.

Provenance

The following attestation bundles were made for yamlgrep-0.1.3.tar.gz:

Publisher: python-publish.yml on danudey/yamlgrep

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file yamlgrep-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: yamlgrep-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 4.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for yamlgrep-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 9cf2082225fbf6e68cb849702ad796b79d528564a7b0c9bd19aefc206c6ea32d
MD5 daa73614ca2792b1f34c15024171cdd0
BLAKE2b-256 15a2c178ab6b139e37670c96df31f50c38c5299635320479b57f4a627ae8eada

See more details on using hashes here.

Provenance

The following attestation bundles were made for yamlgrep-0.1.3-py3-none-any.whl:

Publisher: python-publish.yml on danudey/yamlgrep

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page