Skip to content

Commit

Permalink
Added license info in Readme
Browse files Browse the repository at this point in the history
  • Loading branch information
MrLeeh authored and MrLeeh committed Feb 17, 2015
1 parent 2f7e8b6 commit 3be3252
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 7 deletions.
20 changes: 15 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
pdftools
========
* **Version** 1.0.1
* **Copyright (c)** 2015 Stefan Lehmann
* **License:** MIT
* **Description:*** This is a small collection of convenience python scripts for fast pdf manipulation via commandline.


small collection of python scripts for pdf manipulation

## Features

Expand All @@ -11,7 +15,11 @@ small collection of python scripts for pdf manipulation

## Usage

### pdfsplit
*pdftools* adds some scripts to your existing Python installation that
can be called via the commandline. The description for each script is
listed below.

### pdfsplit.py
With *pdfsplit* one PDF file can be split in multiple documents. The new documents are named according to the *-o* argument. The page number and the file ending *pdf* are added to the name automatically.

```bash
Expand All @@ -31,7 +39,7 @@ optional arguments:
defines how many pages are packed in one file
```

### pdfmerge
### pdfmerge.py
This tool merges multiple input files to one output file. The page order is according to the order of the input files.

```bash
Expand All @@ -49,7 +57,7 @@ optional arguments:
-d, --delete delete input files after merge
```

### pdfrotate
### pdfrotate.py
Rotate the pages of one or multiple input files clockwise or counterclockwise. The source file will be overwritten.
```bash
usage: pdfrotate.py [-h] [-c] inputs [inputs ...]
Expand All @@ -66,9 +74,10 @@ optional arguments:

## pdfzip
Zip the pages of two input files in one output file. This when dealing with
scanned documents where even pages are in one docuemnt and odd pages in the
scanned documents where even pages are in one docuemnt and odd pages in the
other.

```bash
usage: pdfzip.py [-h] -o OUTPUT [-d] input1 input2

Zip the pages of two documents in one output file.
Expand All @@ -82,3 +91,4 @@ optional arguments:
-o OUTPUT, --output OUTPUT
filename of the output file
-d, --delete delete input files after merge
```
2 changes: 1 addition & 1 deletion pdfmerge.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,4 +67,4 @@ def process_arguments(args):
if __name__ == "__main__":
args = process_arguments(sys.argv[1:])
print(args)
#pdf_merge(args.inputs, args.output, args.delete)
#pdf_merge(args.inputs, args.output, args.delete)
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

setup(
name='pdftools',
version='1.0.0',
version='1.0.1',
packages=[],
scripts=['pdfsplit.py', 'pdfmerge.py', 'pdfrotate.py', 'pdfzip.py'],
url='https://github.com/MrLeeh/pdftools',
Expand Down

0 comments on commit 3be3252

Please sign in to comment.