{"id":45438697,"url":"https://github.com/fortmea/python-local-database","last_synced_at":"2026-02-22T03:34:17.329Z","repository":{"id":51605691,"uuid":"494217754","full_name":"fortmea/python-local-database","owner":"fortmea","description":"A python package made to simplify the use of json as a mean to organize and store data.","archived":false,"fork":false,"pushed_at":"2024-01-13T19:04:54.000Z","size":97,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-09-18T17:08:59.629Z","etag":null,"topics":["database","json","python3"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/pylocaldatabase/","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/fortmea.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":"2022-05-19T20:20:39.000Z","updated_at":"2022-08-05T01:18:19.000Z","dependencies_parsed_at":"2022-08-22T10:50:30.582Z","dependency_job_id":null,"html_url":"https://github.com/fortmea/python-local-database","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/fortmea/python-local-database","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fortmea%2Fpython-local-database","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fortmea%2Fpython-local-database/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fortmea%2Fpython-local-database/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fortmea%2Fpython-local-database/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fortmea","download_url":"https://codeload.github.com/fortmea/python-local-database/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fortmea%2Fpython-local-database/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29704416,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-22T03:17:42.375Z","status":"ssl_error","status_checked_at":"2026-02-22T03:17:31.622Z","response_time":110,"last_error":"SSL_read: 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","json","python3"],"created_at":"2026-02-22T03:34:16.927Z","updated_at":"2026-02-22T03:34:17.321Z","avatar_url":"https://github.com/fortmea.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Python Local Database\n![Logo Python Local Database](https://raw.githubusercontent.com/fortmea/python-local-database/main/images/logo.png)\n\nA python package made to simplify the use of json as a mean to organize and store data in python.\n[![Upload Python Package](https://github.com/fortmea/python-local-database/actions/workflows/release.yml/badge.svg)](https://github.com/fortmea/python-local-database/actions/workflows/release.yml)\n----------\n\n## Installation\n\nUse the package manager [pip](https://pip.pypa.io/en/stable/) to install Python Local Database.\n\n### Linux/macOS:\n```bash\npip install pylocaldatabase\n```\n\n### Windows:\n```bash\npy -m pip install pylocaldatabase\n```\n\nRelease history and file downloads can be found [on the project's pypi page](https://pypi.org/project/pylocaldatabase/).\n\n----\n\n## Usage\n\n```python\n\n# import library\nfrom pylocaldatabase import pylocaldatabase\n\n# define database file and assign databasecontroller instance to var dbcontroll\ndbcontroll = pylocaldatabase.databasecontroller(path=\"file.json\")\n\n# load data from file\ndbcontroll.load()\n\n# create database file 'file.json'\ndbcontroll.makeDatabase()\n\n# creating document \ndbcontroll.insertDocument({}, \"documentName\")\n\n# assigning document to a var\ndocument = dbcontroll.getDocument(\"documentName\")\n\n# inserting Item in the document\ndocument.insertItem(\"ItemName\", {\"Property\":\"Property Value\"})\n\n# reading Item data\nitemData = document.getItem(\"ItemName\").get()\n\n# assigning item to var\nitem = document.getItem(\"ItemName\")\n\n# inserting new property in Item\nitem.insertProperty(\"Property Name\", \"Property Value\")\n\n# removing property from item\nitem.removeProperty(\"Property Name\")\n\n# removing item from document \n\ndocument.removeItem(\"ItemName\")\n\n# save data \ndbcontroll.save()\n```\n## Examples\nExamples can be found [here](https://github.com/fortmea/python-local-database/tree/main/examples).\n\n## Cryptography\nAn example on how to use the built-in Cryptography functions, you can refer to [Example 2.](https://github.com/fortmea/python-local-database/blob/main/examples/example2.py)\n\n## Contributing\nPull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.\n\nPlease make sure to update tests as appropriate.\n\n## License\n[MIT](https://choosealicense.com/licenses/mit/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffortmea%2Fpython-local-database","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffortmea%2Fpython-local-database","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffortmea%2Fpython-local-database/lists"}