{"id":15372311,"url":"https://github.com/reorx/litekv","last_synced_at":"2026-02-25T10:34:04.187Z","repository":{"id":16845383,"uuid":"19605167","full_name":"reorx/litekv","owner":"reorx","description":"Simple kv store for Python","archived":false,"fork":false,"pushed_at":"2021-01-06T12:50:13.000Z","size":4,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-23T08:22:20.563Z","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/reorx.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":"2014-05-09T08:58:04.000Z","updated_at":"2021-03-04T22:27:13.000Z","dependencies_parsed_at":"2022-07-26T10:48:55.363Z","dependency_job_id":null,"html_url":"https://github.com/reorx/litekv","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/reorx%2Flitekv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reorx%2Flitekv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reorx%2Flitekv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reorx%2Flitekv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/reorx","download_url":"https://codeload.github.com/reorx/litekv/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245797575,"owners_count":20673886,"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:50:12.011Z","updated_at":"2026-02-25T10:33:59.136Z","avatar_url":"https://github.com/reorx.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"LiteKV - redis-like wrapper for sqlite3\n=======================================\n\nLiteKV is a wrapper for sqlite3, it turns sqlite3 into a kv data store,\nand has similar APIs with redis-py.\n\nSimply execute ``python -m litekv`` (if you have installed it) or ``python litekv.py`` to run doctest.\n\n\nInstallation\n------------\n\n::\n\n    pip install litekv\n\n\nUsage\n-----\n\n.. code:: python\n\n    \u003e\u003e\u003e db = LiteKV(reset=True)\n    \u003e\u003e\u003e db.set('a', '1')\n    \u003e\u003e\u003e db.get('a')\n    '1'\n    \u003e\u003e\u003e db.set('a', '2')\n    \u003e\u003e\u003e db.get('a')\n    '2'\n    \u003e\u003e\u003e db.set('b', '3')\n    \u003e\u003e\u003e list(db.keys())\n    ['a', 'b']\n    \u003e\u003e\u003e db.delete('a')\n    \u003e\u003e\u003e db.get('a') is None\n    True\n\n\nBenchmark\n---------\n\n::\n\n    $ python -m litekv --benchmark\n    With rowid\n    Do 10000 inserts \u0026 reads\n    1215.88587897 Insertion per second\n    18041.2587533 Reads per second\n\n    Without rowid\n    Do 10000 inserts \u0026 reads\n    1182.05950852 Insertion per second\n    17828.1725067 Reads per second\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freorx%2Flitekv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Freorx%2Flitekv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freorx%2Flitekv/lists"}