httpcodes
Http codes is a minimal package the literally maps the status-message to a status-code. The only use-case of this package is to increase readability in your code.
Installing
Install and update using pip:
pip install -U httpcodes
A Simple Example
import httpcodes
print(httpcodes.OK)
print(httpcodes.NOT_FOUND)
print(httpcodes.IM_A_TEAPOT)
Release files for httpcodes 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| httpcodes-1.0.0.tar.gz | 2.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| httpcodes-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 5.6 kB
Release files / httpcodes-1.0.0.tar.gz
| Download URL | httpcodes-1.0.0.tar.gz |
|---|---|
| Size | 2.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0e7802b40f5b59acae27b464f9b0281835cca69ca2037bd1ce78fff4918c33a4
|
|
BLAKE2b-256 checksum How to use checksums |
850b14dbcd675e62f1b792e66464c7a75e05449ef0de89ad05e01ba91cccb6e7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.15.0 pkginfo/1.5.0.1 requests/2.9.1 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.5.2
|
Release files / httpcodes-1.0.0-py3-none-any.whl
| Download URL | httpcodes-1.0.0-py3-none-any.whl |
|---|---|
| Size | 3.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
798f9684d9a483f76165dde2fffec9cf652cb69665f489cbaf380ed1fadecd8c
|
|
BLAKE2b-256 checksum How to use checksums |
fc3b034df79263d59bee79db7c109bce90bed5d0c5a44bde16981eb1bfc99b31
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.15.0 pkginfo/1.5.0.1 requests/2.9.1 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.5.2
|