{"id":15009853,"url":"https://github.com/samuelcolvin/xdelta3-python","last_synced_at":"2025-10-03T19:30:23.116Z","repository":{"id":48389106,"uuid":"91194909","full_name":"samuelcolvin/xdelta3-python","owner":"samuelcolvin","description":"Fast delta encoding in python using xdelta3","archived":true,"fork":false,"pushed_at":"2021-10-28T19:17:14.000Z","size":33,"stargazers_count":37,"open_issues_count":10,"forks_count":17,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-09-20T12:41:33.059Z","etag":null,"topics":["c","delta-encoding","python","python3","rfc-3284","vcdiff","xdelta3"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/samuelcolvin.png","metadata":{"files":{"readme":"README.rst","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-05-13T18:28:39.000Z","updated_at":"2025-05-04T13:14:24.000Z","dependencies_parsed_at":"2022-08-25T08:52:32.226Z","dependency_job_id":null,"html_url":"https://github.com/samuelcolvin/xdelta3-python","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/samuelcolvin/xdelta3-python","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samuelcolvin%2Fxdelta3-python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samuelcolvin%2Fxdelta3-python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samuelcolvin%2Fxdelta3-python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samuelcolvin%2Fxdelta3-python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/samuelcolvin","download_url":"https://codeload.github.com/samuelcolvin/xdelta3-python/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samuelcolvin%2Fxdelta3-python/sbom","scorecard":{"id":798350,"data":{"date":"2025-08-11","repo":{"name":"github.com/samuelcolvin/xdelta3-python","commit":"3b7ddaa1f46a29aac16cdb1bf5b00d6afa79a832"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.4,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/21 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Maintained","score":0,"reason":"project is archived","details":["Warn: Repository is archived."],"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: pipCommand not pinned by hash: tests/build-wheels.sh:8","Info:   0 out of   1 pipCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"License","score":9,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Warn: project license file does not contain an FSF or OSI license."],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":7,"reason":"3 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: PYSEC-2021-140 / GHSA-9w8r-397f-prfh","Warn: Project is vulnerable to: PYSEC-2023-117 / GHSA-mrwq-x4v8-fh7p","Warn: Project is vulnerable to: PYSEC-2021-141 / GHSA-pq64-v7f5-gqh8"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-23T09:39:59.813Z","repository_id":48389106,"created_at":"2025-08-23T09:39:59.814Z","updated_at":"2025-08-23T09:39:59.814Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278217052,"owners_count":25950032,"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","status":"online","status_checked_at":"2025-10-03T02:00:06.070Z","response_time":53,"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":["c","delta-encoding","python","python3","rfc-3284","vcdiff","xdelta3"],"created_at":"2024-09-24T19:28:53.685Z","updated_at":"2025-10-03T19:30:22.836Z","avatar_url":"https://github.com/samuelcolvin.png","language":"Python","readme":"xdelta3-python\n==============\n\n|BuildStatus| |Coverage| |pypi|\n\nFast delta encoding in python using xdelta3.\n\nRequirements\n------------\n\n* **Python 3.5 or 3.6** - it's 2017, you should be using python 3.6 by now anyway.\n* **linux** - compilation only tested on ubuntu, might work on other platform.\n\nInstallation\n------------\n\n.. code:: shell\n\n    pip install xdelta3\n\nUsage\n-----\n\n.. code:: python\n\n    import xdelta3\n    value_one = b'wonderful string to demonstrate xdelta3, much of these two strings is the same.'\n    value_two = b'different string to demonstrate xdelta3, much of these two strings is the same.'\n    delta = xdelta3.encode(value_one, value_two)\n    # delta is an unreadable byte string: b'\\xd6\\xc3 ... \\x01different\\n\\x13F\\x00'\n\n    print(f'New string length: {len(value_two)}, delta length: {len(delta)}')\n    value_two_rebuilt = xdelta3.decode(value_one, delta)\n    if value_two_rebuilt == value_two:\n        print('Boo Ya! Delta encoding successful.')\n\n*(with xdelta3 installed this code should run \"as is\", just copy it into ipython or a file and run)*\n\nHow fast?\n---------\n\n*xdelta3-python* is a thin wrapper around `xdelta 3.1.1 \u003chttps://github.com/jmacd/xdelta/\u003e`_\nwhich is a highly optimised c library for delta calculation and compression.\nIt can encode a delta and decode it again for 5 small changes in a 5.5 million character string\n(the complete works of shakespeare) in around 10ms (or 30ms with the highest compression level). Boom.\nSee `performance.py \u003chttps://github.com/samuelcolvin/xdelta3-python/blob/master/performance.py\u003e`_.\n\n.. |BuildStatus| image:: https://travis-ci.org/samuelcolvin/xdelta3-python.svg?branch=master\n   :target: https://travis-ci.org/samuelcolvin/xdelta3-python\n.. |Coverage| image:: https://codecov.io/gh/samuelcolvin/xdelta3-python/branch/master/graph/badge.svg\n   :target: https://codecov.io/gh/samuelcolvin/xdelta3-python\n.. |pypi| image:: https://img.shields.io/pypi/v/xdelta3.svg\n   :target: https://pypi.python.org/pypi/xdelta3\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamuelcolvin%2Fxdelta3-python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsamuelcolvin%2Fxdelta3-python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamuelcolvin%2Fxdelta3-python/lists"}