Skip to main content

display yaml in flat format

Project description

Install

pip install ycat

example

~$ cat /tmp/test2.yml
---
mappings:
  templates:
  - fields:
      mapping:
        norms: false
        type: text
        fields:
          keyword:
            ignore_above: 256
            type: keyword

~$ ycat
USAGE:
        cat some.yaml | ycat
        ycat some.yaml

~$ ycat /tmp/test2.yml
.mappings.templates[0].fields.mapping.norms = False
.mappings.templates[0].fields.mapping.type = "text"
.mappings.templates[0].fields.mapping.fields.keyword.ignore_above = 256
.mappings.templates[0].fields.mapping.fields.keyword.type = "keyword"

Project details


Release history Release notifications | RSS feed

This version

1

Download files

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

Source Distribution

ycat-1.tar.gz (2.1 kB view details)

Uploaded Source

File details

Details for the file ycat-1.tar.gz.

File metadata

  • Download URL: ycat-1.tar.gz
  • Upload date:
  • Size: 2.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5

File hashes

Hashes for ycat-1.tar.gz
Algorithm Hash digest
SHA256 b7e94bfef60830071bda3c3285da5db84119bb4ce87c1b95b8166767fd3ece1a
MD5 c7381392f0e5fef93c09302326cb2f8a
BLAKE2b-256 9016d15f00498ebcaa495387e44c5a6c80f718f1d106159cbf9f67133f0ba4f0

See more details on using hashes here.

Supported by

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