{"id":25269945,"url":"https://github.com/aymenjd/kvsqlite","last_synced_at":"2026-04-09T10:04:12.386Z","repository":{"id":65789613,"uuid":"598921599","full_name":"AYMENJD/Kvsqlite","owner":"AYMENJD","description":"Easy-to-use key value database backed by SQLite.","archived":false,"fork":false,"pushed_at":"2024-09-07T10:17:28.000Z","size":72,"stargazers_count":15,"open_issues_count":3,"forks_count":5,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-12-15T06:18:39.819Z","etag":null,"topics":["asyncio","database","easy-to-use","key-value-database","pypi","python","python3","redis","sqlite3"],"latest_commit_sha":null,"homepage":"https://kvsqlite.rtfd.io","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AYMENJD.png","metadata":{"files":{"readme":"README.md","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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-02-08T04:19:40.000Z","updated_at":"2024-11-14T22:08:04.000Z","dependencies_parsed_at":"2024-05-22T11:52:54.547Z","dependency_job_id":"3b8f4a32-69db-4efb-823c-36113bd6839b","html_url":"https://github.com/AYMENJD/Kvsqlite","commit_stats":{"total_commits":37,"total_committers":1,"mean_commits":37.0,"dds":0.0,"last_synced_commit":"c72e6c8c6afa5abd3f064f12ccdef80353bffd8b"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AYMENJD%2FKvsqlite","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AYMENJD%2FKvsqlite/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AYMENJD%2FKvsqlite/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AYMENJD%2FKvsqlite/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AYMENJD","download_url":"https://codeload.github.com/AYMENJD/Kvsqlite/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238463124,"owners_count":19476647,"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":["asyncio","database","easy-to-use","key-value-database","pypi","python","python3","redis","sqlite3"],"created_at":"2025-02-12T11:28:03.132Z","updated_at":"2025-10-06T08:38:59.458Z","avatar_url":"https://github.com/AYMENJD.png","language":"Python","readme":"# Kvsqlite [![version](https://img.shields.io/pypi/v/Kvsqlite?style=flat\u0026logo=pypi)](https://pypi.org/project/Kvsqlite) [![Downloads](https://static.pepy.tech/personalized-badge/Kvsqlite?period=month\u0026units=none\u0026left_color=grey\u0026right_color=brightgreen\u0026left_text=Downloads)](https://pepy.tech/project/Kvsqlite)\n\nEasy, Simple and powerful key-value database backed by sqlite3.\n\n### Features\n\n- Fast and easy-to-use database\n- Simultaneously **asynchronous** or **synchronous** calls\n- Store any data supported by [**pickle**](https://docs.python.org/3/library/pickle.html)\n\n### Requirements\n\n- Python3.8+\n\n### Installation\n\n```bash\npip install kvsqlite\n```\n\nFrom github (dev version)\n\n```bash\npip install git+https://github.com/AYMENJD/Kvsqlite\n```\n\n### Documentation\n\n[Kvsqlite](https://github.com/AYMENJD/Kvsqlite) documentation available at [kvsqlite.rtfd.io](https://kvsqlite.rtfd.io/).\n\n### Usage\n\n```python\nfrom kvsqlite import Client # For sync version do: from kvsqlite.sync import Client\nimport asyncio\n\nasync def main():\n    async with Client(\"kv.sqlite\") as db:\n\n        key = \"123-456-789\"\n        result = await db.set(key, \"Hello world. Bye!\")\n\n        if await db.exists(key):\n            get_key = await db.get(key)\n\n            print(get_key) # Hello world. Bye!\n\n            await db.delete(key)\n\n            await db.setex(key, 60, \"This key has a lifetime of 60 seconds\")\n\n            print(await db.get(key))\n        else:\n            print(\"Key not found\", result)\n\n\nasyncio.run(main())\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faymenjd%2Fkvsqlite","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faymenjd%2Fkvsqlite","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faymenjd%2Fkvsqlite/lists"}