Free PDF utilities - merge, split, rotate, extract. Online at editpdfree.com
Project description
EditPDFree - Free PDF Utilities
EditPDFree provides a simple Python library for common PDF operations. All functionality is also available as free online tools at https://www.editpdfree.com.
Installation
pip install editpdfree
Quick Start
from editpdfree import merge_pdfs, split_pdf, get_page_count, rotate_pdf
# Merge multiple PDFs
merge_pdfs(['file1.pdf', 'file2.pdf'], 'merged.pdf')
# Split PDF into individual pages
split_pdf('document.pdf', './output')
# Get page count
pages = get_page_count('document.pdf')
print(f"PDF has {pages} pages")
# Rotate PDF
rotate_pdf('document.pdf', 90, 'rotated.pdf')
API Documentation
get_pdf_info(filepath)
Get detailed information about a PDF file including page count, metadata, and encryption status.
merge_pdfs(pdf_list, output)
Merge multiple PDF files into a single PDF.
Parameters:
pdf_list(list): List of PDF file paths to mergeoutput(str): Path for the output merged PDF file
Returns: Path to the created merged PDF
split_pdf(filepath, output_dir)
Split a PDF file into individual page files.
Parameters:
filepath(str): Path to the PDF file to splitoutput_dir(str): Directory where individual page PDFs will be saved
Returns: List of paths to created PDF files
extract_pages(filepath, pages, output)
Extract specific pages from a PDF file.
Parameters:
filepath(str): Path to the PDF filepages(list): List of page numbers to extract (1-indexed)output(str): Path for the output PDF file
Returns: Path to the created PDF with extracted pages
rotate_pdf(filepath, degrees, output)
Rotate all pages in a PDF file.
Parameters:
filepath(str): Path to the PDF filedegrees(int): Degrees to rotate (90, 180, 270, etc.)output(str): Path for the output rotated PDF file
Returns: Path to the rotated PDF file
get_page_count(filepath)
Get the number of pages in a PDF file.
Parameters:
filepath(str): Path to the PDF file
Returns: Number of pages (int)
Online PDF Tools
For more advanced PDF operations, visit our free online tools at:
- Merge PDF
- Split PDF
- Compress PDF
- PDF to Word
- Word to PDF
- Rotate PDF
- Protect PDF
- Unlock PDF
- Watermark PDF
- PDF to JPG
- JPG to PDF
- Sign PDF
- Edit PDF
- OCR PDF
- PDF to Excel
Requirements
- Python >= 3.7
- PyPDF2 >= 3.0.0
License
MIT License - See LICENSE file for details
Support
Visit www.editpdfree.com for more information and online tools.
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 Distribution
Built Distribution
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 editpdfree-1.0.0.tar.gz.
File metadata
- Download URL: editpdfree-1.0.0.tar.gz
- Upload date:
- Size: 4.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3da26f75b8f421ad5f9d414c838ea294a99671a78c507dc5e6b864eede262b9f
|
|
| MD5 |
879be2c99fdef8bd6466591a21ee9892
|
|
| BLAKE2b-256 |
ad780ad13dc52385ee882b2c69df078dabae57beefd0453829f81b629b52f3f2
|
File details
Details for the file editpdfree-1.0.0-py3-none-any.whl.
File metadata
- Download URL: editpdfree-1.0.0-py3-none-any.whl
- Upload date:
- Size: 4.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ea82c36203505a25795115f91c584081e9265b4d0bb87a9e1c433212a35c1676
|
|
| MD5 |
f8bfea2e17ed22afc3345eea82a274af
|
|
| BLAKE2b-256 |
fb5a4755b69706ea2964afb267febade2e1d4332eb59f001838f668a0b825cb7
|