Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Python implementation of jsonselect (

Project Description

<img src="" /> is a python implementation of

You can find more information here

## Usage

jsonselect can be called directly from the command line.

`python -m jsonselect <selector> < jsonfile`

This is usefull, for example, for parsing out values from JSON APIs.

$aws ec2 describe-instances --filters "Name=tag:Name,Values=kafka" | python -m jsonselect .InstanceId
["i-12345678", "i-23456789", "i-3456789A"]

### Full Usage

usage: [-h] [--list | --machine-readable] selector [infile]

parse json with jsonselect.

positional arguments:

optional arguments:
-h, --help show this help message and exit
--list, -l new-line separated list of values. works best on lists.
--machine-readable Print json with no formatting

## Project status currently implements levels 1 & 2 of these conformance tests

level 3 is unimplemented because I was having trouble understanding what the correct behavior should be


get the upstream conformance tests:
git submodule update --init

Run specific level conformance tests with
nosetests -m '.*_level_1' ./tests/
Release History

Release History

This version
History Node


History Node


History Node


History Node


History Node


History Node


Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
jsonselect-0.2.3.tar.gz (13.6 kB) Copy SHA256 Checksum SHA256 Source Oct 24, 2013

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting