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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file http_status_example-1.0.7.tar.gz.
File metadata
- Download URL: http_status_example-1.0.7.tar.gz
- Upload date:
- Size: 2.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
47a9ff5bd388269fce22e6ff5febb8319b1f2dbb62456bc342c745877ad4daa7
|
|
| MD5 |
c1cfd81ee64a9caf2d10f39bc25bdeaa
|
|
| BLAKE2b-256 |
cb49613da48ea9e314954dd5f461073edc5adcfd2f54dd0ae943795bffc3310d
|
File details
Details for the file http_status_example-1.0.7-py3-none-any.whl.
File metadata
- Download URL: http_status_example-1.0.7-py3-none-any.whl
- Upload date:
- Size: 3.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6785ebdf58f9738569b4c39f763dd3edb72201a18b1577425c839b124a2a34a2
|
|
| MD5 |
97e1b92165523933985ba83937ca448c
|
|
| BLAKE2b-256 |
4ef8e76333d831777b0ea3213ccd822c043eec3178a97e8719d0581dcd71e293
|