Skip to main content

curl statistics made simple

Project description

# httpstat

curl statistics made simple.

![screenshot](screenshot.png)

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


Download files

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

Source Distribution

httpstat-1.1.2.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

httpstat-1.1.2-py2-none-any.whl (5.8 kB view details)

Uploaded Python 2

File details

Details for the file httpstat-1.1.2.tar.gz.

File metadata

  • Download URL: httpstat-1.1.2.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for httpstat-1.1.2.tar.gz
Algorithm Hash digest
SHA256 1295afdbcb485e2b29f7b264d9e320d0aeae8d4bd5bcd51f374b01c4e435d6c6
MD5 77e24184cb1349ce8ea20011c777986a
BLAKE2b-256 b02780bdb353de887ad501cde707858ad8202c852bdea848cb55dd764dd19c0b

See more details on using hashes here.

File details

Details for the file httpstat-1.1.2-py2-none-any.whl.

File metadata

File hashes

Hashes for httpstat-1.1.2-py2-none-any.whl
Algorithm Hash digest
SHA256 be04c904f65f5fb8e104f2ce9c4358a3655950b1e4565b002d0f5761a66480b0
MD5 e2ff66d7630b099d5ff1674c39f48a70
BLAKE2b-256 43a6bbcdf39f411ddae8345f1c5dbb2add0d0af535b3e3c27d54f004bdc0d28b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page