Skip to main content

yaml query library

Project description

yaml-query

Usage

~ cat configmap.yaml
apiVersion: v1
kind: ConfigMap
metadata:
  labels:
    app: chirper
  name: chirper
data:
  config.yaml: |
    - a
    - b
    - c
  service-config.yaml: |
    service_on: true

~ yaml-query 'metadata labels app' configmap.yaml
chirper
...

~ cat configmap.yaml | yaml-query 'data service-config.yaml'
service_on: true
...

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

yaml_query-0.0.2-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

Details for the file yaml_query-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: yaml_query-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 4.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.23.0 setuptools/49.3.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.6

File hashes

Hashes for yaml_query-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 152f527dbe7d378da0846e206c3ce56dcafabdfc43374baa182bcf2fdc201b07
MD5 ed259d2bde52f4026b215700fa0774c1
BLAKE2b-256 4d7d203ab98db2362f1c702574721258177c32c7b44bf37e29f8725a5b102460

See more details on using hashes here.

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