├── .github └── workflows │ ├── integration.yml │ └── release.yml ├── .gitignore ├── .pylintrc ├── LICENSE ├── MANIFEST.in ├── README.rst ├── diskcache ├── __init__.py ├── cli.py ├── core.py ├── djangocache.py ├── fanout.py ├── persistent.py └── recipes.py ├── docs ├── Makefile ├── _static │ ├── core-p1-delete.png │ ├── core-p1-get.png │ ├── core-p1-set.png │ ├── core-p8-delete.png │ ├── core-p8-get.png │ ├── core-p8-set.png │ ├── custom.css │ ├── djangocache-delete.png │ ├── djangocache-get.png │ ├── djangocache-set.png │ ├── early-recomputation-03.png │ ├── early-recomputation-05.png │ ├── early-recomputation.png │ ├── gj-logo.png │ ├── no-caching.png │ ├── synchronized-locking.png │ └── traditional-caching.png ├── _templates │ └── gumroad.html ├── api.rst ├── cache-benchmarks.rst ├── case-study-landing-page-caching.rst ├── case-study-web-crawler.rst ├── conf.py ├── development.rst ├── djangocache-benchmarks.rst ├── index.rst ├── make.bat ├── sf-python-2017-meetup-talk.rst └── tutorial.rst ├── mypy.ini ├── requirements-dev.txt ├── requirements.txt ├── setup.py ├── tests ├── __init__.py ├── benchmark_core.py ├── benchmark_djangocache.py ├── benchmark_glob.py ├── benchmark_incr.py ├── benchmark_kv_store.py ├── db.sqlite3 ├── issue_109.py ├── issue_85.py ├── models.py ├── plot.py ├── plot_early_recompute.py ├── settings.py ├── settings_benchmark.py ├── stress_test_core.py ├── stress_test_deque.py ├── stress_test_deque_mp.py ├── stress_test_fanout.py ├── stress_test_index.py ├── stress_test_index_mp.py ├── test_core.py ├── test_deque.py ├── test_djangocache.py ├── test_doctest.py ├── test_fanout.py ├── test_index.py ├── test_recipes.py ├── timings_core_p1.txt ├── timings_core_p8.txt ├── timings_djangocache.txt ├── timings_glob.txt └── utils.py └── tox.ini /.github/workflows/integration.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grantjenks/python-diskcache/HEAD/.github/workflows/integration.yml -------------------------------------------------------------------------------- /.github/workflows/release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grantjenks/python-diskcache/HEAD/.github/workflows/release.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grantjenks/python-diskcache/HEAD/.gitignore -------------------------------------------------------------------------------- /.pylintrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grantjenks/python-diskcache/HEAD/.pylintrc -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grantjenks/python-diskcache/HEAD/LICENSE -------------------------------------------------------------------------------- /MANIFEST.in: -------------------------------------------------------------------------------- 1 | include README.rst LICENSE 2 | -------------------------------------------------------------------------------- /README.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grantjenks/python-diskcache/HEAD/README.rst -------------------------------------------------------------------------------- /diskcache/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grantjenks/python-diskcache/HEAD/diskcache/__init__.py -------------------------------------------------------------------------------- /diskcache/cli.py: -------------------------------------------------------------------------------- 1 | """Command line interface to disk cache.""" 2 | -------------------------------------------------------------------------------- /diskcache/core.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grantjenks/python-diskcache/HEAD/diskcache/core.py -------------------------------------------------------------------------------- /diskcache/djangocache.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grantjenks/python-diskcache/HEAD/diskcache/djangocache.py -------------------------------------------------------------------------------- /diskcache/fanout.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grantjenks/python-diskcache/HEAD/diskcache/fanout.py -------------------------------------------------------------------------------- /diskcache/persistent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grantjenks/python-diskcache/HEAD/diskcache/persistent.py -------------------------------------------------------------------------------- /diskcache/recipes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grantjenks/python-diskcache/HEAD/diskcache/recipes.py -------------------------------------------------------------------------------- /docs/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grantjenks/python-diskcache/HEAD/docs/Makefile -------------------------------------------------------------------------------- /docs/_static/core-p1-delete.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grantjenks/python-diskcache/HEAD/docs/_static/core-p1-delete.png -------------------------------------------------------------------------------- /docs/_static/core-p1-get.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grantjenks/python-diskcache/HEAD/docs/_static/core-p1-get.png -------------------------------------------------------------------------------- /docs/_static/core-p1-set.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grantjenks/python-diskcache/HEAD/docs/_static/core-p1-set.png -------------------------------------------------------------------------------- /docs/_static/core-p8-delete.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grantjenks/python-diskcache/HEAD/docs/_static/core-p8-delete.png -------------------------------------------------------------------------------- /docs/_static/core-p8-get.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grantjenks/python-diskcache/HEAD/docs/_static/core-p8-get.png -------------------------------------------------------------------------------- /docs/_static/core-p8-set.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grantjenks/python-diskcache/HEAD/docs/_static/core-p8-set.png -------------------------------------------------------------------------------- /docs/_static/custom.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grantjenks/python-diskcache/HEAD/docs/_static/custom.css -------------------------------------------------------------------------------- /docs/_static/djangocache-delete.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grantjenks/python-diskcache/HEAD/docs/_static/djangocache-delete.png -------------------------------------------------------------------------------- /docs/_static/djangocache-get.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grantjenks/python-diskcache/HEAD/docs/_static/djangocache-get.png -------------------------------------------------------------------------------- /docs/_static/djangocache-set.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grantjenks/python-diskcache/HEAD/docs/_static/djangocache-set.png -------------------------------------------------------------------------------- /docs/_static/early-recomputation-03.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grantjenks/python-diskcache/HEAD/docs/_static/early-recomputation-03.png -------------------------------------------------------------------------------- /docs/_static/early-recomputation-05.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grantjenks/python-diskcache/HEAD/docs/_static/early-recomputation-05.png -------------------------------------------------------------------------------- /docs/_static/early-recomputation.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grantjenks/python-diskcache/HEAD/docs/_static/early-recomputation.png -------------------------------------------------------------------------------- /docs/_static/gj-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grantjenks/python-diskcache/HEAD/docs/_static/gj-logo.png -------------------------------------------------------------------------------- /docs/_static/no-caching.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grantjenks/python-diskcache/HEAD/docs/_static/no-caching.png -------------------------------------------------------------------------------- /docs/_static/synchronized-locking.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grantjenks/python-diskcache/HEAD/docs/_static/synchronized-locking.png -------------------------------------------------------------------------------- /docs/_static/traditional-caching.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grantjenks/python-diskcache/HEAD/docs/_static/traditional-caching.png -------------------------------------------------------------------------------- /docs/_templates/gumroad.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grantjenks/python-diskcache/HEAD/docs/_templates/gumroad.html -------------------------------------------------------------------------------- /docs/api.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grantjenks/python-diskcache/HEAD/docs/api.rst -------------------------------------------------------------------------------- /docs/cache-benchmarks.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grantjenks/python-diskcache/HEAD/docs/cache-benchmarks.rst -------------------------------------------------------------------------------- /docs/case-study-landing-page-caching.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grantjenks/python-diskcache/HEAD/docs/case-study-landing-page-caching.rst -------------------------------------------------------------------------------- /docs/case-study-web-crawler.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grantjenks/python-diskcache/HEAD/docs/case-study-web-crawler.rst -------------------------------------------------------------------------------- /docs/conf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grantjenks/python-diskcache/HEAD/docs/conf.py -------------------------------------------------------------------------------- /docs/development.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grantjenks/python-diskcache/HEAD/docs/development.rst -------------------------------------------------------------------------------- /docs/djangocache-benchmarks.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grantjenks/python-diskcache/HEAD/docs/djangocache-benchmarks.rst -------------------------------------------------------------------------------- /docs/index.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grantjenks/python-diskcache/HEAD/docs/index.rst -------------------------------------------------------------------------------- /docs/make.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grantjenks/python-diskcache/HEAD/docs/make.bat -------------------------------------------------------------------------------- /docs/sf-python-2017-meetup-talk.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grantjenks/python-diskcache/HEAD/docs/sf-python-2017-meetup-talk.rst -------------------------------------------------------------------------------- /docs/tutorial.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grantjenks/python-diskcache/HEAD/docs/tutorial.rst -------------------------------------------------------------------------------- /mypy.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grantjenks/python-diskcache/HEAD/mypy.ini -------------------------------------------------------------------------------- /requirements-dev.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grantjenks/python-diskcache/HEAD/requirements-dev.txt -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- 1 | -e . 2 | -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grantjenks/python-diskcache/HEAD/setup.py -------------------------------------------------------------------------------- /tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/benchmark_core.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grantjenks/python-diskcache/HEAD/tests/benchmark_core.py -------------------------------------------------------------------------------- /tests/benchmark_djangocache.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grantjenks/python-diskcache/HEAD/tests/benchmark_djangocache.py -------------------------------------------------------------------------------- /tests/benchmark_glob.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grantjenks/python-diskcache/HEAD/tests/benchmark_glob.py -------------------------------------------------------------------------------- /tests/benchmark_incr.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grantjenks/python-diskcache/HEAD/tests/benchmark_incr.py -------------------------------------------------------------------------------- /tests/benchmark_kv_store.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grantjenks/python-diskcache/HEAD/tests/benchmark_kv_store.py -------------------------------------------------------------------------------- /tests/db.sqlite3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grantjenks/python-diskcache/HEAD/tests/db.sqlite3 -------------------------------------------------------------------------------- /tests/issue_109.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grantjenks/python-diskcache/HEAD/tests/issue_109.py -------------------------------------------------------------------------------- /tests/issue_85.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grantjenks/python-diskcache/HEAD/tests/issue_85.py -------------------------------------------------------------------------------- /tests/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grantjenks/python-diskcache/HEAD/tests/models.py -------------------------------------------------------------------------------- /tests/plot.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grantjenks/python-diskcache/HEAD/tests/plot.py -------------------------------------------------------------------------------- /tests/plot_early_recompute.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grantjenks/python-diskcache/HEAD/tests/plot_early_recompute.py -------------------------------------------------------------------------------- /tests/settings.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grantjenks/python-diskcache/HEAD/tests/settings.py -------------------------------------------------------------------------------- /tests/settings_benchmark.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grantjenks/python-diskcache/HEAD/tests/settings_benchmark.py -------------------------------------------------------------------------------- /tests/stress_test_core.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grantjenks/python-diskcache/HEAD/tests/stress_test_core.py -------------------------------------------------------------------------------- /tests/stress_test_deque.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grantjenks/python-diskcache/HEAD/tests/stress_test_deque.py -------------------------------------------------------------------------------- /tests/stress_test_deque_mp.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grantjenks/python-diskcache/HEAD/tests/stress_test_deque_mp.py -------------------------------------------------------------------------------- /tests/stress_test_fanout.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grantjenks/python-diskcache/HEAD/tests/stress_test_fanout.py -------------------------------------------------------------------------------- /tests/stress_test_index.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grantjenks/python-diskcache/HEAD/tests/stress_test_index.py -------------------------------------------------------------------------------- /tests/stress_test_index_mp.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grantjenks/python-diskcache/HEAD/tests/stress_test_index_mp.py -------------------------------------------------------------------------------- /tests/test_core.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grantjenks/python-diskcache/HEAD/tests/test_core.py -------------------------------------------------------------------------------- /tests/test_deque.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grantjenks/python-diskcache/HEAD/tests/test_deque.py -------------------------------------------------------------------------------- /tests/test_djangocache.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grantjenks/python-diskcache/HEAD/tests/test_djangocache.py -------------------------------------------------------------------------------- /tests/test_doctest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grantjenks/python-diskcache/HEAD/tests/test_doctest.py -------------------------------------------------------------------------------- /tests/test_fanout.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grantjenks/python-diskcache/HEAD/tests/test_fanout.py -------------------------------------------------------------------------------- /tests/test_index.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grantjenks/python-diskcache/HEAD/tests/test_index.py -------------------------------------------------------------------------------- /tests/test_recipes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grantjenks/python-diskcache/HEAD/tests/test_recipes.py -------------------------------------------------------------------------------- /tests/timings_core_p1.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grantjenks/python-diskcache/HEAD/tests/timings_core_p1.txt -------------------------------------------------------------------------------- /tests/timings_core_p8.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grantjenks/python-diskcache/HEAD/tests/timings_core_p8.txt -------------------------------------------------------------------------------- /tests/timings_djangocache.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grantjenks/python-diskcache/HEAD/tests/timings_djangocache.txt -------------------------------------------------------------------------------- /tests/timings_glob.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grantjenks/python-diskcache/HEAD/tests/timings_glob.txt -------------------------------------------------------------------------------- /tests/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grantjenks/python-diskcache/HEAD/tests/utils.py -------------------------------------------------------------------------------- /tox.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grantjenks/python-diskcache/HEAD/tox.ini --------------------------------------------------------------------------------