pdf_ocr_txt
Applies OCR to a PDF file and extracts its content to a TXT file.
Assumes tesseract and poplertools installed!
USAGE
$ python3
>>>from pdf_ocr_txt.main import pdf_to_text
>>>pdf_to_text('my_file.pdf','my_output_directory')
See result in my_output_directory/my_file.pdf.txt .
Enjoy, Paul Tarau May 2024
Metadata
Release files for pdf-ocr-txt 0.5.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pdf_ocr_txt-0.5.2.tar.gz | 3.1 kB | Without provenance | Details for pdf_ocr_txt-0.5.2.tar.gz |
Release files / pdf_ocr_txt-0.5.2.tar.gz
| Download URL | pdf_ocr_txt-0.5.2.tar.gz |
|---|---|
| Size | 3.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
34e0aaa76db4c163bb5d577b151feb392ddaeda2e4d519b4f881fc2492ed80da
|
|
BLAKE2b-256 checksum How to use checksums |
0c84fca7fa59b3ba417d1abf13c1bfe8bcb165c956d44a171d117d86596293e5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.6
|
Security for pdf-ocr-txt 0.5.2
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.