Metadata-Version: 1.1
Name: requests-bce
Version: 0.0.3
Summary: authentication for bce service
Home-page: http://github.com/skylothar/requests-bce
Author: SkyLothar
Author-email: allothar@gmail.com
License: Apache 2.0
Description: BCE using python-requests
        ============================
        
        Version
        -------
        v0.0.3
        
        .. image:: https://img.shields.io/travis/skylothar/requests-bce.svg?style=flat-square
            :target: https://travis-ci.org/SkyLothar/requests-bce
        
        .. image:: https://img.shields.io/coveralls/skylothar/requests-bce/master.svg?style=flat-square
            :target: https://coveralls.io/r/SkyLothar/requests-bce
        
        .. image:: https://requires.io/github/SkyLothar/requests-bce/requirements.svg?branch=master
            :target: https://requires.io/github/SkyLothar/requests-bce/requirements/?branch=master
        
        .. image:: https://img.shields.io/pypi/v/requests-bce?style=flat-square
            :target: https://pypi.python.org/pypi/requests-bce/
            :alt: Supported Python versions
        
        .. image:: https://img.shields.io/github/license/skylothar/requests-bce.svg?style=flat-square
            :target: https://pypi.python.org/pypi/requests-bce/
            :alt: License
        
        
        
        BCE authentication for the awesome requests!
        --------------------------------------------
        support auth version: v1
        
        - [x] BCM
        
        
        How to Install
        --------------
        Just
        
        .. code-block:: bash
        
           pip install requests-bce
        
        
        How to Use
        ----------
        Just pass the auth object to requests
        
        .. code-block:: python
        
            >>> import requests
            >>> from bceauth import AuthV1
            >>> req = requests.post(
            ...     "http://example.com/path/to/file",
            ...     auth=AuthV1("access-key", "secret-key")
            ... )
            <Response [200]>
        
        Or set the auth attribute to the session object
        
        .. code-block:: python
        
            >>> import requests
            >>> from bceauth import AuthV1
            >>> session = requests.session()
            >>> session.auth = AuthV1("access-key", "secret-key")
            >>> req = session.get("http://example.com/path/to/file")
            <Response [200]>
        
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Natural Language :: English
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
