Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

elizaOS PDF Plugin (Python)

PDF reading and text extraction for elizaOS agents.

Installation

pip install elizaos-plugin-pdf

Usage

from elizaos_plugin_pdf import PdfClient

# Create client
client = PdfClient()

# Extract text from PDF file
text = await client.extract_text_from_file("document.pdf")
print(text)

# Extract text from PDF bytes
with open("document.pdf", "rb") as f:
    pdf_bytes = f.read()
text = await client.extract_text(pdf_bytes)
print(text)

# Get full document info
info = await client.get_document_info(pdf_bytes)
print(f"Pages: {info.page_count}")
print(f"Title: {info.metadata.title}")
for page in info.pages:
    print(f"Page {page.page_number}: {page.text[:100]}...")

Features

  • Extract text from PDF files
  • Get document metadata (title, author, etc.)
  • Page-by-page text extraction
  • Configurable text cleaning
  • Async/await support
  • Type-safe with Pydantic models

License

MIT

Metadata

Release files for elizaos-plugin-pdf 2.0.0a5

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

Source distribution (sdist)

Source distribution for elizaos-plugin-pdf 2.0.0a5
File Size Uploaded Provenance Actions
elizaos_plugin_pdf-2.0.0a5.tar.gz 6.4 kB Without provenance Details for elizaos_plugin_pdf-2.0.0a5.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for elizaos-plugin-pdf 2.0.0a5
File Interpreter ABI Platform Actions
elizaos_plugin_pdf-2.0.0a5-py3-none-any.whl Python 3 none any Details for elizaos_plugin_pdf-2.0.0a5-py3-none-any.whl

Total release size: 13.6 kB

Release files / elizaos_plugin_pdf-2.0.0a5.tar.gz

Download URL elizaos_plugin_pdf-2.0.0a5.tar.gz
Size 6.4 kB
Tags Source
SHA-256 checksum
How to use checksums
eae2ae54ad5f8703f8462be85a1420c0f1f44a0742b3019a6637c9062f351959
BLAKE2b-256 checksum
How to use checksums
189865d5d4d8c0c7a3de77c06bc8187fcd5df329cebcaff9e3983ce573979f5c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.10

Release files / elizaos_plugin_pdf-2.0.0a5-py3-none-any.whl

Download URL elizaos_plugin_pdf-2.0.0a5-py3-none-any.whl
Size 7.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
215d01fe23521c2225bb41297dda027947995e95df10be4a545bc1ef241f8363
BLAKE2b-256 checksum
How to use checksums
a3cf1851e50c6ce785525d800f15b9e9a4076521e762a3eee1fad71e18390145
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.10

Security for elizaos-plugin-pdf 2.0.0a5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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