{"id":13502318,"url":"https://github.com/psf/cachecontrol","last_synced_at":"2025-12-11T21:03:53.443Z","repository":{"id":9002938,"uuid":"10754954","full_name":"psf/cachecontrol","owner":"psf","description":"The httplib2 caching algorithms packaged up for use with requests.","archived":false,"fork":false,"pushed_at":"2025-05-02T16:58:09.000Z","size":572,"stargazers_count":481,"open_issues_count":32,"forks_count":126,"subscribers_count":19,"default_branch":"master","last_synced_at":"2025-05-09T00:10:07.248Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"IBM-Swift/Kitura","license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/psf.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2013-06-18T05:55:43.000Z","updated_at":"2025-05-02T16:58:09.000Z","dependencies_parsed_at":"2024-12-19T19:00:54.479Z","dependency_job_id":"685b08a9-e192-4943-9f1e-d89c7cf886e7","html_url":"https://github.com/psf/cachecontrol","commit_stats":{"total_commits":444,"total_committers":81,"mean_commits":5.481481481481482,"dds":0.5292792792792793,"last_synced_commit":"2ac01e0cb4a4714d2032358e9a83b900f539f066"},"previous_names":["psf/cachecontrol","ionrock/cachecontrol"],"tags_count":55,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/psf%2Fcachecontrol","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/psf%2Fcachecontrol/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/psf%2Fcachecontrol/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/psf%2Fcachecontrol/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/psf","download_url":"https://codeload.github.com/psf/cachecontrol/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254010824,"owners_count":21998993,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-07-31T22:02:09.895Z","updated_at":"2025-12-11T21:03:48.408Z","avatar_url":"https://github.com/psf.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"..\n  SPDX-FileCopyrightText: SPDX-FileCopyrightText: 2015 Eric Larson\n\n  SPDX-License-Identifier: Apache-2.0\n\n==============\n CacheControl\n==============\n\n.. image:: https://img.shields.io/pypi/v/cachecontrol.svg\n    :target: https://pypi.python.org/pypi/cachecontrol\n    :alt: Latest Version\n\n.. image:: https://github.com/psf/cachecontrol/actions/workflows/tests.yml/badge.svg\n  :target: https://github.com/psf/cachecontrol/actions/workflows/tests.yml\n\nCacheControl is a port of the caching algorithms in httplib2_ for use with\nrequests_ session object.\n\nIt was written because httplib2's better support for caching is often\nmitigated by its lack of thread safety. The same is true of requests in\nterms of caching.\n\n\nQuickstart\n==========\n\n.. code-block:: python\n\n  import requests\n\n  from cachecontrol import CacheControl\n\n\n  sess = requests.session()\n  cached_sess = CacheControl(sess)\n\n  response = cached_sess.get('https://google.com')\n\nIf the URL contains any caching based headers, it will cache the\nresult in a simple dictionary.\n\nFor more info, check out the docs_\n\n.. _docs: http://cachecontrol.readthedocs.org/en/latest/\n.. _httplib2: https://github.com/httplib2/httplib2\n.. _requests: http://docs.python-requests.org/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpsf%2Fcachecontrol","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpsf%2Fcachecontrol","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpsf%2Fcachecontrol/lists"}