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


Release history Release notifications

This version

0.0.1

Download files

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

Files for httpstatus35, version 0.0.1
Filename, size File type Python version Upload date Hashes
Filename, size httpstatus35-0.0.1.tar.gz (5.0 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page