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 main.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.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 87b206108c5264e72a42fa8d781ce576aa05cf2353635a9b931a29ffc68a3f74 |
|
MD5 | 9a28c8c60281d40157abc583ff939024 |
|
BLAKE2b-256 | 5dd275e02b19d10269161a425d595929065848ea349f67653eebe46e83d8734e |
Close
Hashes for http_status_example-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 20dde32aad10883cffd0f7ac393bd1cc71047f557a19a4cb0d46b8ad82a93c27 |
|
MD5 | 2d987b517ab87887156b815a8ecf271f |
|
BLAKE2b-256 | f46addc1e740bb12389a2b9270c6040db2eb798fe1c049fe86038b6ecb2988ea |