Coder Social home page Coder Social logo

mominalix / metadata-duplication-tool Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 8.41 MB

PDF Meta-Duplicator is a Python tool that allows you to duplicate metadata of original pdf to edited pdf documents.

Python 100.00%
metadata metadata-editor metadata-management pdf-converter pdf-document-processor pypdf2 python

metadata-duplication-tool's Introduction

Metadata Editor

This repository contains a Metadata Editor tool that allows you to read the metadata of PDF files in one folder and update the metadata of corresponding PDF files in another folder. Additionally, it provides instructions on how to use the tool and edit the source code.

PDF Metadata Editor

Folder Structure

The repository is structured as follows:

Metadata-Editor/
│
├── build/
│   ├── Metadata Editor.exe
│   ├── Original/
│   ├── Edited/
│   └── How to use.pdf
│
└── src/
    ├── run.py
    ├── Original/
    └── Edited/
    └── requirements.txt
  • build/: Contains the packaged product along with sample PDFs in the "Original" and "Edited" folders, and a guide on how to use the tool ("How to use.pdf").
  • src/: Contains the source code (run.py) along with sample PDFs in the "Original" and "Edited" folders.

How to Use

  1. Using the Packaged Product:

    • Navigate to the "build/" folder.
    • Run the "Metadata Editor.exe" file.
    • Follow the instructions in the "How to use.pdf" guide for using the Metadata Editor tool.
  2. Editing the Source Code:

    • Navigate to the "src/" folder.
    • Open the run.py file in a text editor or IDE of your choice.
    • Modify the script according to your requirements.
    • Run the script using Python.

How the Code Works

The run.py script in the "src/" folder performs the following tasks:

  1. It reads the metadata of PDF files in the "Original" folder.
  2. It updates the metadata of corresponding PDF files in the "Edited" folder with the same metadata.
  3. It provides a command-line interface for interacting with the tool.

To understand how to edit the source code, refer to the comments within the run.py file and the Python docstrings for each function.

metadata-duplication-tool's People

Contributors

mominalix avatar

Watchers

 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.