Skip to main content

mioffice-pdf-utils

Lightweight PDF utilities for Python — merge, split, extract pages, rotate, compress, and get metadata.

Built by JSVV SOLS LLC — the team behind MiOffice.ai, the AI Office Suite with 66+ browser-based tools.

Installation

pip install mioffice-pdf-utils

Usage

from mioffice_pdf_utils import merge_pdfs, split_pdf, extract_pages, rotate_pdf, get_metadata, compress_pdf

# Merge multiple PDFs
merge_pdfs(["file1.pdf", "file2.pdf"], "merged.pdf")

# Split PDF into individual pages
pages = split_pdf("document.pdf", "./output/")

# Extract specific pages (1-based)
extract_pages("document.pdf", "extracted.pdf", pages=[1, 3, 5])

# Rotate all pages
rotate_pdf("document.pdf", "rotated.pdf", degrees=90)

# Compress PDF
compress_pdf("large.pdf", "compressed.pdf")

# Get metadata
meta = get_metadata("document.pdf")
print(f"Title: {meta['title']}, Pages: {meta['page_count']}")

API

Function Description
merge_pdfs(paths, output) Merge multiple PDFs into one
split_pdf(path, output_dir) Split PDF into individual pages
extract_pages(path, output, pages) Extract specific pages
rotate_pdf(path, output, degrees) Rotate all pages
remove_pages(path, output, pages) Remove specific pages
compress_pdf(path, output) Compress PDF streams
get_metadata(path) Get title, author, page count

License

MIT — JSVV SOLS LLC

Metadata

Release files for mioffice-pdf-utils 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mioffice-pdf-utils 1.0.0
File Size Uploaded
mioffice_pdf_utils-1.0.0.tar.gz 3.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for mioffice-pdf-utils 1.0.0
File Interpreter ABI Platform
mioffice_pdf_utils-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 8.2 kB

Release files / mioffice_pdf_utils-1.0.0.tar.gz

Download URL mioffice_pdf_utils-1.0.0.tar.gz
Size 3.9 kB
Tags Source
SHA-256 checksum
How to use checksums
e518ccae41dc1258f50af27dd2f293397d9a08ba67c1777aaf59572d88878e07
BLAKE2b-256 checksum
How to use checksums
54cf8f5f714c522fab627a2b6374b372767250d296968ac7d0d03a8689741689
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.2

Release files / mioffice_pdf_utils-1.0.0-py3-none-any.whl

Download URL mioffice_pdf_utils-1.0.0-py3-none-any.whl
Size 4.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b16f2e24c42656154e51bf5ead35130dae4bf587a1415f33dc71a66148134c69
BLAKE2b-256 checksum
How to use checksums
5badd0b19dfede7902887b6f256d4b9486099ebd5223d78f52d4e46b6b745781
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.2

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release 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