Skip to main content

Convert DOCX to PDF and analyze text layout in PDFs.

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.2.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.2-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyreadable-0.1.2.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.2.tar.gz
Algorithm Hash digest
SHA256 47c087a5fbe1ad5a6ba50f3d6f3285ec44e38d2195dacc8aa013ee4c007cb9c6
MD5 ec397eb17c2fa1afd6c7af34ca13dc05
BLAKE2b-256 88c763bee7f1bc34919cb60be9dc67dd4c2976338724b121dba0919c7a7b68f7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyreadable-0.1.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 9cda20e9625b9c8e2898ecb167a71ece610643fcb647523966ae29a1dc54c20a
MD5 1307e8bce88717046c1039b1cc5d9bdc
BLAKE2b-256 331633cc9b0b274fd9492943d4551416782bfe9318e62b6c92a85a2505da90ad

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