Home Page: https://github.com/mitnk/curljson
curl with pretty JSON outputs.
Install
$ pip install curljson
Usages
Use as curl
$ curljson -i https://httpbin.org/get
HTTP/1.1 200 OK
Connection: keep-alive
Server: gunicorn/19.8.1
Date: Mon, 23 Jul 2018 22:46:53 GMT
Content-Type: application/json
Content-Length: 166
Access-Control-Allow-Origin: *
Access-Control-Allow-Credentials: true
Via: 1.1 vegur
{
"headers": {
"Accept": "*/*",
"Host": "httpbin.org",
"User-Agent": "curl/7.43.0",
"Connection": "close"
},
"origin": "12.13.7.19",
"args": {},
"url": "https://httpbin.org/get"
}
Pretty json format via stdin
$ echo '{"bin": "curl", "lang": "Python"}' | curljson
{
"lang": "Python",
"bin": "curl"
}
Metadata
Release files for curljson 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| curljson-1.0.0.tar.gz | 2.2 kB | Details |
Release files / curljson-1.0.0.tar.gz
| Download URL | curljson-1.0.0.tar.gz |
|---|---|
| Size | 2.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5d853f2ffbea7b1bfc806452a9650c686d150c0b74ea72ca45b8fecc8f687317
|
|
BLAKE2b-256 checksum How to use checksums |
5640206888ffc96fbe39719f32b49fd8ac82396064b56ad7aad539e5f3375b92
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
Python-urllib/3.7
|