Skip to main content

Returns a string detailing of what a given status code means.

Project description

HTTPStatusCodes

HTTPStatusCodes returns a string detailing of what a given status code means.

Install

pip install HTTPStatusCodes

How to use

from HTTPStatusCodes import get_status_string
status = get_status_string(200)
print (status)
>>> 'OK'

Alternatively

import HTTPStatusCodes
status = HTTPStatusCodes.get_status_string(200)
print(status)
>>> 'OK'

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

HTTPStatusCodes-1.0.1-py3-none-any.whl (5.6 kB view details)

Uploaded Python 3

File details

Details for the file HTTPStatusCodes-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: HTTPStatusCodes-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 5.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.8.0 tqdm/4.49.0 CPython/3.8.2

File hashes

Hashes for HTTPStatusCodes-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c573c9ddc9862db217b1e60cd87c0b8a00c032f27096b11da8dc82306fad3fef
MD5 59cd19267354ff86619ecd11b54461a2
BLAKE2b-256 3006637307519fcce243ae3b3ad24d4312f986cca2d067dc0cf39de4bf98a613

See more details on using hashes here.

Supported by

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