Skip to main content

A simple cli tool to print JSON data as a table in the terminal.

Project description

jtbl

A simple cli tool to print JSON data as a table in the terminal.

jtbl accepts piped JSON data from stdin and outputs a text table representation to stdout. e.g:

$ cat cities.json | jtbl 
  LatD    LatM    LatS  NS      LonD    LonM    LonS  EW    City               State
------  ------  ------  ----  ------  ------  ------  ----  -----------------  -------
    41       5      59  N         80      39       0  W     Youngstown         OH
    42      52      48  N         97      23      23  W     Yankton            SD
    46      35      59  N        120      30      36  W     Yakima             WA
    42      16      12  N         71      48       0  W     Worcester          MA
    43      37      48  N         89      46      11  W     Wisconsin Dells    WI
    36       5      59  N         80      15       0  W     Winston-Salem      NC
    49      52      48  N         97       9       0  W     Winnipeg           MB

jtbl expects a JSON array of JSON objects or JSON lines.

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

jtbl-0.1.1.tar.gz (2.1 kB view details)

Uploaded Source

Built Distribution

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

jtbl-0.1.1-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

File details

Details for the file jtbl-0.1.1.tar.gz.

File metadata

  • Download URL: jtbl-0.1.1.tar.gz
  • Upload date:
  • Size: 2.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.40.2 CPython/3.7.6

File hashes

Hashes for jtbl-0.1.1.tar.gz
Algorithm Hash digest
SHA256 ece0df8a739d9be0e791d4ab0f6d6bf78f586f5cc5c967807b035b37a785be26
MD5 d0151e55b86763f3aa881d4994b2e5db
BLAKE2b-256 637e1b5fc68e354ce63bcf589ed554693375243d1e16dfff25d24e02144ab3f3

See more details on using hashes here.

File details

Details for the file jtbl-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: jtbl-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 3.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.40.2 CPython/3.7.6

File hashes

Hashes for jtbl-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8f282f3745b5a36667b9231f284e0523aed75330a4ac5f9d1d662c97bc7821d8
MD5 2328e050b432173a0aca63f9d956f1db
BLAKE2b-256 2345c169386498215334f31c345b067427a63bd0b545686c49bdce1eb72d1f6c

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