This file is indexed.

/usr/lib/python2.7/dist-packages/requests_cache-0.4.13.egg-info is in python-requests-cache 0.4.13-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  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
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
Metadata-Version: 1.1
Name: requests-cache
Version: 0.4.13
Summary: Persistent cache for requests library
Home-page: https://github.com/reclosedev/requests-cache
Author: Roman Haritonov
Author-email: reclosedev@gmail.com
License: BSD License
Description: requests-cache
        ---------------
        
        Requests-cache is a transparent persistent cache for requests_ (version >= 1.1.0) library.
        
        .. _requests: http://python-requests.org/
        
        .. image:: https://travis-ci.org/reclosedev/requests-cache.svg?branch=master
            :target: https://travis-ci.org/reclosedev/requests-cache
        
        .. image:: https://coveralls.io/repos/reclosedev/requests-cache/badge.svg?branch=master&service=github
            :target: https://coveralls.io/github/reclosedev/requests-cache?branch=master
        
        
        Usage example
        -------------
        
        Just write:
        
        .. code-block:: python
        
            import requests
            import requests_cache
            
            requests_cache.install_cache('demo_cache')
        
        And all responses with headers and cookies will be transparently cached to
        `demo_cache.sqlite` database. For example, following code will take only
        1-2 seconds instead of 10, and will run instantly on next launch:
        
        .. code-block:: python
        
            for i in range(10):
                requests.get('http://httpbin.org/delay/1')
            
        It can be useful when you are creating some simple data scraper with constantly
        changing parsing logic or data format, and don't want to redownload pages or
        write complex error handling and persistence.
        
        Note
        ----
        
        ``requests-cache`` ignores all cache headers, it just caches the data for the
        time you specify.
        
        If you need library which knows how to use HTTP headers and status codes,
        take a look at `httpcache <https://github.com/Lukasa/httpcache>`_ and
        `CacheControl <https://github.com/ionrock/cachecontrol>`_.
        
        Links
        -----
        
        - **Documentation** at `readthedocs.org <https://requests-cache.readthedocs.io/>`_
        
        - **Source code and issue tracking** at `GitHub <https://github.com/reclosedev/requests-cache>`_.
        
        - **Working example** at `Real Python <https://realpython.com/blog/python/caching-external-api-requests>`_.
        
        
        .. :changelog:
        
        History
        -------
        
        0.4.13 (2016-12-23)
        +++++++++++++++++++
        * Support PyMongo3, thanks to @craigls #72
        * Fix streaming releate issue #68
        
        
        0.4.12 (2016-03-19)
        +++++++++++++++++++
        * Fix ability to pass backend instance in ``install_cache`` #61
        
        
        0.4.11 (2016-03-07)
        +++++++++++++++++++
        * ``ignore_parameters`` feature, thanks to @themiurgo and @YetAnotherNerd (#52, #55)
        * More informative message for missing backend dependencies, thanks to @Garrett-R (#60)
        
        
        0.4.10 (2015-04-28)
        +++++++++++++++++++
        * Better transactional handling in sqlite #50, thanks to @rgant
        * Compatibility with streaming in requests >= 2.6.x
        
        
        0.4.9 (2015-01-17)
        ++++++++++++++++++
        
        * ``expire_after`` now also accepts ``timedelta``, thanks to @femtotrader
        * Added Ability to include headers to cache key (``include_get_headers`` option)
        * Added string representation for ``CachedSession``
        
        
        0.4.8 (2014-12-13)
        ++++++++++++++++++
        
        * Fix bug in reading cached streaming response
        
        
        0.4.7 (2014-12-06)
        ++++++++++++++++++
        
        * Fix compatibility with Requests > 2.4.1 (json arg, response history)
        
        
        0.4.6 (2014-10-13)
        ++++++++++++++++++
        
        * Monkey patch now uses class instead lambda (compatibility with rauth)
        * Normalize (sort) parameters passed as builtin dict
        
        
        0.4.5 (2014-08-22)
        ++++++++++++++++++
        
        * Requests==2.3.0 compatibility, thanks to @gwillem
        
        
        0.4.4 (2013-10-31)
        ++++++++++++++++++
        
        * Check for backend availability in install_cache(), not at the first request
        * Default storage fallbacks to memory if ``sqlite`` is not available
        
        
        0.4.3 (2013-09-12)
        ++++++++++++++++++
        
        * Fix ``response.from_cache`` not set in hooks
        
        
        
        0.4.2 (2013-08-25)
        ++++++++++++++++++
        
        * Fix ``UnpickleableError`` for gzip responses
        
        
        
        0.4.1 (2013-08-19)
        ++++++++++++++++++
        
        * ``requests_cache.enabled()`` context manager
        * Compatibility with Requests 1.2.3 cookies handling
        
        
        0.4.0 (2013-04-25)
        ++++++++++++++++++
        
        * Redis backend. Thanks to @michaelbeaumont
        * Fix for changes in Requests 1.2.0 hooks dispatching
        
        
        0.3.0 (2013-02-24)
        ++++++++++++++++++
        
        * Support for ``Requests`` 1.x.x
        * ``CachedSession``
        * Many backward incompatible changes
        
        0.2.1 (2013-01-13)
        ++++++++++++++++++
        
        * Fix broken PyPi package
        
        0.2.0 (2013-01-12)
        ++++++++++++++++++
        
        * Last backward compatible version for ``Requests`` 0.14.2
        
        
        0.1.3 (2012-05-04)
        ++++++++++++++++++
        
        * Thread safety for default ``sqlite`` backend
        * Take into account the POST parameters when cache is configured
          with 'POST' in ``allowable_methods``
        
        
        0.1.2 (2012-05-02)
        ++++++++++++++++++
        
        * Reduce number of ``sqlite`` database write operations
        * ``fast_save`` option for ``sqlite`` backend
        
        
        0.1.1 (2012-04-11)
        ++++++++++++++++++
        
        * Fix: restore responses from response.history
        * Internal refactoring (``MemoryCache`` -> ``BaseCache``, ``reduce_response``
          and ``restore_response`` moved to ``BaseCache``)
        * ``connection`` option for ``MongoCache``
        
        
        0.1.0 (2012-04-10)
        ++++++++++++++++++
        
        * initial PyPI release
        
Keywords: requests,cache,persistence
Platform: UNKNOWN
Classifier: License :: OSI Approved :: BSD License
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3