Skip to main content
Info:

See the tutorials & documentation for more information.

Author & Maintainer:

Maksym Polshcha <maxp@sterch.net>

See GitHub for the latest source.

About

pdfreader is a Pythonic API for:
  • extracting texts, images and other data from PDF documents (plain or protected)

  • accessing different objects within PDF documents

pdfreader is NOT a tool (maybe one day it become!):
  • to create or update PDF files

  • to split PDF files into pages or other pieces

  • convert PDFs to any other format

Nevertheless it can be used as a part of such tools.

See Tutorials & Documentation.

Features

  • Extracts texts (plain text and formatted text objects)

  • Extract PDF forms data (pure strings and formatted text objects)

  • Supports all PDF encodings, CMap, predefined cmaps.

  • Extracts images and image masks as Pillow/PIL Images

  • Supports encrypted and password-protected PDF documents

  • Allows browse any document objects, resources and extract any data you need (fonts, annotations, metadata, multimedia, etc.)

  • Follows PDF-1.7 specification

  • Lazy objects access allows to process huge PDF documents quite fast

Installation

pdfreader can be installed with pip:

$ python -m pip install pdfreader

Or easy_install from setuptools:

$ python -m easy_install pdfreader

You can also download the project source and do:

$ python setup.py install

Tutorial and Documentation

Tutorial, real-life examples and documentation

Support, Bugs & Feature Requests

pdfreader uses GitHub issues to keep track of bugs, feature requests, etc.

References

Donation

If this project is helpful, you can treat me to coffee :-)

https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif

Metadata

Release files for pdfreader 0.1.15

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

Source distribution (sdist)

Source distribution for pdfreader 0.1.15
File Size Uploaded Provenance
pdfreader-0.1.15.tar.gz 2.7 MB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for pdfreader 0.1.15
File Interpreter ABI Platform
pdfreader-0.1.15-py3-none-any.whl Python 3 none any Details

Total release size: 2.8 MB

Release files / pdfreader-0.1.15.tar.gz

Download URL pdfreader-0.1.15.tar.gz
Size 2.7 MB
Tags Source
SHA-256 checksum
How to use checksums
2ee1252cc5f21a2f8cadb458decd85c1313271abb5bac1e4363a3e0e17e2dd87
BLAKE2b-256 checksum
How to use checksums
d1a730d10f94d700b6779de8c079d77cec21b7de497d9f4339b64f580cc4afaf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.9.19

Release files / pdfreader-0.1.15-py3-none-any.whl

Download URL pdfreader-0.1.15-py3-none-any.whl
Size 135.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bfd0d29c0d70a81b767b42b6959dd588a8290086c8c72a828739c1e2bda07eba
BLAKE2b-256 checksum
How to use checksums
4966b26fe92f2088f763e043d285ebeb0bb9353348bb9c7acb8ea0b237fd5342
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.9.19

Security for pdfreader 0.1.15

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