Skip to main content
Join the official 2020 Python Developers SurveyStart the survey!

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.

Files for HTTPStatusCodes, version 1.0.1
Filename, size File type Python version Upload date Hashes
Filename, size HTTPStatusCodes-1.0.1-py3-none-any.whl (5.6 kB) File type Wheel Python version py3 Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page