PythonPDF Library Source Code License

PythonPDF Library is a tool for extracting information from PDF documents. Unlike other PDF-related tools, it focuses entirely on getting and analyzing text contents and PDF construction. PythonPDF Library allows one to obtain the exact location of text in a page, as well as other information such as fonts or lines. It includes a PDF converter that can transform PDF files into other text formats (such as HTML). It has an extensible PDF parser that can be used for other purposes than text analysis.

PythonPDF Library is a Python library and utility that reads and writes PDF files:

  • PythonPDF Library is tested and works on Python 2.6, 2.7, 3.3, 3.4, 3.5, and 3.6.
  • Operations include subsetting, merging, rotating, modifying metadata, etc.
  • The fastest pure Python PDF parser available.
  • Has been used for years by a printer in pre-press production.
  • Can be used with rst2pdf to faithfully reproduce vector images.
  • Can be used either standalone, or in conjunction with your application to reuse existing PDFs in new ones.
  • Written entirely in Python.
  • Parse, analyze, and convert PDF documents.
  • PDF-1.7 specification support. (well, almost)
  • CJK languages and vertical writing scripts support.
  • Various font types (Type1, TrueType, Type3, and CID) support.
  • Basic encryption (RC4) support.
  • PDF to HTML conversion (with a sample converter web app).
  • Outline (TOC) extraction.
  • Tagged contents extraction.
  • Reconstruct the original layout by grouping text chunks.
  • Extracting document information (title, author, …).
  • Splitting documents page by page.
  • Merging documents page by page.
  • Cropping pages.
  • Merging multiple pages into a single page.
  • Encrypting and decrypting PDF files.

PythonPDF will faithfully reproduce vector formats without rasterization, so the rst2pdf package has used PythonPDF for PDF and SVG images by default since March 2010.

PythonPDF can also be used in conjunction with your application, in order to re-use portions of existing PDFs in new PDFs created with any PDF software.

PythonPDF library comes with several examples that show more operations to PDF files.

All examples
The examples directory has a few scripts which use the library. Note that if these examples do not work with your PDF, please feel free send this PDF file to us, we will analyze this PDF file and come back to you asap.

  • 4up.py will shrink pages down and place 4 of them on each output page.
  • alter.py shows an example of modifying metadata, without altering the structure of the PDF.
  • booklet.py shows an example of creating a 2-up output suitable for printing and folding (e.g on tabloid size paper).
  • cat.py shows an example of concatenating multiple PDFs together.
  • extract.py will extract images and Form XObjects (embedded pages) from existing PDFs to make them easier to use and refer to from new PDFs (e.g. with or rst2pdf).
  • poster.py increases the size of a PDF so it can be printed as a poster.
  • print_two.py Allows creation of 8.5 X 5.5" booklets by slicing 8.5 X 11" paper apart after printing.
  • rotate.py Rotates all or selected pages in a PDF.
  • subset.py Creates a new PDF with only a subset of pages from the original.
  • unspread.py Takes a 2-up PDF, and splits out pages.
  • watermark.py Adds a watermark PDF image over or under all the pages of a PDF.
  • rl1/4up.py Another 4up example, using canvas for output.
  • rl1/booklet.py Another booklet example, using canvas for output.
  • rl1/subset.py Another subsetting example, using canvas for output.
  • rl1/platypus_pdf_template.py Another watermarking example, using canvas and generated output for the document. Contributed by user asannes.
  • rl2 Experimental code for parsing graphics. Needs work.
  • subset_booklets.py shows an example of creating a full printable pdf version in a more professional and pratical way.

By being Pure-Python, it should run on any Python platform without any dependencies on external libraries. It can also work entirely on StringIO objects rather than file streams, allowing for PDF manipulation in memory. It is therefore a useful tool for websites that manage or manipulate PDFs.

Write a review

Note: HTML is not translated!
    Bad           Good
Captcha

PythonPDF Library Source Code License

  • Product Code: MOD190303211522
  • Availability: In Stock
  • Viewed: 12605
  • Sold By: eDoc Software
  • Seller Rating:
  • Seller Reviews: (0)
  • $299.00

  • Ex Tax: $299.00

Available Options


Related Products

EMF/PDF/Image Virtual Printer Driver SDK for Developer Royalty Free

EMF/PDF/Image Virtual Printer Driver SDK for Developer Royalty Free

EMF/PDF/Image Virtual Printer Driver SDK for Windows Developers Royalty Free. EMF/PDF/Image Virtu..

$1,500.00 Ex Tax: $1,500.00

Text Extraction Command Line

Text Extraction Command Line

Text Extraction Command Line utility allows to extract text from the various types of files. The e..

$79.95 Ex Tax: $79.95

ConvertDoc Command Line for Windows

ConvertDoc Command Line for Windows

ConvertDoc Command Line software does convert between markup formats. ConvertDoc is a Command Line..

$79.95 Ex Tax: $79.95

PDF Page Counter for All Sub-folders by PHP Script

PDF Page Counter for All Sub-folders by PHP Script

PDF Page Counter can be used to count the number of pages of all PDFs in current directory and all..

$59.95 Ex Tax: $59.95

PDF to HTML5 Form Filler for PHP

PDF to HTML5 Form Filler for PHP

PDF to HTML5 Form Filler for PHP does View, Fill, Submit PDF Forms Online. PDF Form Filler for PHP..

$199.95 Ex Tax: $199.95

Save
20%

SVG to PDF Converter Command Line

SVG to PDF Converter Command Line

SVG to PDF Converter Command Line is a best software to convert scalable vector graphic (.SVG) gra..

$79.95 $99.95 Ex Tax: $79.95

Email RSS Feeds as PDF Newspaper

Email RSS Feeds as PDF Newspaper

Convert RSS Feeds to PDF Newspaper with Email Subscription RSS Feeds To PDF Maker is a PHP Script..

$299.00 Ex Tax: $299.00

PDF Compressor Command Line

PDF Compressor Command Line

PDF Compressor Command Line -- Achieving Size Reduction with PDF Compression Command Line SoftwarePD..

$199.00 Ex Tax: $199.00

OCR to Any Converter Command Line

OCR to Any Converter Command Line

OCR to Any Converter Command Line OCR software is used to make the text of a scanned document acc..

$395.00 Ex Tax: $395.00

PDF to Table Extractor for Windows

PDF to Table Extractor for Windows

PDF to Table Extractor for Windows does convert PDF Data to Excel Spreadsheets. Our PDF to XLS Con..

$49.95 Ex Tax: $49.95

PS to PDF Converter Command Line

PS to PDF Converter Command Line

PS to PDF Converter Command Line is a great conversion tool designed to convert PostScript (PS) an..

$295.00 Ex Tax: $295.00

VeryPDF OCR to Any Converter SDK (OCR SDK)

VeryPDF OCR to Any Converter SDK (OCR SDK)

VeryPDF OCR to Any Converter SDK can be used to convert scanned PDF, TIFF and Image files (JPEG, J..

$595.00 Ex Tax: $595.00

Save
6%

PDFPrint Command Line

PDFPrint Command Line

PDFPrint Command Line is a Command Line application for batch PDF Printing.PDFPrint Command Line all..

$279.95 $299.00 Ex Tax: $279.95

PDF to Vector Converter Command Line

PDF to Vector Converter Command Line

PDF to Vector Converter Command Line -- Batch convert from PDF files to Vector formats. PDF to Ve..

$295.00 Ex Tax: $295.00

Tags: merge pdf by python, pdf library, pdf sdk, pypdf, python, python pdf, python pdf library, python watermark pdf, source code