HTTPStatusCodes returns a string detailing of what a given status code means.
pip install HTTPStatusCodes
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'