{"id":15374496,"url":"https://github.com/lispython/oredis","last_synced_at":"2025-04-15T15:11:55.862Z","repository":{"id":1204489,"uuid":"1114114","full_name":"Lispython/oredis","owner":"Lispython","description":"Object-hash mapping library for Redis","archived":false,"fork":false,"pushed_at":"2012-11-23T08:53:44.000Z","size":116,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-15T15:11:51.482Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"collectiveidea/delayed_job","license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Lispython.png","metadata":{"files":{"readme":"README.rst","changelog":null,"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":"2010-11-26T09:09:13.000Z","updated_at":"2014-05-27T13:06:26.000Z","dependencies_parsed_at":"2022-08-16T12:35:14.813Z","dependency_job_id":null,"html_url":"https://github.com/Lispython/oredis","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lispython%2Foredis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lispython%2Foredis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lispython%2Foredis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lispython%2Foredis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Lispython","download_url":"https://codeload.github.com/Lispython/oredis/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249094932,"owners_count":21211837,"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-10-01T13:58:55.353Z","updated_at":"2025-04-15T15:11:55.845Z","avatar_url":"https://github.com/Lispython.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Object-hash mapping library for Redis.\n======================================\n\n.. image:: https://secure.travis-ci.org/Lispython/oredis.png\n\t   :target: https://secure.travis-ci.org/Lispython/oredis\n\nOredis is a library for storing objects in Redis, a persistent key-value database. It includes an extensible list of validations and has very good performance.\n\n\nHow to use\n----------\n\n.. code-block:: python\n\n    from oredis.models import Model\n    from oredis.manager import Manager\n    from oredis.fields import String, PrimaryKey, StringPK, Integer, DateTime\n\n    class NoteManager(Manager):\n        pass\n\n    class NoteModel(Model):\n        id = PrimaryKey()\n        title = String()\n        pk_hash = StringPK()\n        body = String(required = True)\n\n        objects = NoteManager(connection = redis.Redis())\n\n    In [19]: note1 = NoteModel(title = \"Hello world!\",\n        ....: body=\"I am currently engaged in teaching my brother to program.\n        He is a total beginner, but very smart. (And he actually wants to learn).\n        I've noticed that some of our sessions have gotten bogged down in minor details,\n        and I don't feel I've been very organized. (But the answers to this\n        post have helped a lot.)\")\n\n     In [20]: note1\n     Out[20]: \u003cNoteModel: 942\u003e\n\n     In [21]: note1.title\n     Out[21]: 'Hello world!'\n\n     In [22]: note1.title\n\n\n\nINSTALLATION\n------------\n\nTo use oredis  use pip or easy_install:\n\n`pip install oredis`\n\nor\n\n`easy_install oredis`\n\n\nCONTRIBUTE\n----------\n\nFork https://github.com/lispython/oredis/ , create commit and pull request.\n\n\nCredits\n-------\n\nThanks Alexander Solovyov for some concepts are taken from orem library.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flispython%2Foredis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flispython%2Foredis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flispython%2Foredis/lists"}