updates
This commit is contained in:
@@ -0,0 +1 @@
|
||||
pip
|
||||
@@ -0,0 +1,91 @@
|
||||
Metadata-Version: 2.4
|
||||
Name: CacheControl
|
||||
Version: 0.14.4
|
||||
Summary: httplib2 caching for requests
|
||||
Keywords: requests,http,caching,web
|
||||
Author: Eric Larson, Frost Ming, William Woodruff
|
||||
Author-email: Eric Larson <ericlarson@ionrock.com>, Frost Ming <me@frostming.com>, William Woodruff <william@yossarian.net>
|
||||
License-Expression: Apache-2.0
|
||||
License-File: LICENSE.txt
|
||||
Classifier: Development Status :: 4 - Beta
|
||||
Classifier: Environment :: Web Environment
|
||||
Classifier: Operating System :: OS Independent
|
||||
Classifier: Programming Language :: Python :: 3.10
|
||||
Classifier: Programming Language :: Python :: 3.11
|
||||
Classifier: Programming Language :: Python :: 3.12
|
||||
Classifier: Programming Language :: Python :: 3.13
|
||||
Classifier: Programming Language :: Python :: 3.14
|
||||
Classifier: Topic :: Internet :: WWW/HTTP
|
||||
Requires-Dist: requests>=2.16.0
|
||||
Requires-Dist: msgpack>=0.5.2,<2.0.0
|
||||
Requires-Dist: cachecontrol[filecache,redis] ; extra == 'dev'
|
||||
Requires-Dist: cherrypy ; extra == 'dev'
|
||||
Requires-Dist: cheroot>=11.1.2 ; extra == 'dev'
|
||||
Requires-Dist: codespell ; extra == 'dev'
|
||||
Requires-Dist: furo ; extra == 'dev'
|
||||
Requires-Dist: mypy ; extra == 'dev'
|
||||
Requires-Dist: pytest ; extra == 'dev'
|
||||
Requires-Dist: pytest-cov ; extra == 'dev'
|
||||
Requires-Dist: ruff ; extra == 'dev'
|
||||
Requires-Dist: sphinx ; extra == 'dev'
|
||||
Requires-Dist: sphinx-copybutton ; extra == 'dev'
|
||||
Requires-Dist: types-redis ; extra == 'dev'
|
||||
Requires-Dist: types-requests ; extra == 'dev'
|
||||
Requires-Dist: filelock>=3.8.0 ; extra == 'filecache'
|
||||
Requires-Dist: redis>=2.10.5 ; extra == 'redis'
|
||||
Requires-Python: >=3.10
|
||||
Project-URL: Homepage, https://pypi.org/project/CacheControl/
|
||||
Project-URL: Issues, https://github.com/psf/cachecontrol/issues
|
||||
Project-URL: Source, https://github.com/psf/cachecontrol
|
||||
Provides-Extra: dev
|
||||
Provides-Extra: filecache
|
||||
Provides-Extra: redis
|
||||
Description-Content-Type: text/x-rst
|
||||
|
||||
..
|
||||
SPDX-FileCopyrightText: SPDX-FileCopyrightText: 2015 Eric Larson
|
||||
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
==============
|
||||
CacheControl
|
||||
==============
|
||||
|
||||
.. image:: https://img.shields.io/pypi/v/cachecontrol.svg
|
||||
:target: https://pypi.python.org/pypi/cachecontrol
|
||||
:alt: Latest Version
|
||||
|
||||
.. image:: https://github.com/psf/cachecontrol/actions/workflows/tests.yml/badge.svg
|
||||
:target: https://github.com/psf/cachecontrol/actions/workflows/tests.yml
|
||||
|
||||
CacheControl is a port of the caching algorithms in httplib2_ for use with
|
||||
requests_ session object.
|
||||
|
||||
It was written because httplib2's better support for caching is often
|
||||
mitigated by its lack of thread safety. The same is true of requests in
|
||||
terms of caching.
|
||||
|
||||
|
||||
Quickstart
|
||||
==========
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
import requests
|
||||
|
||||
from cachecontrol import CacheControl
|
||||
|
||||
|
||||
sess = requests.session()
|
||||
cached_sess = CacheControl(sess)
|
||||
|
||||
response = cached_sess.get('https://google.com')
|
||||
|
||||
If the URL contains any caching based headers, it will cache the
|
||||
result in a simple dictionary.
|
||||
|
||||
For more info, check out the docs_
|
||||
|
||||
.. _docs: http://cachecontrol.readthedocs.org/en/latest/
|
||||
.. _httplib2: https://github.com/httplib2/httplib2
|
||||
.. _requests: http://docs.python-requests.org/
|
||||
@@ -0,0 +1,32 @@
|
||||
../../../bin/doesitcache,sha256=LAkUy8WeaPfL_WyyNHrqy09H01bOSM8481l-oiKVBGo,228
|
||||
cachecontrol-0.14.4.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
|
||||
cachecontrol-0.14.4.dist-info/METADATA,sha256=o7eXpgH_41Bc5LDGNTY8zyaplZ8kkOkC-EGktZlrXMQ,3074
|
||||
cachecontrol-0.14.4.dist-info/RECORD,,
|
||||
cachecontrol-0.14.4.dist-info/WHEEL,sha256=w4ZtLaDgMAZW2MMZZwtH8zENekoQYBCeullI-zsXJQk,78
|
||||
cachecontrol-0.14.4.dist-info/entry_points.txt,sha256=HjCekaRCv8kfNqP5WehMR29IWxIA5VrhoOeKrCykCLc,56
|
||||
cachecontrol-0.14.4.dist-info/licenses/LICENSE.txt,sha256=hu7uh74qQ_P_H1ZJb0UfaSQ5JvAl_tuwM2ZsMExMFhs,558
|
||||
cachecontrol/__init__.py,sha256=aMPfN_9huuMwdL8qh269agzp2ugriVc2okgB4PGHcS0,702
|
||||
cachecontrol/__pycache__/__init__.cpython-312.pyc,,
|
||||
cachecontrol/__pycache__/_cmd.cpython-312.pyc,,
|
||||
cachecontrol/__pycache__/adapter.cpython-312.pyc,,
|
||||
cachecontrol/__pycache__/cache.cpython-312.pyc,,
|
||||
cachecontrol/__pycache__/controller.cpython-312.pyc,,
|
||||
cachecontrol/__pycache__/filewrapper.cpython-312.pyc,,
|
||||
cachecontrol/__pycache__/heuristics.cpython-312.pyc,,
|
||||
cachecontrol/__pycache__/serialize.cpython-312.pyc,,
|
||||
cachecontrol/__pycache__/wrapper.cpython-312.pyc,,
|
||||
cachecontrol/_cmd.py,sha256=4l2UbK9N85Vr_KTkF4LjvSlsr-TZnOXTfT2NODlIMtc,1672
|
||||
cachecontrol/adapter.py,sha256=VBORpVV3mQCLgGa5Mk531KtjoaYTZs4HBd222GfdL4o,6478
|
||||
cachecontrol/cache.py,sha256=OXwv7Fn2AwnKNiahJHnjtvaKLndvVLv_-zO-ltlV9qI,1953
|
||||
cachecontrol/caches/__init__.py,sha256=3-BaJBXjdt-4iFbv-799XjzRBsd6zF9wOEqOdDuAAro,279
|
||||
cachecontrol/caches/__pycache__/__init__.cpython-312.pyc,,
|
||||
cachecontrol/caches/__pycache__/file_cache.cpython-312.pyc,,
|
||||
cachecontrol/caches/__pycache__/redis_cache.cpython-312.pyc,,
|
||||
cachecontrol/caches/file_cache.py,sha256=0Df9CcKBaGjKF4dhkFGncLx-YHae0BOPd0jo67mG1rQ,4093
|
||||
cachecontrol/caches/redis_cache.py,sha256=94Qw4INGwjHcCDwMnOe0gbbcP2fttrlui-e1-Yutclw,1374
|
||||
cachecontrol/controller.py,sha256=qZF9BOy_aDElMAXPejH5ohixTgkxYkXWPoB0Ocer_Vk,19030
|
||||
cachecontrol/filewrapper.py,sha256=DhxC_rSk-beKdbsYhfvBUDovQHX9r3gHH_jP9-q_mKk,4354
|
||||
cachecontrol/heuristics.py,sha256=ccecGyeEycWDY_Kfnx41ebYl7eSdDCLM5X6Sx0f5fZE,4869
|
||||
cachecontrol/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
||||
cachecontrol/serialize.py,sha256=dP5k_UKYUAano6TKG9qlbKHbFMonz0AV_lYR3IFCGMg,5110
|
||||
cachecontrol/wrapper.py,sha256=KyaQ4Bq1RqsX-zA4pXH62nmcU511ECIGn5gCvmNIj20,1328
|
||||
@@ -0,0 +1,4 @@
|
||||
Wheel-Version: 1.0
|
||||
Generator: uv 0.9.9
|
||||
Root-Is-Purelib: true
|
||||
Tag: py3-none-any
|
||||
@@ -0,0 +1,3 @@
|
||||
[console_scripts]
|
||||
doesitcache = cachecontrol._cmd:main
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
Copyright 2012-2021 Eric Larson
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
Reference in New Issue
Block a user