Name | compare-pdf JSON |
Version |
0.2
JSON |
| download |
home_page | None |
Summary | A simple package to visually compare PDF files |
upload_time | 2024-03-28 20:42:25 |
maintainer | None |
docs_url | None |
author | Mor Dabastany |
requires_python | None |
license | None |
keywords |
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
PDF Visual Comparison Tool
==========================
This utility compares PDF files visually by converting each page into images and then comparing them using OpenCV.
It's particularly useful for identifying differences between PDF files that may not be apparent through text comparison alone.
Features
--------
* Compares PDF files visually, page by page.
* Supports multi-page PDF files.
* Reports differences between PDF files, specifying the page number and source file.
Requirements
------------
* Python 3.x
* PyMuPDF (`fitz`) library
* OpenCV (`cv2`) library
Installation
------------
1. Clone the repository:
`git clone https://github.com/Formartha/compare-pdf.git`
2. Install the required dependencies:
`pip install pymupdf opencv-python`
Usage
-----
`compare_pdf --pdf <path_to_pdf1> --pdf <path_to_pdf2> ...`
* Replace `<path_to_pdf1>`, `<path_to_pdf2>`, etc. with the paths to the PDF files you want to compare.
* At least two PDF files are required for comparison.
Example
-------
`compare_pdf --pdf file1.pdf --pdf file2.pdf`
This will compare `full/path/to/file1.pdf` and `full/path/to/file2.pdf` visually, reporting any differences found.
License
-------
This project is licensed under the MIT License - see the LICENSE file for details.
Raw data
{
"_id": null,
"home_page": null,
"name": "compare-pdf",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": null,
"author": "Mor Dabastany",
"author_email": "morpci@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/32/00/3200038adc6b613967ca40792d1303129bf7b75605ada4475b745087b724/compare_pdf-0.2.tar.gz",
"platform": null,
"description": "PDF Visual Comparison Tool\n==========================\nThis utility compares PDF files visually by converting each page into images and then comparing them using OpenCV.\nIt's particularly useful for identifying differences between PDF files that may not be apparent through text comparison alone.\n\nFeatures\n--------\n* Compares PDF files visually, page by page.\n* Supports multi-page PDF files.\n* Reports differences between PDF files, specifying the page number and source file.\n\nRequirements\n------------\n* Python 3.x\n* PyMuPDF (`fitz`) library\n* OpenCV (`cv2`) library\n\nInstallation\n------------\n1. Clone the repository:\n \n `git clone https://github.com/Formartha/compare-pdf.git`\n \n\n2. Install the required dependencies:\n \n `pip install pymupdf opencv-python`\n \n\nUsage\n-----\n\n`compare_pdf --pdf <path_to_pdf1> --pdf <path_to_pdf2> ...`\n\n* Replace `<path_to_pdf1>`, `<path_to_pdf2>`, etc. with the paths to the PDF files you want to compare.\n* At least two PDF files are required for comparison.\n\nExample\n-------\n`compare_pdf --pdf file1.pdf --pdf file2.pdf`\n\nThis will compare `full/path/to/file1.pdf` and `full/path/to/file2.pdf` visually, reporting any differences found.\n\nLicense\n-------\nThis project is licensed under the MIT License - see the LICENSE file for details.\n\n",
"bugtrack_url": null,
"license": null,
"summary": "A simple package to visually compare PDF files",
"version": "0.2",
"project_urls": null,
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "a5aab8afbd6ee6db6ccbd70358d075cd815cd7e6f008190916aa3338bed3ce48",
"md5": "9de12a8ea62ce0d27d904ec871392e58",
"sha256": "083cd1f09bed83ae18a5cb2eddd85f5b0b8b4a20581f4c12c30b734616261a3b"
},
"downloads": -1,
"filename": "compare_pdf-0.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "9de12a8ea62ce0d27d904ec871392e58",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 4242,
"upload_time": "2024-03-28T20:42:24",
"upload_time_iso_8601": "2024-03-28T20:42:24.879939Z",
"url": "https://files.pythonhosted.org/packages/a5/aa/b8afbd6ee6db6ccbd70358d075cd815cd7e6f008190916aa3338bed3ce48/compare_pdf-0.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "32003200038adc6b613967ca40792d1303129bf7b75605ada4475b745087b724",
"md5": "8d0f785ee9f40bd944e8c1897cecbc61",
"sha256": "691fee00ad0a43d8829812b790fb8d7a41ad960356fc5fed72475169153750e8"
},
"downloads": -1,
"filename": "compare_pdf-0.2.tar.gz",
"has_sig": false,
"md5_digest": "8d0f785ee9f40bd944e8c1897cecbc61",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 3649,
"upload_time": "2024-03-28T20:42:25",
"upload_time_iso_8601": "2024-03-28T20:42:25.813641Z",
"url": "https://files.pythonhosted.org/packages/32/00/3200038adc6b613967ca40792d1303129bf7b75605ada4475b745087b724/compare_pdf-0.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-03-28 20:42:25",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "compare-pdf"
}