{"categories":[{"label":"Utilities","url":"https://skillfed.io/packages/category/utilities/6"}],"enrichment":{"capability":"bsdiff4 creates and applies binary patches in BSDIFF4 format, enabling efficient storage and transmission of differences between binary files or byte sequences.","skillfed_tags":["binary-diffing","patch-generation","compression"],"use_cases":["Generate compact update patches for software distribution, reducing bandwidth when delivering new versions.","Store incremental snapshots of binary files (e.g., disk images, database backups) to minimize storage overhead.","Implement version control or delta-sync systems for binary artifacts where diff-based storage saves significant space.","Transmit binary file changes over low-bandwidth connections by sending only the patch instead of the full file.","Create forensic or archival systems that track changes to binary data with minimal redundancy."],"what_it_does":"bsdiff4 is a Python wrapper around the BSDIFF4 binary diffing algorithm, allowing you to compute compact patches between binary files or byte sequences and apply those patches to reconstruct the target. It exposes both in-memory functions (diff/patch on byte strings) and file-level operations (file_diff, file_patch, file_patch_inplace), making it useful for scenarios where you need to minimize storage or transmission overhead when distributing updates or storing multiple versions of binary data.\n\nThe package is built on C code derived from the original BSD bsdiff utility and cx_bsdiff, compiled to native extensions for performance. It has no runtime dependencies and is actively maintained; prebuilt wheels cover a broad range of platforms and Python versions, keeping installation straightforward on most systems despite the compiled nature of the code.","worth_installing":"Yes. bsdiff4 is stable (Production/Stable status), actively maintained, has no vulnerabilities, and solves a specific and well-defined problem with no runtime dependencies. The medium install friction is mitigated by broad wheel availability. Install it if you need efficient binary diffing; skip it if you only work with text or don't need delta compression."},"id":"bsdiff4","links":{"html":"https://skillfed.io/packages/bsdiff4","md":"https://skillfed.io/packages/bsdiff4.md","pypi":"https://pypi.org/project/bsdiff4/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2025-02-19","license_spdx":null,"license_treatment":"permissive","name":"bsdiff4","python_support":"unspecified","summary":"binary diff and patch using the BSDIFF4-format"},"popularity":{"monthly_downloads":424483,"position":6765,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"1.2.6"}
