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.0.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

httpstat-1.1.0-py2-none-any.whl (5.7 kB view details)

Uploaded Python 2

File details

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

File metadata

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

File hashes

Hashes for httpstat-1.1.0.tar.gz
Algorithm Hash digest
SHA256 6d6670ca68ce1d83a0c3d985a5b29aa66424ffbd88fea12712fc687c312196bc
MD5 53e547216745e22a29bcfdb1cdd1067f
BLAKE2b-256 7f54baa251880572e038be783b18fdc54a97dda9d151cef628a36662cc3cb488

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for httpstat-1.1.0-py2-none-any.whl
Algorithm Hash digest
SHA256 8b37456c26690307369542ca80f8a3378c49f1426428ff8b0717635c23d2d339
MD5 1b56992860af01e42640a0f2951d0cec
BLAKE2b-256 890f60c0ebe6d7ddddfe1d3ab715a4742027dbdd0f3e7149d31bf66a935cdf81

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