Skip to main content

jcat

Python implementation of catj

Origin: https://git.osuv.de/m/jcat
Mirror: https://gitlab.com/markuman/jcat

Install

pip install jcat

example

~$ cat /tmp/test2.json
{
  "mappings": {
    "templates": [
      {
        "fields": {
          "mapping": {
            "norms": false,
            "type": "text",
            "fields": {
              "keyword": {
                "ignore_above": 256,
                "type": "keyword"
              }
            }
          }
        }
      }
    ]
  }
}
~$ jcat
USAGE:
        cat some.json | jcat
        jcat some.json

~$ jcat /tmp/test2.json
.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"

Download files

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

Source Distribution

jcat-3.tar.gz (2.0 kB view details)

Uploaded Source

File details

Details for the file jcat-3.tar.gz.

File metadata

  • Download URL: jcat-3.tar.gz
  • Upload date:
  • Size: 2.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3

File hashes

Hashes for jcat-3.tar.gz
Algorithm Hash digest
SHA256 57564b0be48f4aa09fb48c2ee9792c8ee78a464631b1f1cc7ad15f481d8518bd
MD5 0b5a08a9c6e0f865a1d097213fdb3313
BLAKE2b-256 bae272fca27807525cb91d7c94eea5b936527e0a298dfb79908166011e634ab5

See more details on using hashes here.

Release history Release notifications | RSS feed

4

1 file

This release

3 This release

1 file

2

1 file

1

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page