{"id":19909190,"url":"https://github.com/ignema/docx-compare","last_synced_at":"2025-09-19T01:32:59.738Z","repository":{"id":224281739,"uuid":"762884159","full_name":"Ignema/docx-compare","owner":"Ignema","description":"Simple and quick method to compare two Microsoft Word documents","archived":false,"fork":false,"pushed_at":"2024-02-25T00:54:35.000Z","size":127,"stargazers_count":12,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-11-12T21:14:34.170Z","etag":null,"topics":["git-diff","python-docx","python3"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Ignema.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2024-02-25T00:27:54.000Z","updated_at":"2024-10-31T07:11:32.000Z","dependencies_parsed_at":"2024-02-25T02:51:50.769Z","dependency_job_id":null,"html_url":"https://github.com/Ignema/docx-compare","commit_stats":null,"previous_names":["ignema/docx-compare"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ignema%2Fdocx-compare","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ignema%2Fdocx-compare/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ignema%2Fdocx-compare/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ignema%2Fdocx-compare/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Ignema","download_url":"https://codeload.github.com/Ignema/docx-compare/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":233543021,"owners_count":18691761,"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","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":["git-diff","python-docx","python3"],"created_at":"2024-11-12T21:14:36.890Z","updated_at":"2025-09-19T01:32:54.398Z","avatar_url":"https://github.com/Ignema.png","language":"Python","readme":"# docx-compare 🔍\n\n## Overview\n\ndocx-compare is a Python script designed to facilitate the comparison of two Microsoft Word documents in a quick and straightforward manner. Leveraging the power of the `python-docx` library for parsing Word documents and Git's `git-diff` utility for comparison, this tool provides a simple yet effective means of identifying differences between two .docx files.\n\n## Features\n\n- **Easy Comparison**: Quickly compare two Microsoft Word documents.\n- **Detailed Diffing**: Identify differences at a granular level, including text changes, additions, and deletions.\n- **Git Integration**: Utilizes Git's `git-diff` for robust document comparison.\n- **Pythonic**: Written in Python, making it easily extensible and modifiable.\n- **Simple Usage**: Minimal setup and intuitive command-line interface.\n\n## Prerequisites\n\nBefore using docx-compare, ensure you have the following installed:\n\n- Python 3.x\n- `python-docx` library\n- Git (for `git-diff`)\n\n## Installation\n\n1. Clone the repository:\n\n    ```bash\n    git clone https://github.com/your-username/docx-compare.git\n    ```\n\n2. Install the required dependencies:\n\n    ```bash\n    pip install -r requirements.txt\n    ```\n\n## Usage\n\nTo compare two Word documents, use the following command:\n\n```bash\npython compare.py path/to/document1.docx path/to/document2.docx\n```\n\nThis command will output a diff folder that contains the textual content of the two documents and two command files that will launch the comparison:\n\n```bash\n# Windows\ndiff/compare.bat\n\n# Linux or Mac\n. diff/compare.sh\n```\n\n## Example\n\n```bash\npython compare.py document_old.docx document_new.docx\ndiff/compare.bat\n```\n\nOutput:\n\n![Compare Output](extra/diff.png)\n\n\u003e Made with ❤️ by Ignema","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fignema%2Fdocx-compare","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fignema%2Fdocx-compare","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fignema%2Fdocx-compare/lists"}