prints the HTTP status code of either the default url or 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 either the default url or the url provided by the user.
Usage
python -m run.py url[optional]
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.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 80b259ae768cf34f85783118c43e6ad889ef6a250e4519ef7f4fc0fe679c0b09 |
|
MD5 | 0d9fa4fbf0b070a802558b82a6d8e37a |
|
BLAKE2b-256 | d1cec2bd1f3ea8ac9772c9b70899f8b531d9abc91e31513d8c405cd8b45b68f6 |
Close
Hashes for http_status_example-1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 51bce27924cf7c5f7ba77788ca8d37befdcfa98158223fa6878f4fe9a834318c |
|
MD5 | 47dd82d1a2bd9d2489f4d4a274c775dd |
|
BLAKE2b-256 | b0dc344ecea57551783e17262106ab9e7b60056b292ed9a58461bc7145c100d1 |