Skip to content

This is a basic python script that lets you convert Epub files to PDF of any size.

License

Notifications You must be signed in to change notification settings

pyshx/epub-to-pdf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EpubToPdf

This program converts epub documents to pdf documents.

Installation

Simply fork this repository to your machine.

Requirements

To install the requirements, run the following command:

pip install -r requirements.txt

After this, you install the wkhtmltopdf which is a dependency of the pdfkit module.

wkhtmltopdf file can be downloaded here

For Debian/Ubuntu users:

$ sudo apt-get install wkhtmltopdf

should do the trick.

If you get a QXcbConnection: Could not connect to display error, check this issue.

Usage

Copy the epub file inside the repository folder when forked.

Run the main.py file, adding the name of the epub file as a commandline argument.

As shown below:

python main.py epub-file-name

About

This is a basic python script that lets you convert Epub files to PDF of any size.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages