Git Product home page Git Product logo

pdf-difference-finder's Introduction

pdf-difference-finder

A PDF comparison utility in Python. Inspired from the work of https://github.com/JoshData/pdf-diff (provides a terminal command for finding the differences between two pdfs).The above python snippet will help you in identifying the differences between two pdfs irrespective of the number of pages in it and to run it as a python method or as an API.The config.py helps you in changing the style of the output file, including color, file format and the markers for denoting the changes eg: box or strike. Two sample files is also provided for testing the code snippet.

How to use the snippet ?

Fork or Clone the repository.

Install the required packages

  • pip install -r requirements.txt

To run the snippet as a python method

  • run the file pdfdifferencefinder.py by giving your filenames as input

API Details

To run the snippet as an API

  • run the file apiFile.py
  • The body of the API should be a form-data with file1 and file2 as the keys. API Input Sample

The outputs generated will have an image file which highlights the differences as well as a .json file which contains the details of the changes in the files.

pdf-difference-finder's People

Contributors

joshdata avatar sreelekshmyselvin avatar neiljp avatar sreelekshmyselvin-184 avatar dannylessio avatar palewire avatar liam3851 avatar reinharddominik avatar maciejsszmigiero avatar danisowa avatar

Stargazers

Yashasvi Mantha avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.