curl statistics made simple
Project description
# httpstat
curl statistics made simple.

httpstat is a single file🌟 Python script that has no dependency👏 and is compatible with Python 3🍻.
> httpstat is designed to be a single file script so that it could be used > or ported easily in any platform, but if you really like it and want > to install httpstat as a command, well, here you go: pip install httpstat
## Usage
Just pass a url with it:
`bash python httpstat.py httpbin.org/get `
By default it will write response body in a tempfile, but you can let it print out by setting HTTPSTAT_SHOW_BODY=true:
`bash HTTPSTAT_SHOW_BODY=true python httpstat.py httpbin.org/get `
You can pass any curl supported arguments after the url (except for -w, -D, -o, -s, -S which are already used by httpstat):
`bash HTTPSTAT_SHOW_BODY=true python httpstat.py httpbin.org/post -X POST --data-urlencode "a=中文" -v `
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file httpstat-1.1.1.tar.gz
.
File metadata
- Download URL: httpstat-1.1.1.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3d420e5228a8b93eb0841452efd28c026ce19ee00fd98698f5a87a5d939c3c5d |
|
MD5 | 54d8d47f1a0060d7dd4e93848d78a999 |
|
BLAKE2b-256 | 2ae3da1d1faf6050ff7664f80aa3dd942cfe732e90d5d126b6037a52f323819c |
File details
Details for the file httpstat-1.1.1-py2-none-any.whl
.
File metadata
- Download URL: httpstat-1.1.1-py2-none-any.whl
- Upload date:
- Size: 5.7 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3a7240470d982fc74984f6b60e9f006fa8f01ded2edc160ce3d36133d3a2be54 |
|
MD5 | d37a1a69b21daf862cfe377c7b923977 |
|
BLAKE2b-256 | 5ae958a2f89616a2c88a60267a745a196dda6f2d289c93b8d1dd4ed6a3e24172 |