{"id":13806115,"url":"https://github.com/moriyoshi/pyramid_dogpile_cache","last_synced_at":"2025-07-11T11:32:42.859Z","repository":{"id":8840117,"uuid":"10544791","full_name":"moriyoshi/pyramid_dogpile_cache","owner":"moriyoshi","description":"Pyramid dogpile.cache","archived":false,"fork":false,"pushed_at":"2021-03-19T00:13:50.000Z","size":182,"stargazers_count":6,"open_issues_count":1,"forks_count":4,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-09T05:20:09.328Z","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":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/moriyoshi.png","metadata":{"files":{"readme":"README.rst","changelog":"CHANGES.txt","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-06-07T07:38:26.000Z","updated_at":"2021-03-05T18:19:37.000Z","dependencies_parsed_at":"2022-09-19T07:00:15.073Z","dependency_job_id":null,"html_url":"https://github.com/moriyoshi/pyramid_dogpile_cache","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/moriyoshi/pyramid_dogpile_cache","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moriyoshi%2Fpyramid_dogpile_cache","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moriyoshi%2Fpyramid_dogpile_cache/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moriyoshi%2Fpyramid_dogpile_cache/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moriyoshi%2Fpyramid_dogpile_cache/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/moriyoshi","download_url":"https://codeload.github.com/moriyoshi/pyramid_dogpile_cache/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moriyoshi%2Fpyramid_dogpile_cache/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264795402,"owners_count":23665231,"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-08-04T01:01:08.003Z","updated_at":"2025-07-11T11:32:42.200Z","avatar_url":"https://github.com/moriyoshi.png","language":"Python","funding_links":[],"categories":["Caching \u0026 Session"],"sub_categories":[],"readme":"Introduction\n============\n\n``pyramid_dogpile_cache`` is a tiny dogpile cache factory for Pyramid. \n\nSetup\n=====\n\nPut ``config.include('pyramid_dogpile_cache')`` somewhere in your startup code:\n\n.. code-block:: python\n\n   config = Configurator(...)\n   config.include('pyramid_dogpile_cache')\n\nOr alternatively you can add ``pyramid_dogpile_cache`` to the ``pyramid.includes`` list in the configuration:\n\n.. code-block:: ini\n\n    pyramid.includes = pyramid_dogpile_cache\n\nUsage in Code\n=============\n\n``pyramid_dogpile_cache.get_region`` is the only API.\n\n.. code-block:: python\n\n   from pyramid_dogpile_cache import get_region\n   region = get_region('foo')\n   # ... do whatever operation on the cache region ...\n\n\nSettings\n========\n\n``dogpile_cache.regions``\n\n    A list of region names to initialize through the factory.\n    Regions can be separated by either spaces or commas.\n\n``dogpile_cache.backend``\n\n    The default backend for cache regions.  You can later override it with the region-specific setting.\n\n``dogpile_cache.expire``\n\n    The default expiration time for cache regions.  You can later override it with the region-specific setting.\n\n``dogpile_cache.arguments.*``\n\n    The arguments for the default backend.  You can later override it with the region-specific setting.\n\n\n``dogpile_cache.function_key_generator``\n\n    Passed to ``make_region()``.  \n\n``dogpile_cache.key_mangler``\n\n    Passed to ``make_region()``.\n\n``dogpile_cache.async_creation_runner``\n\n    Passed to ``make_region()``.\n\n``dogpile_cache.REGION.*``\n\n    Each set of region-specific settings is prefixed with the region name followed by the setting name.  For example, settings for region ``foo`` can be like the following:\n\n    .. code-block:: ini\n\n       ; global settings\n       dogpile_cache.backend = file\n\n       ; settings for foo\n       dogpile_cache.foo.backend = redis\n       dogpile_cache.foo.arguments.host = 127.0.0.1\n       dogpile_cache.foo.arguments.port = 6379\n       dogpile_cache.foo.arguments.db = 0\n       dogpile_cache.foo.arguments.redis_expiration_time = 7200\n       dogpile_cache.foo.arguments.distributed_lock = 1\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoriyoshi%2Fpyramid_dogpile_cache","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmoriyoshi%2Fpyramid_dogpile_cache","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoriyoshi%2Fpyramid_dogpile_cache/lists"}