prints the HTTP status code of the url provided by the user
Project description
http-status-example
This is a test to learn Python packaging with setuptools.
Action
The script prints the HTTP status code of the url provided by the user.
Usage
from http_status_example.run import get_request
get_request.py(url)
License
MIT License. See LICENSE for details.
Exceptions
requests.exceptions.HTTPError
requests.exceptions.ConnectionError
requests.exceptions.Timeout
requests.exceptions.RequestException
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
Close
Hashes for http_status_example-1.0.7.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 47a9ff5bd388269fce22e6ff5febb8319b1f2dbb62456bc342c745877ad4daa7 |
|
MD5 | c1cfd81ee64a9caf2d10f39bc25bdeaa |
|
BLAKE2b-256 | cb49613da48ea9e314954dd5f461073edc5adcfd2f54dd0ae943795bffc3310d |
Close
Hashes for http_status_example-1.0.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6785ebdf58f9738569b4c39f763dd3edb72201a18b1577425c839b124a2a34a2 |
|
MD5 | 97e1b92165523933985ba83937ca448c |
|
BLAKE2b-256 | 4ef8e76333d831777b0ea3213ccd822c043eec3178a97e8719d0581dcd71e293 |