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

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

Uploaded Python 3

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