{"id":15374142,"url":"https://github.com/io-developer/py-blockdiff","last_synced_at":"2026-06-07T22:33:19.268Z","repository":{"id":79581202,"uuid":"137953755","full_name":"io-developer/py-blockdiff","owner":"io-developer","description":"Fast fixed-size snapshot diff and incremental backup","archived":false,"fork":false,"pushed_at":"2018-06-20T19:31:11.000Z","size":12,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-28T05:37:23.528Z","etag":null,"topics":["backup","efficient","fast","incremental","snapshot"],"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/io-developer.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}},"created_at":"2018-06-19T22:51:59.000Z","updated_at":"2020-03-20T14:10:56.000Z","dependencies_parsed_at":"2023-06-25T19:49:21.216Z","dependency_job_id":null,"html_url":"https://github.com/io-developer/py-blockdiff","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/io-developer/py-blockdiff","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/io-developer%2Fpy-blockdiff","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/io-developer%2Fpy-blockdiff/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/io-developer%2Fpy-blockdiff/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/io-developer%2Fpy-blockdiff/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/io-developer","download_url":"https://codeload.github.com/io-developer/py-blockdiff/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/io-developer%2Fpy-blockdiff/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34041087,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-07T02:00:07.652Z","response_time":124,"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":["backup","efficient","fast","incremental","snapshot"],"created_at":"2024-10-01T13:57:24.548Z","updated_at":"2026-06-07T22:33:19.239Z","avatar_url":"https://github.com/io-developer.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Blockdiff\nFast fixed-size snapshot diff and writer / incremental backup. One pass for input read and on-fly diff + output\n\n## Install\nRequired python 3.6 or higher\n\n## Usage\nSuppose exists two snaphots A and B with the same size. You have to determine which blocks are changed from A to B.\n\nLets output first level to .tar with 128 bytes per block resolution. Block-map we will save to 'files/level1.blockmap':\n```bash\nblockdiff-cli -f files/1.txt -m tar -d files/level1.tar -bs 128 --output-map files/level1.blockmap --verbose 1\n\u003e\n\u003e +++++++++++++++++++++\n\u003e\n\u003e Total stats:   100.0%      0.0 MB/s\n```\n\nNow we can compare snapshot B with A and write to 'files/level2.tar' only changed blocks. Updated block-map will be saved to 'files/.blockmap'\n```bash\nblockdiff-cli -f files/2.txt -m tar -d files/level2.tar -bs 128 --input-map files/level1.blockmap --output-map files/.blockmap --verbose 1\n\u003e\n\u003e .........+.........+.\n\u003e \n\u003e Total stats:   100.0%      0.0 MB/s\n```\n\nAnd so on with short syntax in quiet mode:\n```bash\nblockdiff-cli -f files/3.txt -m tar -d files/level3.tar -bs 128 -bm files/.blockmap\n\u003e \n\u003e Total stats:   100.0%      0.0 MB/s\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fio-developer%2Fpy-blockdiff","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fio-developer%2Fpy-blockdiff","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fio-developer%2Fpy-blockdiff/lists"}