Metadata-Version: 2.1
Name: treq
Version: 21.1.0
Summary: High-level Twisted HTTP Client API
Home-page: https://github.com/twisted/treq
Author: David Reid
Author-email: dreid@dreid.org
Maintainer: Tom Most
Maintainer-email: twm@freecog.net
License: MIT/X
Description: treq: High-level Twisted HTTP Client API
        ========================================
        
        |pypi|_
        |build|_
        |coverage|_
        
        ``treq`` is an HTTP library inspired by
        `requests <https://requests.readthedocs.io/>`_ but written on top of
        `Twisted <https://www.twistedmatrix.com>`_'s
        `Agents <https://twistedmatrix.com/documents/current/api/twisted.web.client.Agent.html>`_.
        
        It provides a simple, higher level API for making HTTP requests when
        using Twisted.
        
        .. code-block:: python
        
            >>> from treq import get
        
            >>> def done(response):
            ...     print response.code
            ...     reactor.stop()
        
            >>> get("http://www.github.com").addCallback(done)
        
            >>> from twisted.internet import reactor
            >>> reactor.run()
            200
        
        For more info `read the docs <https://treq.readthedocs.org>`_.
        
        Contributing
        ------------
        
        ``treq`` development is hosted on `GitHub <https://github.com/twisted/treq>`_.
        
        We welcome contributions: feel to fork and send contributions over.
        See `CONTRIBUTING.rst <https://github.com/twisted/treq/blob/master/CONTRIBUTING.rst>`_ for more info.
        
        Code of Conduct
        ---------------
        
        Refer to the `Twisted code of conduct <https://github.com/twisted/twisted/blob/trunk/code_of_conduct.md>`_.
        
        Copyright and License
        ---------------------
        
        ``treq`` is made available under the MIT license.
        See `LICENSE <./LICENSE>`_ for legal details and copyright notices.
        
        
        .. |build| image:: https://api.travis-ci.org/twisted/treq.svg?branch=master
        .. _build: https://travis-ci.org/twisted/treq
        
        .. |coverage| image:: https://coveralls.io/repos/github/twisted/treq/badge.svg
        .. _coverage: https://coveralls.io/github/twisted/treq
        
        .. |pypi| image:: https://img.shields.io/pypi/v/treq.svg
        .. _pypi: https://pypi.org/project/treq/
        
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Framework :: Twisted
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Requires-Python: >=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*
Description-Content-Type: text/x-rst
Provides-Extra: dev
