Giter VIP home page Giter VIP logo

pdfkit's Introduction

PdfKit

鉴于网上不少影印的PDF没有目录,自己暂时还没找到一个小工具自动生成目录的,就做了这个PdfKit

功能

  1. 合并PDF
  2. 为PDF生成目录

使用说明

  1. 如果是生成书签,则至少说明目录所在页数和内容第一页所在页数,输出原pdf的副本文件(*_copy.pdf)
  2. 如果合并pdf,则按顺序说明被合成的pdf所在路径,输出merge.pdf

![image](https://raw.githubusercontent.com/zhuzhenpeng/PdfKit/master/images/help.jpg)

效果图

image

运行注意事项:

  1. 需要PyPDF2 (1.23)库, sudo pip3 install PyPDF2
  2. 需要docopt (0.6.2)库, sudo pip3 install docopt
  3. 进入pdf目录后,运行pk.py文件即可看到基本的命令, pk -h 进一步查看命令

pdfkit's People

Contributors

zhuzhenpeng avatar

Watchers

James Cloos 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.