Metadata-Version: 2.1
Name: httpmethods
Version: 1.0.3
Summary: HTTP methods that python supports
Home-page: https://github.com/staimerapi/httpmethods
Author: Braian Staimer
Author-email: braianflorian@gmail.com
License: MIT
Download-URL: https://github.com/staimerapi/httpmethods/archive/1.0.3.tar.gz
Description: # HTTP Request Methods
        
        HTTP verbs that python core's HTTP parser supports.
        
        This module provides an export that is just like
        [HTTP request methods](https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods) from Developer Mozilla, with the following differences:
        
          * All method names are lower-cased.
          * All method names are upper-cased.
        
        Also this module provides a list with all 
        [HTTP Status Codes](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status) and you can get only status description by status code or get all status.
        
        We use the methods package from [Node.js](https://www.npmjs.com/package/methods) as inspiration
        
        ## Install
        Install and update using [Pip](https://pypi.org/):
        
        ```sh
        $ pip install httpmethods
        ```
        
        ## API
        
        ```python
        import httpmethods as methods
        ```
        
        
        ### A Simple Example
        ```python
        from httpmethods import getHttpMethods
        
        for method in getHttpMethods():
            print(method)
        ```
        ```
        $ get
        $ post
        $ put
        $ delete
        $ ...
        ```
        
        ```python
        from httpmethods import getHttpMethods
        
        for method in getHttpMethods(uppercase=True):
            print(method)
        ```
        ```
        $ GET
        $ POST
        $ PUT
        $ DELETE
        $ ...
        ```
        
        ```python
        from httpmethods import getStatusCodes, getStatusByCode
        
        print(getStatusByCode(200))
        print(getStatusByCode(401))
        print(getStatusCodes())
        ```
        ```
        $ 200 OK
        $ 401 Unauthorized
        $ {
        $   100: "100 Continue",
        $   101: "101 Switching Protocols",
        $   103: "103 Early Hints",
        $   ...
        $ }
        ```
        ## License
        
        [MIT](LICENSE)
Keywords: HTTP,HTTP REQUEST,REQUESTS METHODS
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development :: Build Tools
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Description-Content-Type: text/markdown
