{"id":15297427,"url":"https://github.com/alimghmi/pyhera","last_synced_at":"2026-01-30T19:32:35.160Z","repository":{"id":57456009,"uuid":"254926371","full_name":"alimghmi/pyhera","owner":"alimghmi","description":"pyhera is an optimized in-memory database","archived":false,"fork":false,"pushed_at":"2021-05-09T15:37:40.000Z","size":57,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-22T19:54:14.682Z","etag":null,"topics":["database","database-management","dbms","dbms-engine","hera","heradb","jsondb","key-value-database","key-value-store","multithreading","nosql","nosql-databases","pyhera","pyhera-db","pyheradb","python","python-database","python2","python3"],"latest_commit_sha":null,"homepage":"","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/alimghmi.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}},"created_at":"2020-04-11T18:06:50.000Z","updated_at":"2023-05-24T12:41:31.000Z","dependencies_parsed_at":"2022-09-02T07:10:29.986Z","dependency_job_id":null,"html_url":"https://github.com/alimghmi/pyhera","commit_stats":null,"previous_names":["lstil/pyhera"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/alimghmi/pyhera","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alimghmi%2Fpyhera","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alimghmi%2Fpyhera/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alimghmi%2Fpyhera/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alimghmi%2Fpyhera/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alimghmi","download_url":"https://codeload.github.com/alimghmi/pyhera/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alimghmi%2Fpyhera/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28918220,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-30T19:10:10.838Z","status":"ssl_error","status_checked_at":"2026-01-30T19:06:40.573Z","response_time":66,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["database","database-management","dbms","dbms-engine","hera","heradb","jsondb","key-value-database","key-value-store","multithreading","nosql","nosql-databases","pyhera","pyhera-db","pyheradb","python","python-database","python2","python3"],"created_at":"2024-09-30T19:17:26.731Z","updated_at":"2026-01-30T19:32:35.145Z","avatar_url":"https://github.com/alimghmi.png","language":"Python","readme":"![banner](https://github.com/lstil/pyhera/raw/master/banner.jpg)\n\n![license](https://img.shields.io/github/license/lstil/pyhera) ![issues](https://img.shields.io/github/issues/lstil/pyhera)\n# pyhera\n\n## Introduction\n\u003e**pyhera** is a lightweight in-memory database management module written in python. An optimized NoSQL database which is fast. Data are stored in JSON format (key-value) thus created databases can be analyzed by other applications in different platforms.\n\n## Features\n* Ease of use. **No complicated syntax**\n* Fast because of **multithreading implementation**\n* It's secure. **Database is not modifiable from outside** \n* Reliable. **pyhera automatically takes back-up**\n\n## Easy Installition\n```\npip install pyhera\n```\n\n## Quick start\nA very basic instance:\n```python\nimport pyhera # Import pyhera module\n\nh = pyhera.Pool('mydb') # Create database object\n\nh.set('foo', 'bar') \nresult = h.get('foo') \n\nprint(result) # Print 'bar'\n```\nTo use it in temp mode:\n```python\nimport pyhera\n\nt = pyhera.Pool('mydb', temp=True) # Create temp database object\n\nh.lmls('foo', [1, 2, 3]) # Won't be saved in database file\nresult = h.lret('foo') # Only stored in memory\n\nprint(result) # Print '[1, 2, 3]'\n```\n## Code samples\nTo compare X and pyhera:\n```python\n#X (a key-value series database)\n\nr = connection()\n\nr.dset('foo', 'bar1', 1)\nr.dset('foo', 'bar2', 2)\nr.dset('foo', 'bar3', 3)\nd1 = r.dget('foo', 'bar1')\nd2 = r.dget('foo', 'bar2')\nd3 = r.dget('foo', 'bar3')\n\nprint(d1 + d2 + d3) # 6\n\n#pyhera (Above method is also possible in pyhera)\n\nh = pyhera.Pool('mydb')\n\nh.dmls('foo', {\n  'bar1': 1,\n  'bar2': 2,\n  'bar3': 3\n})\n\nd, sum = h.dmlg('foo'), 0\nfor k, v in d.items():\n  sum += v\n \nprint(sum) # 6\n```\n## Documentation\n\u003e Documentation of pyhera project will be released as soon as possible. \n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falimghmi%2Fpyhera","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falimghmi%2Fpyhera","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falimghmi%2Fpyhera/lists"}