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 | Provenance | Actions |
|---|---|---|---|---|
| curljson-1.0.0.tar.gz | 2.2 kB | Without provenance | Details for curljson-1.0.0.tar.gz |
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
|
Security for curljson 1.0.0
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.