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
from http_status_example.run import get_request
python -m get_request.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.5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6c05f5f611bf67d2c453b5b19a1dc606dc8edd80b2856dc77471291e01f4fbac |
|
MD5 | f66b021c714c763577a5bc95eb0b54c8 |
|
BLAKE2b-256 | b3e435fb8d4f03790c5452cb022dfec6eaae3cdd3cda329d9556f6f4deba1ed3 |
Close
Hashes for http_status_example-1.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a2239aa906e40fe38d5274ea881c8887fb2ace2b39ee56d32bc9c39e2f95c387 |
|
MD5 | ccf3155b8f05eab7635e89a98b497316 |
|
BLAKE2b-256 | 864eb905c63f45a456de5d858269e230c63b341648850d73093b12d1f8e0bdbf |