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
Release history Release notifications | RSS feed
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)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
197cf5511c7d4a30af28ec904f1336606cd0dc0f3c904d2e07c5a894b8f5b999
|
|
| MD5 |
6c6e022a77c65cc5653270f65637ab67
|
|
| BLAKE2b-256 |
33ec5699bd373183135bf68049cda2a1ed9f02fafcf8885a42027bf350846e11
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c64367b67d12a99bac37f9b59fd1915f513fb3de038f07dd4fc00e299de8500b
|
|
| MD5 |
8940daae88b20397694898edd90445d0
|
|
| BLAKE2b-256 |
affb2f73c51322b482782ae5d69b2611012fc0036ce9d63c6871086ab9980a8b
|