Skip to main content

JSON processor with Python one-liner

Project description

[![pypi](https://img.shields.io/pypi/v/jqp.svg)](https://pypi-hypernode.com/pypi/jqp) [![travis](https://img.shields.io/travis/unnonouno/jqp/master.svg)](https://travis-ci.org/unnonouno/jqp) [![coveralls](https://img.shields.io/coveralls/unnonouno/jqp.svg)](https://coveralls.io/github/unnonouno/jqp)

# jqp

jqp is a JSON processor with Python one-liner.

## Requirement

  • Python 2.7, 3.3, 3.4, 3.5

## Install

` $ pip install jqp `

## Usage

jqp parses each line as a JSON object, and evaluates a given expression. A parsed JSON object is bounded a variable named j.

` jqp cmd `

  • cmd: An expression to evaluate.

## Example

` % echo '{"name": "Taro", "age": 10}' | jqp '[j["name"], j["age"]]' ["Taro", 10] `

## Lisence

MIT License

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

jqp-0.0.0.tar.gz (1.8 kB view details)

Uploaded Source

File details

Details for the file jqp-0.0.0.tar.gz.

File metadata

  • Download URL: jqp-0.0.0.tar.gz
  • Upload date:
  • Size: 1.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for jqp-0.0.0.tar.gz
Algorithm Hash digest
SHA256 34b31cfe356543e4b218a48110b96bd9f8a5b398006b14334e8a2d4b90352694
MD5 8e0f2817a993d86000ef8b8c42e2aba5
BLAKE2b-256 6190912e0fd7ede5eeaf515a8ac229ec17bf0634986c4db632ea8de4c1eefacd

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