Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

http_status_example-1.0.7.tar.gz (2.6 kB view details)

Uploaded Source

Built Distribution

http_status_example-1.0.7-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

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

Hashes for http_status_example-1.0.7.tar.gz
Algorithm Hash digest
SHA256 47a9ff5bd388269fce22e6ff5febb8319b1f2dbb62456bc342c745877ad4daa7
MD5 c1cfd81ee64a9caf2d10f39bc25bdeaa
BLAKE2b-256 cb49613da48ea9e314954dd5f461073edc5adcfd2f54dd0ae943795bffc3310d

See more details on using hashes here.

File details

Details for the file http_status_example-1.0.7-py3-none-any.whl.

File metadata

File hashes

Hashes for http_status_example-1.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 6785ebdf58f9738569b4c39f763dd3edb72201a18b1577425c839b124a2a34a2
MD5 97e1b92165523933985ba83937ca448c
BLAKE2b-256 4ef8e76333d831777b0ea3213ccd822c043eec3178a97e8719d0581dcd71e293

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page