Added delete option to database storage.
This commit is contained in:
parent
308604a33c
commit
963b5bc68b
1868 changed files with 192402 additions and 13278 deletions
|
@ -0,0 +1,44 @@
|
|||
==============
|
||||
CacheControl
|
||||
==============
|
||||
|
||||
.. image:: https://img.shields.io/pypi/v/cachecontrol.svg
|
||||
:target: https://pypi.python.org/pypi/cachecontrol
|
||||
:alt: Latest Version
|
||||
|
||||
.. image:: https://travis-ci.org/ionrock/cachecontrol.png?branch=master
|
||||
:target: https://travis-ci.org/ionrock/cachecontrol
|
||||
|
||||
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('http://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/jcgregorio/httplib2
|
||||
.. _requests: http://docs.python-requests.org/
|
||||
|
||||
|
|
@ -0,0 +1 @@
|
|||
pip
|
|
@ -0,0 +1,74 @@
|
|||
Metadata-Version: 2.0
|
||||
Name: CacheControl
|
||||
Version: 0.12.6
|
||||
Summary: httplib2 caching for requests
|
||||
Home-page: https://github.com/ionrock/cachecontrol
|
||||
Author: Eric Larson
|
||||
Author-email: eric@ionrock.org
|
||||
License: UNKNOWN
|
||||
Description-Content-Type: UNKNOWN
|
||||
Keywords: requests http caching web
|
||||
Platform: UNKNOWN
|
||||
Classifier: Development Status :: 4 - Beta
|
||||
Classifier: Environment :: Web Environment
|
||||
Classifier: License :: OSI Approved :: Apache Software License
|
||||
Classifier: Operating System :: OS Independent
|
||||
Classifier: Programming Language :: Python :: 2
|
||||
Classifier: Programming Language :: Python :: 2.7
|
||||
Classifier: Programming Language :: Python :: 3
|
||||
Classifier: Programming Language :: Python :: 3.4
|
||||
Classifier: Programming Language :: Python :: 3.5
|
||||
Classifier: Programming Language :: Python :: 3.6
|
||||
Classifier: Topic :: Internet :: WWW/HTTP
|
||||
Requires-Python: >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*
|
||||
Requires-Dist: requests
|
||||
Requires-Dist: msgpack (>=0.5.2)
|
||||
Provides-Extra: filecache
|
||||
Requires-Dist: lockfile (>=0.9); extra == 'filecache'
|
||||
Provides-Extra: redis
|
||||
Requires-Dist: redis (>=2.10.5); extra == 'redis'
|
||||
|
||||
==============
|
||||
CacheControl
|
||||
==============
|
||||
|
||||
.. image:: https://img.shields.io/pypi/v/cachecontrol.svg
|
||||
:target: https://pypi.python.org/pypi/cachecontrol
|
||||
:alt: Latest Version
|
||||
|
||||
.. image:: https://travis-ci.org/ionrock/cachecontrol.png?branch=master
|
||||
:target: https://travis-ci.org/ionrock/cachecontrol
|
||||
|
||||
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('http://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/jcgregorio/httplib2
|
||||
.. _requests: http://docs.python-requests.org/
|
||||
|
||||
|
35
venv/Lib/site-packages/CacheControl-0.12.6.dist-info/RECORD
Normal file
35
venv/Lib/site-packages/CacheControl-0.12.6.dist-info/RECORD
Normal file
|
@ -0,0 +1,35 @@
|
|||
../../Scripts/doesitcache.exe,sha256=oUrPldHAhd6L96tleSYm9TnI_wQAlAXhZcgsF_m648I,97232
|
||||
CacheControl-0.12.6.dist-info/DESCRIPTION.rst,sha256=AVvOiHd6xGEt-8qj3nBO0wevsy94ATbiolgWP-hAdOw,1090
|
||||
CacheControl-0.12.6.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
|
||||
CacheControl-0.12.6.dist-info/METADATA,sha256=KdpEZki2tVLM6jOflJwcwdg_7YOT-HA08g1lF3BSU8A,2196
|
||||
CacheControl-0.12.6.dist-info/RECORD,,
|
||||
CacheControl-0.12.6.dist-info/WHEEL,sha256=kdsN-5OJAZIiHN-iO4Rhl82KyS0bDWf4uBwMbkNafr8,110
|
||||
CacheControl-0.12.6.dist-info/entry_points.txt,sha256=HjCekaRCv8kfNqP5WehMR29IWxIA5VrhoOeKrCykCLc,56
|
||||
CacheControl-0.12.6.dist-info/metadata.json,sha256=fj7gcSEiRyF5g5Nt5ShwF7GP7QAPJFTqZ0YwhYlxMZE,1380
|
||||
CacheControl-0.12.6.dist-info/top_level.txt,sha256=vGYWzpbe3h6gkakV4f7iCK2x3KyK3oMkV5pe5v25-d4,13
|
||||
cachecontrol/__init__.py,sha256=pJtAaUxOsMPnytI1A3juAJkXYDr8krdSnsg4Yg3OBEg,302
|
||||
cachecontrol/__pycache__/__init__.cpython-36.pyc,,
|
||||
cachecontrol/__pycache__/_cmd.cpython-36.pyc,,
|
||||
cachecontrol/__pycache__/adapter.cpython-36.pyc,,
|
||||
cachecontrol/__pycache__/cache.cpython-36.pyc,,
|
||||
cachecontrol/__pycache__/compat.cpython-36.pyc,,
|
||||
cachecontrol/__pycache__/controller.cpython-36.pyc,,
|
||||
cachecontrol/__pycache__/filewrapper.cpython-36.pyc,,
|
||||
cachecontrol/__pycache__/heuristics.cpython-36.pyc,,
|
||||
cachecontrol/__pycache__/serialize.cpython-36.pyc,,
|
||||
cachecontrol/__pycache__/wrapper.cpython-36.pyc,,
|
||||
cachecontrol/_cmd.py,sha256=88j4P3JlJGqg6xAXR4btN9fYruXUH4CE-M93Sie5IB8,1242
|
||||
cachecontrol/adapter.py,sha256=ctnbSXDOj0V0NaxJP2jFauOYRDHaNYMP9QCE8kB4kfk,4870
|
||||
cachecontrol/cache.py,sha256=1fc4wJP8HYt1ycnJXeEw5pCpeBL2Cqxx6g9Fb0AYDWQ,805
|
||||
cachecontrol/caches/__init__.py,sha256=-gHNKYvaeD0kOk5M74eOrsSgIKUtC6i6GfbmugGweEo,86
|
||||
cachecontrol/caches/__pycache__/__init__.cpython-36.pyc,,
|
||||
cachecontrol/caches/__pycache__/file_cache.cpython-36.pyc,,
|
||||
cachecontrol/caches/__pycache__/redis_cache.cpython-36.pyc,,
|
||||
cachecontrol/caches/file_cache.py,sha256=nYVKsJtXh6gJXvdn1iWyrhxvkwpQrK-eKoMRzuiwkKk,4153
|
||||
cachecontrol/caches/redis_cache.py,sha256=yZP1PoUgAvxEZZrCVwImZ-5pFKU41v5HYJf1rfbXYmM,844
|
||||
cachecontrol/compat.py,sha256=Fn_aYzqNbN0bK9gUn8SQUzMLxQ_ruGnsEMvryYDFh3o,647
|
||||
cachecontrol/controller.py,sha256=fpLmIvxce2mKVFmtDFiiyydqU_pPbCucYLC9qP-LqvY,14137
|
||||
cachecontrol/filewrapper.py,sha256=vACKO8Llzu_ZWyjV1Fxn1MA4TGU60N5N3GSrAFdAY2Q,2533
|
||||
cachecontrol/heuristics.py,sha256=BFGHJ3yQcxvZizfo90LLZ04T_Z5XSCXvFotrp7Us0sc,4070
|
||||
cachecontrol/serialize.py,sha256=Jms7OS4GB2JFUzuMPlmQtuCDzcjjE-2ijrHpUXC2BV0,7062
|
||||
cachecontrol/wrapper.py,sha256=5LX0uJwkNQUtYSEw3aGmGu9WY8wGipd81mJ8lG0d0M4,690
|
|
@ -0,0 +1,6 @@
|
|||
Wheel-Version: 1.0
|
||||
Generator: bdist_wheel (0.30.0)
|
||||
Root-Is-Purelib: true
|
||||
Tag: py2-none-any
|
||||
Tag: py3-none-any
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
[console_scripts]
|
||||
doesitcache = cachecontrol._cmd:main
|
||||
|
|
@ -0,0 +1 @@
|
|||
{"classifiers": ["Development Status :: 4 - Beta", "Environment :: Web Environment", "License :: OSI Approved :: Apache Software License", "Operating System :: OS Independent", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Topic :: Internet :: WWW/HTTP"], "description_content_type": "UNKNOWN", "extensions": {"python.commands": {"wrap_console": {"doesitcache": "cachecontrol._cmd:main"}}, "python.details": {"contacts": [{"email": "eric@ionrock.org", "name": "Eric Larson", "role": "author"}], "document_names": {"description": "DESCRIPTION.rst"}, "project_urls": {"Home": "https://github.com/ionrock/cachecontrol"}}, "python.exports": {"console_scripts": {"doesitcache": "cachecontrol._cmd:main"}}}, "extras": ["filecache", "redis"], "generator": "bdist_wheel (0.30.0)", "keywords": ["requests", "http", "caching", "web"], "metadata_version": "2.0", "name": "CacheControl", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*", "run_requires": [{"extra": "filecache", "requires": ["lockfile (>=0.9)"]}, {"requires": ["msgpack (>=0.5.2)", "requests"]}, {"extra": "redis", "requires": ["redis (>=2.10.5)"]}], "summary": "httplib2 caching for requests", "version": "0.12.6"}
|
|
@ -0,0 +1 @@
|
|||
cachecontrol
|
Loading…
Add table
Add a link
Reference in a new issue