{"categories":[{"label":"Text Processing","url":"https://skillfed.io/packages/category/text-processing/3"}],"enrichment":{"capability":"Implements 3-way merge of text sequences, combining changes from two independent branches against a common base to produce a merged result with conflict markers.","skillfed_tags":["merge-algorithm","version-control","conflict-resolution"],"use_cases":["Implement merge logic in a custom version control or document collaboration tool","Resolve text conflicts when merging branches in a non-Git workflow","Build a three-way diff viewer that shows how changes from two sources combine","Automate merging of configuration or data files from multiple sources","Test merge behavior in applications that handle concurrent text edits"],"what_it_does":"merge3 is a pure-Python implementation of the 3-way merge algorithm used in version control systems. It takes three text sequences\u2014a common base and two independent modifications\u2014and produces a merged result that incorporates both changes. When changes conflict, it marks the conflicting regions with annotated conflict markers so you can see which branch contributed which lines.\n\nThe package works with sequences of lines (typically strings) rather than raw files, giving you control over how to split and process text. It can be used as a library from Python code or invoked as a command-line tool. With no external dependencies and support for modern Python versions, it's lightweight and straightforward to integrate into tools that need to resolve text merges programmatically.","worth_installing":"Yes, if you need 3-way merge logic and accept the GPL-2.0-or-later copyleft constraint. The package is actively maintained, has no dependencies, and works across modern Python versions. It's a solid choice for tools that must resolve text conflicts programmatically. No if your project cannot adopt copyleft licensing."},"id":"merge3","links":{"html":"https://skillfed.io/packages/merge3","md":"https://skillfed.io/packages/merge3.md","pypi":"https://pypi.org/project/merge3/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2025-10-15","license_spdx":"GPL-2.0-or-later","license_treatment":"copyleft","name":"merge3","python_support":"supports_current","summary":"Python implementation of 3-way merge"},"popularity":{"monthly_downloads":90017,"position":13621,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.0.16"}
