Skip to main content

Simple pipeline json parser

It is as jq but better because you can use python syntax and you do not need to look in documentation every time.

Install

pip install jsonp

Usage

Pretty print

echo '{"userId":1,"id":1,"title":"delectus aut autem","completed":false}' | j
{
    "completed": false,
    "id": 1,
    "title": "delectus aut autem",
    "userId": 1
}

Modify data as you want until returned data is correct json object

echo '{"userId":1,"id":1,"title":"delectus aut autem","completed":false}' | j '{str(v):k for k, v in it.items()}'
{
    "1": "id",
    "False": "completed",
    "delectus aut autem": "title"
}

Metadata

Release files for jsonp 1.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for jsonp 1.0.4
File Size Uploaded Provenance
jsonp-1.0.4.tar.gz 2.6 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for jsonp 1.0.4
File Interpreter ABI Platform
jsonp-1.0.4-py3-none-any.whl Python 3 none any Details

Total release size: 6.1 kB

Release files / jsonp-1.0.4.tar.gz

Download URL jsonp-1.0.4.tar.gz
Size 2.6 kB
Tags Source
SHA-256 checksum
How to use checksums
e1a9158d930d9999c12c79ccda433688d626acc53fe1817c7902dba5d141dfb8
BLAKE2b-256 checksum
How to use checksums
0754abdc15acca617377031a284fcb40abec0fee4e1ef3411038c8d7cec8c916
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.19.1

Release files / jsonp-1.0.4-py3-none-any.whl

Download URL jsonp-1.0.4-py3-none-any.whl
Size 3.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
10e23b0f109fda38f2a0d40ec3f753757dbffcdeb3307239385d9c6a58585e2e
BLAKE2b-256 checksum
How to use checksums
ce55fafd1eca5ae3600da206139b6e524ef7e45253b132fbb55f9db3643513f8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.19.1

Security for jsonp 1.0.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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