{"id":29288815,"url":"https://github.com/ebertti/lesscache","last_synced_at":"2025-07-06T03:12:52.683Z","repository":{"id":49684028,"uuid":"157769457","full_name":"ebertti/lesscache","owner":"ebertti","description":"Serverless cache backend for Django and Flask [WIP]","archived":false,"fork":false,"pushed_at":"2022-12-08T01:21:15.000Z","size":161,"stargazers_count":4,"open_issues_count":9,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-25T12:05:18.562Z","etag":null,"topics":["cache","django","dynamodb","flask","serverless"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/lesscache","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/ebertti.png","metadata":{"files":{"readme":"README.rst","changelog":null,"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":"2018-11-15T20:36:06.000Z","updated_at":"2020-02-16T16:40:51.000Z","dependencies_parsed_at":"2023-01-24T07:30:56.455Z","dependency_job_id":null,"html_url":"https://github.com/ebertti/lesscache","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ebertti/lesscache","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ebertti%2Flesscache","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ebertti%2Flesscache/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ebertti%2Flesscache/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ebertti%2Flesscache/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ebertti","download_url":"https://codeload.github.com/ebertti/lesscache/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ebertti%2Flesscache/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263841797,"owners_count":23518497,"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":["cache","django","dynamodb","flask","serverless"],"created_at":"2025-07-06T03:12:43.428Z","updated_at":"2025-07-06T03:12:52.673Z","avatar_url":"https://github.com/ebertti.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"LessCache\n=========\n\nServerless cache backend for Django and Flask\n\nWorking with: AWS Dynamodb\n\n\n.. image:: https://badges.gitter.im/Join%20Chat.svg\n  :alt: Join the chat at https://gitter.im/ebertti/lesscache\n  :target: https://gitter.im/ebertti/lesscache?utm_source=badge\u0026utm_medium=badge\u0026utm_campaign=pr-badge\u0026utm_content=badge\n\n.. image:: https://img.shields.io/badge/django-1.11%202.0%202.1-brightgreen.svg\n  :target: http://pypi.python.org/pypi/lesscache\n\n.. image:: https://img.shields.io/pypi/v/lesscache.svg?style=flat\n  :target: http://pypi.python.org/pypi/lesscache\n\n.. image:: https://img.shields.io/pypi/pyversions/lesscache.svg?maxAge=2592000\n  :target: http://pypi.python.org/pypi/lesscache\n\n.. image:: https://img.shields.io/pypi/format/lesscache.svg?maxAge=2592000\n  :target: http://pypi.python.org/pypi/lesscache\n\n.. image:: https://img.shields.io/pypi/status/lesscache.svg?maxAge=2592000\n  :target: http://pypi.python.org/pypi/lesscache\n\n.. image:: https://img.shields.io/travis/ebertti/lesscache/master.svg?maxAge=2592000\n  :target: https://travis-ci.org/ebertti/lesscache\n  \n.. image:: https://img.shields.io/requires/github/ebertti/lesscache.svg?maxAge=2592000\n  :target: https://requires.io/github/ebertti/lesscache/requirements/\n\n.. image:: https://img.shields.io/coveralls/ebertti/lesscache/master.svg?maxAge=2592000\n  :target: https://coveralls.io/r/ebertti/lesscache?branch=master\n  \n.. image:: https://img.shields.io/codeclimate/github/ebertti/lesscache.svg\n  :target: https://codeclimate.com/github/ebertti/lesscache\n\n\nInstallation\n------------\n\n**pip**\n\n``pip install lesscache``\n    \n**pipenv**\n\n``pipenv install lesscache``\n\nSetup on Django\n---------------\n\nOn Django Settings\n\n.. code-block:: python\n\n    instaled_apps = [\n        ...\n        'lesscache.compact.django'\n    ]\n\n    CACHES = {\n        'default': {\n            'BACKEND': 'lesscache.compact.django.cache.DjangoCacheDynamodb',\n            'TIMEOUT': 120  # default 120 seconds == 2minutes\n            'KEY_PREFIX': 'less'  # default less\n            'VERSION': 1  # default 1\n            'KEY_FUNCTION': 'path.to.function' # f'{prefix}:{key}:{version}'\n\n            'OPTIONS': {\n                'aws_access_key_id': None       # need only if you dont have login\n                'aws_secret_access_key': None   # on aws-cli with your key\n                'aws_region_name': None         # or not in aws lambda\n\n                'read_capacity_units': 1\n                'write_capacity_units': 1\n                'encode': 'path.to.encode'  # default: 'lesscache.encode.PickleEncode\n            }\n        }\n    }\n\n\nRun manage command to create cache table on Dynamodb before using\n\n``python manage.py create_dynamodb_cache``\n\nSetup on Flask\n--------------\n\n**WIP**\n\n\nHow to contribute\n-----------------\n\n**WIP**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Febertti%2Flesscache","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Febertti%2Flesscache","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Febertti%2Flesscache/lists"}