Spire.PDF for Python
Independeant PDF Processing Python Class Library
- Overview
- Features
Spire.PDF for Python is a professional PDF development component that enables developers to create, read, edit, convert, and save PDF files in Python programs without depending on any external applications or libraries. This Python PDF class library provides developers with various functions to create PDF files from scratch or process existing PDF documents completely through Python programs.
Spire.PDF for Python supports various PDF processing features including security settings, extracting text/image from PDF, merging/splitting PDF, adding page numbers to PDF, drawing text/image/shape/barcode to PDF, creating/filling in form fields, adding and deleting PDF layers, cropping pages, copying pages, overlaying PDF, creating actions in PDF, inserting text/image watermarks to PDF, adding/deleting/extracting annotations, adding/updating/deleting PDF bookmarks, adding tables to PDF, compressing PDF documents etc.
Spire.PDF for Python can easily converting PDF to Word Doc/Docx, PowerPoint, Excel, XPS, images (JPG, PNG, BMP, TIFF), SVG, HTML and PDF/A etc. It also supports to convert HTML, SVG, XPS, images, TIFF and TXT to PDF in high quality.
-
Convert
-
Compress
-
Extract
-
Protect
-
eSign
-
Form
-
Watermark
-
Merge & Split
-
Layer
-
Adjust
Convert PDF to Word
PDF is considered an ideal file format for document sharing and printing, but it is difficult to edit. If you want to modify the text in a PDF file, you can convert it to Word.
Compress PDF
Compressing PDFs can reduce their size by 10 to 100 times, thus saving you a lot of storage space and making PDF documents easier to transfer over the Internet.
Extract Text and Images
When you just need to get the information in a PDF document regardless of its format and structure, you can simply extract the text and images from the document.
PDF Encryption
PDF encryption is a crucial task when it comes to sharing confidential documents on the Internet. Using Spire.PDF, you can set a password to restrict access to your PDF file, or set permissions to define what actions users can perform on the document.
Digitally Sign PDF
A digital signature provides assurances about the validity and authenticity of your PDF documents. Once a PDF document is digitally signed, any changes to the document will invalidate the signature.
Create a Form
Form fields make it easier to collect information. Users can enter information by choosing an item from a drop-down list, inserting text in a combo box, or checking a check box.
Add a Watermark to PDF
Watermarks in PDFs serve many important purposes, such as identifying the document's owner, indicating its status and preventing unauthorized copying and distribution.
Merge and Split PDF
Sometimes, you might need to merge multiple PDF files into one in order to store and review them easier. Likewise, you may also want to split a PDF file into individual files and share them with others separately.
Add Layers to PDF
PDF layer is an interactive feature for PDF documents that allows some part of the content to be made visible or hidden. Layers are used for items such as CAD drawings, layered artwork, maps, and multi-language documents.
Change PDF Page Size
By adjusting the page size of a PDF document, you can easily get a better document appearance or make the page size match the printing paper.
PYTHON
Standalone Python API
A completely independent Python PDF API
which doesn’t require any other PDF tools to be installed on system.
VERSION
- PDF 1.2 to PDF 1.7
- PDF/A - 1b
- PDF/x1a
- PDF/A1
- PDF/A2
- PDF/A3
- PDF/UA
FONT
- 14 Core Fonts
- Type 1 Fonts
- Type 3 Fonts
- CJK Fonts
- True Type Fonts
- Unicode Support
OPERATION
Powerful Toolset, Multichannel Support
-
Create, Get and Verify, Remove Digital Signature
-
Encrypt and Decrypt PDF file
-
Image and Shape
-
Create & Fill Form Field
-
Merge and Split PDF document
-
Manage Attachment
-
Manage Bookmark
-
Manage Annotation
-
Text & Image Watermark
-
Find & Highlight
-
Insert Hyperlink
-
Compress PDF
-
Extract Text and Image
-
Header and Footer
-
Create & Format Table
-
Tagged PDF
CONVERSION
Convert File Documents with High Quality
-
SVG
-
TXT
-
XPS
-
HTML
-
Image
-
PPTX
-
Excel
-
Word
-
PCL
-
PDF/A
-
PNG
-
BMP
-
JPEG
-
EMF
-
TIFF
MAIN FUNCTION
Only Spire.PDF for Python,
No Need for Other Tool
Security Features
Spire.PDF for Python can protect PDF documents by setting passwords and adding digital signatures. User password and owner password can determine the encrypted PDF documents readability, modifiability, printability and other selective restrictions. And digital signatures can ensure the authenticity and integrity of PDF documents, and confirm the identity in document exchange.Extract Data
from PDF Documents
Easily Manipulate
Document and Form Fields
Document Settings Features
Document information can be set with Spire.PDF for Python including document properties and viewer preferences such as page orientation/rotation, change/get page size, add page numbers, remove forms, set the transparency, convert PDF to grayscale/linearized, and zoom factor. Setting the document information can greatly improve the usability of the document.GET STARTED
Free Trials for All Progress Solutions
Support Environment
- Fully written in Python
- Support 64-bit OS
- Support PDF Version 1.2, 1.3, 1.4, 1.5, 1.6 and 1.7
- PDF API reference in HTML
- Be independent and do not need Adobe Acrobat or other third-party pdf libraries
Conversion
- Convert Webpage HTML and HTML ASPX to PDF
- Convert Images (Jpeg, Jpg, Png, Bmp, Tiff, Gif, EMF, Ico) to PDF
- Convert Text to PDF
- Convert PDF to HTML
- Convert XPS to PDF
- Convert PDF to SVG
- Convert PDF to XPS
- Convert PDF to Images
- Convert PDF to Word
Security
- Encrypt PDF (Owner Passwords and User Passwords)
- Decrypt PDF
- Modify PDF Passwords (Owner Passwords and User Passwords)
Text
- Draw Text
- Set Text Format (font, size, color, layout, rotate, transform, alignment, transparency)
- Read/Extract Text (Whole Page, Certain Page, Particular Pages)
Fonts
- 14 Core Fonts
- Type 1 Fonts
- Type 3 Fonts
- True Type Fonts
- CJK Fonts
- Unicode Support (Partial)
Images
- Draw Image
- Draw Special Shapes (lines, Rectangles, Circles, Arcs, Ellipses, Five-Pointed Star)
- Read/Extract Images (Jpeg, Jpg, Png, Bmp, Tiff, Gif, EMF, Ico)
Attachments
- Add Attachments
- Add Attachments with Attachments Annotations
- Remove Attachments
- Read/Extract Attachments
- Read/Extract Attachments with Attachments Annotations
- Get Attachments Properties
Bookmarks
- Add Bookmarks
- Add Child Bookmarks
- Get Bookmarks
- Get Child Bookmarks
- Clear Bookmarks
- Modify Bookmarks
- Modify Child Bookmarks
List
- Simple List
- Ordered List
- Multiple levels List
Header and Footer
- Add Text in Header
- Add Text in Footer
- Add Image in Header
- Add Image in Footer
Watermark
- Add Text Watermark
- Add Image Watermark
- Modify Text Watermark
- Modify Image Watermark
Links and Actions
- Add Hyperlinks (Plain Link and Anchor Link)
- Work with Action
- Work with JavaScript Action
- Work with Action Chain
- Work with Action Annotation
FormField
- Add Fields (Text Box, Check Box, List box, Combo Box, Button, Radio Button)
- Remove Fields
- Edit Fields
- Fill Fields
Pages
- Add PDF Pages
- Add Empty Page in PDF
- Delete PDF Pages
- Read/Extract PDF Pages
- Set Page Number
- Get Page Count
- Paginate Pages
- Set Page Transition
- Set Page Label
- Set Page Orientation
- Set Page Transparency
- Set Page Overlay
- Create PDF Booklet
- Draw PDF Barcode
Document
- Set PDF Properties
- Set PDF View Preference
- Set PDF Template
- Merge PDF Files
- Split PDF File (by one page and any range of pages)
Feature Details
Feature | Support | Feature | Support | |
Drawing Text | Standards | |||
Text Formatting | √ | PDF/ A-1b Compliance | √ | |
Multilingual Support | √ | PDF/x1a: 2001 Compliance | √ | |
Text Extraction (Only for .NET) | √ | Fonts | ||
Graphics | Standard Fonts | √ | ||
Pen and Brush | √ | CJK Fonts | √ | |
Layers (Only for .NET) | ** | True Type Fonts | √ | |
Transparent Graphics | √ | Unicode True Type | √ | |
Color Spaces | ** | Images | ||
Image Extraction | √ | Scalar Images | √ | |
Transform | √ | Mask | √ | |
Bar code (Only for .NET) | √ | Vector Images | √ | |
Document Operations | Watermarks | √ | ||
Merge Documents | √ | Data Management | ||
Split Document (Only for .NET) | √ | ADO.Net Tables Support (Only for .NET) | √ | |
Overlay Documents | √ | Rich Table Styles | √ | |
Import and Stamp | √ | Table Features (Only for .NET) | √ | |
Booklet | √ | Page Operations | ||
Document Settings | Headers and Footers | √ | ||
Custom Metadata | √ | Page Label | √ | |
Document Properties | √ | Automatic Fields | √ | |
Page Orientation | √ | Interactive Elements | ||
Page Sizes | √ | Annotation | √ | |
Viewer Preferences | √ | Action | √ | |
Forms | JavaScript | √ | ||
Create Form | √ | Attachment | √ | |
Form Filling | √ | Bookmark | √ | |
Form Export | ** | Security | ||
Conversion | Digital Signature | √ | ||
HTML to PDF | √ | Encryption | √ | |
Doc To PDF (Spire.Doc required) | √ | Decryption | √ |
** Partial supported
Note: Transparent Graphics is Partial Supported for Silverlight