Skip to main content

PyPI version License: MIT Downloads LinkedIn

pdf_to_string_converter

pdf_to_string_converter is a Python package designed to extract text content from PDF files efficiently. It leverages the pypdfium2 library to provide a simple interface for converting PDF documents into plain text.

Installation

To install pdf_to_string_converter, use pip:

pip install pdf_to_string_converter

Usage

Using pdf_to_string_converter is straightforward. Import the extract_text_from_pdf function and pass the path to your PDF file.

from pdf_to_string_converter import extract_text_from_pdf

# Assuming you have a PDF file named 'example.pdf' in the same directory
pdf_file_path = 'example.pdf'
extracted_text = extract_text_from_pdf(pdf_file_path)
print(extracted_text)

Features

  • Extracts all text from a given PDF file.
  • Returns the extracted text as a single, easy-to-process string.
  • Includes newline characters between text from different pages for better readability.

Contributing

Contributions, issues, and feature requests are welcome! Feel free to check the issues page.

License

pdf_to_string_converter is licensed under the MIT License.

Author

Eugene Evstafev hi@eugene.plus

Metadata

Release files for pdf-to-string-converter 2025.9.13209

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

Source distribution (sdist)

Source distribution for pdf-to-string-converter 2025.9.13209
File Size Uploaded Provenance Actions
pdf_to_string_converter-2025.9.13209.tar.gz 2.4 kB Without provenance Details for pdf_to_string_converter-2025.9.13209.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pdf-to-string-converter 2025.9.13209
File Interpreter ABI Platform Actions
pdf_to_string_converter-2025.9.13209-py3-none-any.whl Python 3 none any Details for pdf_to_string_converter-2025.9.13209-py3-none-any.whl

Total release size: 5.2 kB

Release files / pdf_to_string_converter-2025.9.13209.tar.gz

Download URL pdf_to_string_converter-2025.9.13209.tar.gz
Size 2.4 kB
Tags Source
SHA-256 checksum
How to use checksums
f4083b5f9291f84b7cd6b3fc8a4e78dd58f5c2264cd6b6210c7a006ff50e9ea4
BLAKE2b-256 checksum
How to use checksums
8306712da17d7a354f024ac391b3000c7264f7928b6468ffa31bd15064bfe690
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.11

Release files / pdf_to_string_converter-2025.9.13209-py3-none-any.whl

Download URL pdf_to_string_converter-2025.9.13209-py3-none-any.whl
Size 2.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c5c99c1234a383bdd41b94984b21bb56eb3d8129d2ae655bd67ee929da809dd6
BLAKE2b-256 checksum
How to use checksums
96a17ac77e74bca593ce20185b24763fcee676321ae5b19e421543fd80b5bad5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.11

Security for pdf-to-string-converter 2025.9.13209

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.

Release history Release notifications | RSS feed

This release

2025.9.13209 This release

2 release files No provenance

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