Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

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

    1. Open the terminal, come the working directory.

    cd pdf-file-path/
    1. Use pdfCatalog command.

    pdfCatalog -f pdf-file-name.pdf -c catalog.txt -s your offset -o ./ -i 1
  • Argument:

    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.0: First release. Build catalogs for pdf documents automatically

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pdfCatalog-1.0.0b2.tar.gz (4.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pdfCatalog-1.0.0b2-py3-none-any.whl (6.4 kB view details)

Uploaded Python 3

File details

Details for the file pdfCatalog-1.0.0b2.tar.gz.

File metadata

  • Download URL: pdfCatalog-1.0.0b2.tar.gz
  • Upload date:
  • Size: 4.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.6.9

File hashes

Hashes for pdfCatalog-1.0.0b2.tar.gz
Algorithm Hash digest
SHA256 a3a0459620cd3e3b517ceb9eb2e34214f359dc3a10db77208fa7dd7d2028c3eb
MD5 af97547abcf4ba2fe9983312b7cc197e
BLAKE2b-256 f91846b6d6074b1d7d2fd05af68f3ff94a72caed230a1f2e6504136f359fd8de

See more details on using hashes here.

File details

Details for the file pdfCatalog-1.0.0b2-py3-none-any.whl.

File metadata

  • Download URL: pdfCatalog-1.0.0b2-py3-none-any.whl
  • Upload date:
  • Size: 6.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.6.9

File hashes

Hashes for pdfCatalog-1.0.0b2-py3-none-any.whl
Algorithm Hash digest
SHA256 f2af1f3ef7a9b6723da4d0e7991df641d28bf8aa696e228e1000afd335e094fa
MD5 01f457712de960d88d7bfa92e434ea66
BLAKE2b-256 52b6ecb4e1575906817034432e8463eda432da1f2baffb636ca66f76d67c9077

See more details on using hashes here.

Release history Release notifications | RSS feed

1.0.2

2 files

1.0.1

2 files

This release

1.0.0b2 This release

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page