Registry / devops / pdf-oxide

pdf-oxide

JSON →
library0.3.60pypypi✓ verified 79d ago

The fastest Python PDF library with 0.8ms mean extraction speed, 5× faster than PyMuPDF. Supports text extraction, markdown conversion, and PDF creation. Achieves 100% pass rate on 3,830 PDFs. Current version 0.3.60, actively maintained.

pip install pdf-oxide
INSTALL
IMPORT
SIG · PDF-OXIDE
P
pdf-oxide
devopspythonv0.3.60
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Align
from pdf_oxide import Align
Artifact
from pdf_oxide import Artifact
ArtifactStyle
from pdf_oxide import ArtifactStyle
AsyncOfficeConverter
from pdf_oxide import AsyncOfficeConverter
AsyncPdf
from pdf_oxide import AsyncPdf
AsyncPdfDocument
from pdf_oxide import AsyncPdfDocument
BlendMode
from pdf_oxide import BlendMode
Certificate
from pdf_oxide import Certificate
Color
from pdf_oxide import Color
Column
from pdf_oxide import Column
DocumentBuilder
from pdf_oxide import DocumentBuilder
Dss
from pdf_oxide import Dss
EmbeddedFont
from pdf_oxide import EmbeddedFont
ExtGState
from pdf_oxide import ExtGState
ExtractionProfile
from pdf_oxide import ExtractionProfile
FluentPageBuilder
from pdf_oxide import FluentPageBuilder
Footer
from pdf_oxide import Footer
Header
from pdf_oxide import Header
LayoutParams
from pdf_oxide import LayoutParams
LineCap
from pdf_oxide import LineCap

Open a PDF and extract text or convert to markdown.

from pdf_oxide import PDF pdf = PDF('example.pdf') text = pdf.text() print(text) md = pdf.markdown() print(md)
Debug
Known issues
gotchaThe library is still in early development (pre-1.0). APIs may change without notice. Pin your version in production.
fix
Use `pdf-oxide==0.3.60` in requirements.txt.
affects: <1.0
gotchaThe library may not handle encrypted or password-protected PDFs. Always test with your specific PDFs.
fix
Pre-decrypt PDFs using another tool before processing with pdf-oxide.
affects: all
gotchaThe `text()` method extracts raw text without layout preservation. For structured extraction, use `markdown()`.
fix
Use `pdf.markdown()` instead of `pdf.text()` for better structure.
affects: all
deprecatedThe `to_text()` method was renamed to `text()` in version 0.3.0. Old method still works but prints a deprecation warning.
fix
Use `pdf.text()` instead of `pdf.to_text()`.
affects: >=0.3.0
Upgrade
Version history
0.3.60latest on PyPI · released Jun 4, 2026
Audit
Dependencies

No dependency data recorded yet.

Agent activity
2 hits · last 30 days
node
2
Resources
pdf-oxide — pip install pdf-oxide · libregistry