GroupDocs.Signature for Python via .NET is a robust on-premise library designed for adding electronic signatures to documents. This powerful API allows developers to easily integrate digital signatures into their applications without the need for any third-party tools. It supports multiple signature types, such as text, image, barcode, and QR code, providing flexibility across different file formats like PDF, Word, Excel, and more.
Project description
GroupDocs.Signature for Python via .NET - Electronic Document Signing API
Add digital signatures, electronic signatures, and document signing capabilities to your Python applications with GroupDocs.Signature for Python via .NET. Sign PDF, Word, Excel, PowerPoint, and 50+ document formats with text, image, barcode, QR code, and digital certificate signatures.
Table of Contents
- Overview
- Why Choose GroupDocs.Signature for Python?
- Key Features and Capabilities
- Supported File Formats
- Platform Independence and System Requirements
- Installation and Getting Started
- Code Examples
- Common Use Cases
- Performance and Best Practices
- Troubleshooting and Support
- License and Pricing
Overview
GroupDocs.Signature for Python via .NET is an enterprise-grade, on-premise library for adding electronic and digital signatures to documents in Python applications. It enables seamless integration of document signing functionality without requiring third-party tools or external dependencies, making it ideal for both simple signing tasks and complex enterprise document management systems.
Whether you need to add text signatures, image signatures, barcode signatures, QR code signatures, or implement secure digital signatures with certificates, GroupDocs.Signature for Python via .NET provides a complete solution for all your document signing needs. The library supports a wide range of file formats including PDF, Microsoft Word, Excel, PowerPoint, OpenOffice documents, and various image formats.
Why Choose GroupDocs.Signature for Python?
Enterprise-Grade Security: Implement secure digital signatures with certificate-based authentication, ensuring document integrity and non-repudiation for legal and business-critical documents.
Zero Dependencies: No third-party components required. Build document signing applications entirely using GroupDocs.Signature without external tools or services.
Cross-Platform Support: Works seamlessly on Windows, Linux, and macOS with .NET Framework, .NET Core, or .NET runtime support.
Multiple Signature Types: Support for text signatures, image signatures, barcode signatures, QR code signatures, stamp signatures, and digital certificates.
Comprehensive Format Support: Sign documents in over 50 file formats including PDF, DOC, DOCX, XLS, XLSX, PPT, PPTX, and many more.
Developer-Friendly API: Simple, intuitive API design that makes it easy to implement document signing in just a few lines of code.
High Performance: Optimized for performance, allowing you to sign multiple documents efficiently in batch operations.
Without having to install any third-party component, you can use GroupDocs.Signature to build various types of applications, from simple document signing tools to complex enterprise document management systems. For example, GroupDocs developed a free web application that allows people to sign their PDF documents online using this very API.
Note: GroupDocs.Signature for Python requires Python programming language with .NET runtime support. For other platforms, we recommend GroupDocs.Signature for Node.js, GroupDocs.Signature for Java, or GroupDocs.Signature for .NET, respectively.
Key Features and Capabilities
GroupDocs.Signature for Python via .NET provides a comprehensive set of features for document signing and signature management:
Signature Creation and Management
- Multiple Signature Types: Create and add text signatures, image signatures, barcode signatures, QR code signatures, stamp signatures, and digital signatures to documents
- Customizable Appearance: Fully control visual attributes including color, font family, font size, margins, alignment, transparency, rotation, and border styles
- Positioning Control: Precise signature placement with pixel-perfect positioning options including left, top, width, height, and page number specification
- Batch Operations: Sign multiple documents efficiently in a single operation for improved productivity
Signature Detection and Verification
- Signature Search: Advanced search functionality to find and retrieve all signatures from a document based on various criteria
- Signature Verification: Verify digital signatures to ensure document integrity and authenticity
- Signature Validation: Determine if documents contain signatures meeting specific criteria or validation rules
- Signature Extraction: Extract detailed information about existing signatures including type, position, appearance, and metadata
Document Processing
- Format Support: Sign documents across 50+ file formats including PDF, Word, Excel, PowerPoint, OpenOffice, and image formats
- Document Information: Extract comprehensive document metadata and basic information including page count, file size, and format details
- Page Preview: Generate high-quality image representations of document pages for preview and thumbnail generation
- Document Integrity: Distinguish and manage signatures separately from the original document content
Advanced Capabilities
- QR Code Customization: Embed encrypted text, URLs, contact information, or custom data objects into QR code signatures
- Barcode Integration: Add various barcode types (Code128, EAN, UPC, etc.) as document signatures
- Digital Certificates: Implement PKI-based digital signatures with X.509 certificate support for secure document signing
- Encryption Support: Protect signed documents with password encryption and digital certificate protection
- Watermarking: Add watermarks alongside signatures for additional document security and branding
Supported File Formats
With GroupDocs.Signature for Python via .NET, developers and applications can view files of the following categories:
- Microsoft Word® formats: DOC, DOCM, DOCX, DOT, DOTM, DOTX
- Microsoft Excel® formats: XLS, XLSB, XLSM, XLSX, XLTX, XLTM
- Microsoft PowerPoint® formats: PPT, PPTM, PPTX, PPS, PPSM, PPSX, POTX, POTM
- OpenOffice® formats: ODT, OTT, ODS, OTS, ODP, OTP
- Image formats: BMP, DJVU, GIF, JPG, JPEG, PNG, SVG, TIF, TIFF, WEBP
- CorelDraw® formats: CDR, CMX
- Photoshop® formats: PSD
- Metafile formats: WMF
- Portable formats: PDF
Quick Start Example
Here's a minimal example to get you started with document signing:
import groupdocs.signature as gs
import groupdocs.signature.options as gso
# Initialize the signature handler
with gs.Signature("input.pdf") as signature:
# Create text signature options
options = gso.TextSignOptions("Your Name")
options.left = 100
options.top = 100
# Sign the document
signature.sign("output.pdf", options)
This simple example demonstrates how easy it is to add signatures to your documents with just a few lines of code.
Code Examples
Sign PDF with Text Signature
Add a simple text signature to a PDF document with custom positioning and styling:
import groupdocs.signature as gs
import groupdocs.signature.options as gso
# Open the document
with gs.Signature(sample_pdf) as signature:
# Set up text signature options
options = gso.TextSignOptions("John Smith")
options.left = 50
options.top = 200
options.width = 100
options.height = 30
# Sign document and save
result = signature.sign(output_file_path, options)
Sign PDF with QR Code Signature
Embed QR code signatures containing custom data or encrypted information:
import groupdocs.signature as gs
import groupdocs.signature.options as gso
import groupdocs.signature.domain as gsd
# Open the document
with gs.Signature(sample_pdf) as signature:
# Set up QR code signature options
options = gso.QrCodeSignOptions("John Smith")
options.encode_type = gsd.QrCodeTypes.QR
options.left = 50
options.top = 200
options.width = 100
options.height = 100
# Sign document and save
result = signature.sign(output_file_path, options)
Sign Document with Digital Certificate
Implement secure digital signatures using X.509 certificates for legal compliance and document integrity:
import groupdocs.signature as gs
import groupdocs.signature.options as gso
with gs.Signature(sample_pdf) as signature:
# Configure digital signature options with certificate
options = gso.DigitalSignOptions(certificate_pfx)
options.image_file_path = image_handwrite # Optional: add visual signature image
options.left = 50
options.top = 50
options.page_number = 1
options.password = "1234567890" # Certificate password
# Sign document with digital certificate
result = signature.sign(output_file_path, options)
Sign with Image Signature
Add image-based signatures from files or streams:
import groupdocs.signature as gs
import groupdocs.signature.options as gso
with gs.Signature(sample_pdf) as signature:
# Create image signature options
options = gso.ImageSignOptions(signature_image_path)
options.left = 100
options.top = 100
options.width = 200
options.height = 50
options.page_number = 1
# Apply image signature
result = signature.sign(output_file_path, options)
Search for Signatures in Document
Find and retrieve all signatures from an existing document:
import groupdocs.signature as gs
import groupdocs.signature.options as gso
with gs.Signature(sample_pdf) as signature:
# Search for all text signatures
options = gso.TextSearchOptions()
search_result = signature.search(options)
# Process found signatures
for found_signature in search_result:
print(f"Found signature: {found_signature.text} at position
({found_signature.left}, {found_signature.top})")
Sign Multiple Documents in Batch
Process multiple documents efficiently:
import groupdocs.signature as gs
import groupdocs.signature.options as gso
import os
input_folder = "input_documents"
output_folder = "signed_documents"
with gs.Signature() as signature:
options = gso.TextSignOptions("Approved")
options.left = 50
options.top = 50
# Get all PDF files
pdf_files = [f for f in os.listdir(input_folder) if f.endswith('.pdf')]
# Sign each document
for pdf_file in pdf_files:
input_path = os.path.join(input_folder, pdf_file)
output_path = os.path.join(output_folder, pdf_file)
signature.sign(input_path, output_path, options)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file groupdocs_signature_net-26.1-py3-none-win_amd64.whl.
File metadata
- Download URL: groupdocs_signature_net-26.1-py3-none-win_amd64.whl
- Upload date:
- Size: 134.4 MB
- Tags: Python 3, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
de1b106d66df0344622da86621994428b1bce9389e22936a9546f6ff633352b8
|
|
| MD5 |
4dba3856c87fd393cedb0aa4fecd593d
|
|
| BLAKE2b-256 |
9670792d6d1d44e918c3edc6844a1fcdfc4b7f3c8e73b455cbb9b43bd1969808
|
File details
Details for the file groupdocs_signature_net-26.1-py3-none-win32.whl.
File metadata
- Download URL: groupdocs_signature_net-26.1-py3-none-win32.whl
- Upload date:
- Size: 128.0 MB
- Tags: Python 3, Windows x86
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b6d7585f76c01907db2b7c70e7dbf972282c6814cdf017aaa61f712fb1f91b2b
|
|
| MD5 |
ea3e240f7caad147b42c9f907ff6216b
|
|
| BLAKE2b-256 |
6ab90f7484dbc7e62d41919d60c2d3d13e9c701b3952a7b87659a8b7ea42f8f5
|
File details
Details for the file groupdocs_signature_net-26.1-py3-none-manylinux1_x86_64.whl.
File metadata
- Download URL: groupdocs_signature_net-26.1-py3-none-manylinux1_x86_64.whl
- Upload date:
- Size: 147.7 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
19764c0362e62bde99cf8ffc28ab9e0058e0578877460fd836f910ed87b2736c
|
|
| MD5 |
7f3e9e3b4e76fc76f7f5ad0c2cb60614
|
|
| BLAKE2b-256 |
0ae28de655f323b7faa7a6f022d33815f287db0fbdce69de54c3553a4829763e
|
File details
Details for the file groupdocs_signature_net-26.1-py3-none-macosx_11_0_arm64.whl.
File metadata
- Download URL: groupdocs_signature_net-26.1-py3-none-macosx_11_0_arm64.whl
- Upload date:
- Size: 134.7 MB
- Tags: Python 3, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a735f4ede0390820459d7795d215d2c4817b3d3ebcad55179099ea33ddfe82d2
|
|
| MD5 |
eb515ec908a34b658c1c634cdd7b1457
|
|
| BLAKE2b-256 |
5434d5c0c8d51371f7a843e8889026cfc80269334ba56bcadf18dba704109d30
|
File details
Details for the file groupdocs_signature_net-26.1-py3-none-macosx_10_14_x86_64.whl.
File metadata
- Download URL: groupdocs_signature_net-26.1-py3-none-macosx_10_14_x86_64.whl
- Upload date:
- Size: 144.5 MB
- Tags: Python 3, macOS 10.14+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0c8ced1272260818daa0ae62ab5ff7968aa1db74abeb34eb364d982ca96808f4
|
|
| MD5 |
a14e3bffc19a5b64c1afb906d4808cf3
|
|
| BLAKE2b-256 |
9cf8f27126c47505b2d95a35d24df0ef36a5182af9b580fdd45a24219d90a7b4
|