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

Uploaded Source

Built Distribution

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

Uploaded Python 2

File details

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

File metadata

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

File hashes

Hashes for httpstat-1.1.3.tar.gz
Algorithm Hash digest
SHA256 c78e992fb31f893921ff9f4b127ff1d8d6896eb4a8f228b6b45d49ec3ab1f1c1
MD5 b55297d4d62cda35c1b6abe0999b67e3
BLAKE2b-256 cf5e012d5622c44303056c65d2bf511fda17ce127963a530f93691efe0c68241

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for httpstat-1.1.3-py2-none-any.whl
Algorithm Hash digest
SHA256 b3953e5c840f2f8d55b31b18827933f781277037caf74354d96cdbcd09dbac41
MD5 784b9ecd14caff5423eaced3edceb754
BLAKE2b-256 11ae28e66bb90cbb92424ee80f9118c2dd8138b3c7607fc1dc9753865c57beca

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