Skip to main content

Check PDFs for Machine Readability

Project description

Pyreadable

A lightweight Python module to check weather a PDF file contains only machine readable text or not.

from pyreadable import is_machine_readable

# you can also provide margin_pts, dpi for the pdf. By default these parameters are set to 72.
print(is_machine_readable(file_path))

Sample Output:

>>> (True,1.0)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyreadable-0.1.3.tar.gz (3.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyreadable-0.1.3-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

Details for the file pyreadable-0.1.3.tar.gz.

File metadata

  • Download URL: pyreadable-0.1.3.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for pyreadable-0.1.3.tar.gz
Algorithm Hash digest
SHA256 197cf5511c7d4a30af28ec904f1336606cd0dc0f3c904d2e07c5a894b8f5b999
MD5 6c6e022a77c65cc5653270f65637ab67
BLAKE2b-256 33ec5699bd373183135bf68049cda2a1ed9f02fafcf8885a42027bf350846e11

See more details on using hashes here.

File details

Details for the file pyreadable-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: pyreadable-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 3.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for pyreadable-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 c64367b67d12a99bac37f9b59fd1915f513fb3de038f07dd4fc00e299de8500b
MD5 8940daae88b20397694898edd90445d0
BLAKE2b-256 affb2f73c51322b482782ae5d69b2611012fc0036ce9d63c6871086ab9980a8b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page