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.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | adb1c8c07404665b36a733cb349bc840d1b325a9f627f699d1a5284b07af4ddf |
|
MD5 | 1e79c2f2f82e9530301ab944c454ffcf |
|
BLAKE2b-256 | dbe1644e02cd3ac19395cfd316115f73642ac5fa12458f4ec7b226aae04f3da3 |
Close
Hashes for http_status_example-1.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 99b68b720da75561be69ec7e96fc42b36e4ffa75434b6101276d8a5b6e3ed33f |
|
MD5 | 87fd387124f4e82632a4eca4b82369fc |
|
BLAKE2b-256 | 1e79da2a86c2a63ee2cdd79f9685182afeaeffaf963b65c8e9cc0e04551274dd |