Metadata-Version: 2.1
Name: http-status-codes
Version: 1.0.0
Summary: The set of standard http status code constants and headers
Home-page: https://github.com/alewkinr/http-constants
Author: Ramil Aleshkin
Author-email: alewkinr@gmail.com
License: MIT
Download-URL: https://github.com/alewkinr/http-constants/archive/v1.0.0.tar.gz
Description: 
        # HTTP Status Constants
        
        A set of constants for HTTP statuses and headers. Improve your code readability.
        
        ## Installation
        
        You can install Http Constants from [PyPI](https://pypi.org/project/http-constants/):
        
            pip install http-status
        
        The library is supported on Python 3.7+.
        
        ## Usage
        
        ### Headers
        ```
        from http_constants.headers import HttpHeaders
        HttpHeaders.ACCEPT
        > 'Accept'
        
        HttpHeaders.CONTENT_TYPE_VALUES.json
        > 'application/json'
        ```
        
        ### Statuses
        ```
        In[1]: 
            from http_constants import status
            status.SERVICE_UNAVAILABLE
        Out[1]:
            503
        ---
        In[2]: 
            from http_constants.status import HttpStatus
            HttpStatus(500).get_meaning()
        
        Out[2]: 
            'Internal Server Error'
        ```
Platform: UNKNOWN
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Requires-Python: >=3.6.0
Description-Content-Type: text/markdown
