{"id":28216648,"url":"https://github.com/ae-foster/rdbgenerate","last_synced_at":"2026-04-12T02:35:45.654Z","repository":{"id":57460309,"uuid":"98047763","full_name":"ae-foster/rdbgenerate","owner":"ae-foster","description":"Utility for generating Redis dump (.rdb) files from Python native objects","archived":false,"fork":false,"pushed_at":"2025-05-23T07:35:43.000Z","size":25,"stargazers_count":1,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-01T04:48:15.314Z","etag":null,"topics":["databases","encoding","rdb","redis"],"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/ae-foster.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":"2017-07-22T17:38:10.000Z","updated_at":"2019-06-04T21:42:32.000Z","dependencies_parsed_at":"2022-09-01T20:22:11.379Z","dependency_job_id":null,"html_url":"https://github.com/ae-foster/rdbgenerate","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/ae-foster/rdbgenerate","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ae-foster%2Frdbgenerate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ae-foster%2Frdbgenerate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ae-foster%2Frdbgenerate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ae-foster%2Frdbgenerate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ae-foster","download_url":"https://codeload.github.com/ae-foster/rdbgenerate/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ae-foster%2Frdbgenerate/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31702580,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-11T21:17:31.016Z","status":"online","status_checked_at":"2026-04-12T02:00:06.763Z","response_time":58,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["databases","encoding","rdb","redis"],"created_at":"2025-05-17T23:13:21.337Z","updated_at":"2026-04-12T02:35:45.626Z","avatar_url":"https://github.com/ae-foster.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# rdbgenerate\nUtility for generating Redis dump (.rdb) files from Python native objects\n\n## Installation\nYou can install this package using `pip`\n\n    pip install rdbgenerate\n\n## Version support\n`rdbgenerate` is written for Python 3.\n\n## Generated `.rdb` files\nThe `.rdb` files generated by `rdbgenerate`:\n - do not use compression to reduce size, unlike Redis itself which uses\n   smart encoding formats to keep file size down\n - do not include auxiliary information such as database size hints,\n   additional version information, etc.\n\n## Usage\nOnce installed, use `rdb_generate` to write `.rdb` files.\n\n    $ python\n    \u003e\u003e\u003e from rdbgenerate import rdb_generate\n    \u003e\u003e\u003e rdb_generate(\n            'dump.rdb',\n            db0={\n                b\"a\": b\"0\",\n                b\"b\": {b\"1\"},\n                b\"c\": [b\"1\", b\"2\", b\"3\"],\n                b\"d\": {b\"x\": b\"y\"}\n            },\n            db1={\n                b\"California\": b\"dreamin'\"\n            }\n        )\n    \u003e\u003e\u003e quit()\n    $ redis-server\n\n\n### Encodings\nThis package supports strings that are Python `bytes` objects. It does *not* support regular Python strings.\nPython strings can be converted to `bytes` via\n\n    \u003e\u003e\u003e s = \"California\"\n    \u003e\u003e\u003e b = s.encode('utf8')\n    \u003e\u003e\u003e print(b)\n    b\"California\"\n    \nFor more information on string encoding in Python 3, see https://docs.python.org/3/howto/unicode.html .\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fae-foster%2Frdbgenerate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fae-foster%2Frdbgenerate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fae-foster%2Frdbgenerate/lists"}