{"id":15655614,"url":"https://github.com/torxed/dictabase","last_synced_at":"2026-04-13T00:44:37.257Z","repository":{"id":150500699,"uuid":"154712237","full_name":"Torxed/dictabase","owner":"Torxed","description":"A dictionary, but also a \"database\".","archived":false,"fork":false,"pushed_at":"2020-10-29T09:18:50.000Z","size":22,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-25T16:55:06.922Z","etag":null,"topics":["database","dictionaries","linux","python"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Torxed.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":"2018-10-25T17:36:04.000Z","updated_at":"2019-10-03T10:41:13.000Z","dependencies_parsed_at":"2023-04-25T05:48:09.679Z","dependency_job_id":null,"html_url":"https://github.com/Torxed/dictabase","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/Torxed%2Fdictabase","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Torxed%2Fdictabase/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Torxed%2Fdictabase/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Torxed%2Fdictabase/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Torxed","download_url":"https://codeload.github.com/Torxed/dictabase/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245195908,"owners_count":20575936,"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":["database","dictionaries","linux","python"],"created_at":"2024-10-03T13:00:03.716Z","updated_at":"2026-04-13T00:44:37.226Z","avatar_url":"https://github.com/Torxed.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# dictabase\nA dictionary, but also a \"database\".\n\n## Usage\n\n### Starting the server\n\n\t[user@host]$ python dictabase.py\n\n### Using the dict that isn't a dict *(and also not recommended to any sane person)*:\n\nHere's a short example of how you would load the top level item called `players` from the *\"databas\"*.\nEverything stored in the *database* is virtually a dictionary, and choosing a top level item from it is required.\n\n```python\nfrom dictabase import dictabase as dict\n\n# Loads the \"players\" first level from the stash\nplayers = dict(\"players\") \nplayers[\"New Player\"][\"url\"] = \"http://homepage/avatar.png\"\n\nprint(players)\n```\n\nIf it isn't obvious, overriding `dict` is a pretty stupid idea.\nYou should also consider something like [MongoDB](https://github.com/mongodb/mongo) which is pretty stable and reliable. It also returns dict-ish types of results.\n\n## Final note\n\n```python\n    ## Duck typing\n    #    \"If it walks like a duck,\n    #     and it quacks like a duck,\n    #     then it must be a duck\"\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftorxed%2Fdictabase","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftorxed%2Fdictabase","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftorxed%2Fdictabase/lists"}