Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/iamakkkhil/pdf_reorderer

This python script lets you reorder our PDF pages by using PyPDF2 python library.
https://github.com/iamakkkhil/pdf_reorderer

Last synced: 4 days ago
JSON representation

This python script lets you reorder our PDF pages by using PyPDF2 python library.

Awesome Lists containing this project

README

        

# Reorder any PDF you like and save it in your local directory.

This python script will let you rearrange/reorder PDF and save them as a pdf file. The script uses PyPDF2.
## Setting up:

- Create a virtual environment and activate it.

- Install the requirements

```sh
$ pip install -r requirements.txt
```

## Running the script:

```sh
$ python PDF_reorder.py
```

## Terminal Screenshot:

![Image](https://i.imgur.com/7A2FbyR.png)

The program will ask you to enter:
1. File name.
2. No. of Pages to reorder.
3. Page no. with the location no. to move.
4. filename(without '.pdf'). The pdf will be created in the same folder.

## PDF INPUT:
![Gif](https://media.giphy.com/media/9yIadiydNtgul3YuT5/giphy.gif)

## PDF OUTPUT:
![Gif](https://media.giphy.com/media/VnnFx9qzbCLGBlwfK2/giphy.gif)

## Author
[Akhil Bhalerao](https://github.com/iamakkkhil)

## Acknowledgments
[dzone](https://dzone.com/articles/splitting-and-merging-pdfs-with-python)