pdfCatalog
Overview
pdfCatalog is a lightweight library which can build catalogs for pdf documents automatically.
Requirements
Python 3.x
Works on Linux, Windows, Mac OSX
Install
The quick way:
pip install pdfCatalog
User Guide
1.On the Linux
Open the terminal, come the working directory.
cd pdf-file-path/
Use pdfCatalog command.
pdfCatalog -f pdf-file-name.pdf -c catalog.txt -s your offset -o ./ -i 1Argument:
Arguments
Description
-h
for help information.
-f
(required) Specify the path of pdf file you want to import catalog in.
-c
(required) Specify the path of the catalog.
-o
(required) Specify the path to save output pdf file.
-s
(optional) Number, default is 0.The offset of PDF document compared with catalog.
-i
(optional) Value is 1 or 0, default is 1. 1 means ignoring the old catalog in the PDF document
Catalog should like this: title + page
前言 话说“通信”基本概念 1 第 1章 通信发展史 9 古代通信:信息沟通的起步 10 近现代通信:电磁通信和数字时代的起步 11 当代通信:移动通信和互联网时代 14 未来通信:大融合时代 15 第 2章 用什么实现通信 17 电信网中的通信工具 17 互联网的通信手段 21 专业领域的通信工具 24 家电中的通信工具 25 第3章 通信到底是干嘛的 27 第 1个问题:用什么信息格式传递给对方——编码 28 第 2个问题:如何找到对方——寻址 30 第3个问题:信息传递的额外要求——网络优化 31 额外的一个问题——人性化 33
2.On the Windows
win + R open the terminal, the next steps are the same as on the Linux.
Releases
v1.0.2: Use utf-8 encoding text and catalog becomes more beautiful!
v1.0.1: Fixed some bugs.
v1.0.0: First release. Build catalogs for pdf documents automatically.
Release files for pdfCatalog 1.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pdfCatalog-1.0.2.tar.gz | 4.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pdfCatalog-1.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 11.4 kB
Release files / pdfCatalog-1.0.2.tar.gz
| Download URL | pdfCatalog-1.0.2.tar.gz |
|---|---|
| Size | 4.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
396bd216811f8e2c978596c09ca343ef00e3944f6bd473cf61df113a09a70db6
|
|
BLAKE2b-256 checksum How to use checksums |
657427f561af036f4dcf4f0c1d53cc654ceb02dcaa8cb1eee4f2483d1ccdf31d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.20.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.6.9
|
Release files / pdfCatalog-1.0.2-py3-none-any.whl
| Download URL | pdfCatalog-1.0.2-py3-none-any.whl |
|---|---|
| Size | 6.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9e15f3134a6097461b4daa0a89ed0dc78272282231100255c8f912b2644ba4c0
|
|
BLAKE2b-256 checksum How to use checksums |
b5fc8b6837186c6a1c004306bb8751830682baf754e9d7a69d91797d67c68642
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.20.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.6.9
|