{"id":14483246,"url":"https://github.com/limpyd/redis-limpyd","last_synced_at":"2025-08-30T03:33:45.984Z","repository":{"id":2583880,"uuid":"3565037","full_name":"limpyd/redis-limpyd","owner":"limpyd","description":"Provide an easy way to store python objects in Redis, without losing the power and the control of the Redis API","archived":false,"fork":false,"pushed_at":"2020-05-05T09:24:05.000Z","size":1367,"stargazers_count":72,"open_issues_count":8,"forks_count":11,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-12-04T02:46:25.651Z","etag":null,"topics":["orm","python","redis"],"latest_commit_sha":null,"homepage":"https://redis-limpyd.readthedocs.org/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"wtfpl","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/limpyd.png","metadata":{"files":{"readme":"README.rst","changelog":"CHANGELOG.rst","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-02-27T21:29:56.000Z","updated_at":"2024-01-19T10:22:52.000Z","dependencies_parsed_at":"2022-09-07T10:42:05.039Z","dependency_job_id":null,"html_url":"https://github.com/limpyd/redis-limpyd","commit_stats":null,"previous_names":[],"tags_count":18,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/limpyd%2Fredis-limpyd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/limpyd%2Fredis-limpyd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/limpyd%2Fredis-limpyd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/limpyd%2Fredis-limpyd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/limpyd","download_url":"https://codeload.github.com/limpyd/redis-limpyd/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":231438919,"owners_count":18376823,"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":["orm","python","redis"],"created_at":"2024-09-03T00:01:38.777Z","updated_at":"2024-12-27T04:31:06.216Z","avatar_url":"https://github.com/limpyd.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"|PyPI Version| |Build Status| |Doc Status|\n\n======\nLimpyd\n======\n\n``Limpyd`` provides an **easy** way to store objects in Redis_, **without losing the power and the control of the Redis API**, in a *limpid* way, with just as abstraction as needed.\n\nFeaturing:\n\n- Don't care about keys, ``limpyd`` do it for you\n- Retrieve objects from some of their attributes\n- Retrieve objects collection\n- CRUD abstraction\n- Powerful indexing and filtering\n- Keep the power of all the `Redis data types \u003chttp://redis.io/topics/data-types\u003e`_ in your own code\n\nExample of configuration:\n\n.. code:: python\n\n    from limpyd import model\n\n    main_database = model.RedisDatabase(\n        host=\"localhost\",\n        port=6379,\n        db=0\n    )\n\n    class Bike(model.RedisModel):\n\n        database = main_database\n\n        name = model.InstanceHashField(indexable=True, unique=True)\n        color = model.InstanceHashField()\n        wheels = model.StringField(default=2)\n\n\nSo you can use it like this:\n\n.. code:: python\n\n    \u003e\u003e\u003e mountainbike = Bike(name=\"mountainbike\")\n    \u003e\u003e\u003e mountainbike.wheels.get()\n    '2'\n    \u003e\u003e\u003e mountainbike.wheels.incr()\n    \u003e\u003e\u003e mountainbike.wheels.get()\n    '3'\n    \u003e\u003e\u003e mountainbike.name.set(\"tricycle\")\n    \u003e\u003e\u003e tricycle = Bike.collection(name=\"tricycle\")[0]\n    \u003e\u003e\u003e tricycle.wheels.get()\n    '3'\n    \u003e\u003e\u003e tricycle.hmset(color=\"blue\")\n    True\n    \u003e\u003e\u003e tricycle.hmget('color')\n    ['blue']\n    \u003e\u003e\u003e tricycle.hmget('color', 'name')\n    ['blue', 'tricycle']\n    \u003e\u003e\u003e tricycle.color.hget()\n    'blue'\n    \u003e\u003e\u003e tricycle.color.hset('yellow')\n    True\n    \u003e\u003e\u003e tricycle.hmget('color')\n    ['yellow']\n\n\nInstall\n=======\n\nPython versions ``2.7`` and ``3.5`` to ``3.8`` are supported (CPython and PyPy).\n\nRedis-py_ versions ``\u003e= 3`` are supported, with redis-server versions ``\u003e= 3``.\n\n.. code:: bash\n\n    pip install redis-limpyd\n\nFor Redis-py_ versions \u003c 3, please use limpyd version ``1.3.1`` (or later in ``1.x`` versions)\n\nDocumentation\n=============\n\nSee https://redis-limpyd.readthedocs.io/ for a full documentation\n\nChangelog\n=========\n\nSee `CHANGELOG.rst \u003cCHANGELOG.rst\u003e`_\n\nMaintainers\n===========\n\n* `Stéphane «Twidi» Angel \u003chttps://github.com/twidi/\u003e`_\n* `Yohan Boniface \u003chttps://github.com/yohanboniface/\u003e`_\n\n\nExtensions\n==========\n\n* A bundle of great extensions: `Limpyd-extensions \u003chttps://github.com/limpyd/redis-limpyd-extensions\u003e`_\n* A queue/task/job manager: `Limpyd-jobs \u003chttps://github.com/limpyd/redis-limpyd-jobs\u003e`_\n\n.. |PyPI Version| image:: https://img.shields.io/pypi/v/redis-limpyd.png\n   :target: https://pypi.python.org/pypi/redis-limpyd\n.. |Build Status| image:: https://travis-ci.org/limpyd/redis-limpyd.png?branch=master\n   :target: https://travis-ci.org/limpyd/redis-limpyd\n.. |Doc Status| image:: https://readthedocs.org/projects/redis-limpyd/badge/\n   :target: http://redis-limpyd.readthedocs.io/en/latest/\n.. _Redis: http://redis.io\n.. _Redis-py: https://github.com/andymccurdy/redis-py\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flimpyd%2Fredis-limpyd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flimpyd%2Fredis-limpyd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flimpyd%2Fredis-limpyd/lists"}