File: PKG-INFO

package info (click to toggle)
python-treq 18.6.0-0.2
  • links: PTS, VCS
  • area: main
  • in suites:
  • size: 468 kB
  • sloc: python: 3,617; makefile: 131
file content (96 lines) | stat: -rw-r--r-- 2,896 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
Metadata-Version: 2.1
Name: treq
Version: 18.6.0
Summary: A requests-like API built on top of twisted.web's Agent
Home-page: https://github.com/twisted/treq
Author: David Reid
Author-email: dreid@dreid.org
Maintainer: Amber Brown
Maintainer-email: hawkowl@twistedmatrix.com
License: MIT/X
Description: treq
        ====
        
        |pypi|_
        |build|_
        |coverage|_
        
        ``treq`` is an HTTP library inspired by
        `requests <http://www.python-requests.org>`_ but written on top of
        `Twisted <http://www.twistedmatrix.com>`_'s
        `Agents <http://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 <http://treq.readthedocs.org>`_.
        
        Contribute
        ==========
        
        ``treq`` is hosted on `GitHub <http://github.com/twisted/treq>`_.
        
        Feel free to fork and send contributions over.
        
        Developing
        ==========
        
        Install dependencies:
        
        ::
        
            pip install treq[dev]
        
        Run Tests (unit & integration):
        
        ::
        
            trial treq
        
        Lint:
        
        ::
        
            pep8 treq
            pyflakes treq
        
        Build docs::
        
            tox -e docs
        
        .. |build| image:: https://api.travis-ci.org/twisted/treq.svg?branch=master
        .. _build: https://travis-ci.org/twisted/treq
        
        .. |coverage| image:: https://codecov.io/github/twisted/treq/coverage.svg?branch=master
        .. _coverage: https://codecov.io/github/twisted/treq
        
        .. |pypi| image:: https://img.shields.io/pypi/v/treq.svg
        .. _pypi: https://pypi.python.org/pypi/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.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Provides-Extra: dev