Skip to main content

Python 3.5 http.HTTPStatus backported to 3.4 and 2.7

Project description

Python 3.5 http.HTTPStatus backported to 3.4 and 2.7

Getting started

Install:

$ pip install httpstatus35

…or if you want to use Python 2.7 run:

$ pip install httpstatus35[py2x]

Enjoy:

$ python2.7
Python 2.7.10 (default, Oct 23 2015, 19:19:21)
[GCC 4.2.1 Compatible Apple LLVM 7.0.0 (clang-700.0.59.5)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from httpstatus import HTTPStatus
>>> HTTPStatus.OK
<HTTPStatus.OK: 200>

License

httpstatus35 is licensed under the MIT license. See the license file for details.

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

httpstatus35-0.0.1.tar.gz (5.0 kB view hashes)

Uploaded Source

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