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🍻.

## 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.0.0.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

httpstat-1.0.0-py2-none-any.whl (5.3 kB view details)

Uploaded Python 2

File details

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

File metadata

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

File hashes

Hashes for httpstat-1.0.0.tar.gz
Algorithm Hash digest
SHA256 531c13e739a4ddeaa7b47a500fe5cdd40d6cc7544a87499934b786ba9876e188
MD5 873bb68efb06417b28ba634b3f36212f
BLAKE2b-256 09a7c71bc433bd8d6a77ff45b10197cd78e7abfdc7bf356f639eba141553f569

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for httpstat-1.0.0-py2-none-any.whl
Algorithm Hash digest
SHA256 4af07d5f913730ded3472bc77717ee1764a48d217dfa42842f149db21608a67e
MD5 595beec7d767ee1d7dc2bea5c6cc507a
BLAKE2b-256 2702d21cbf9835759dda2eaba2b853dfdf3302991da0d756cffaca648b747750

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