Skip to main content

For converting pdf documents to txt files

Project description

PDF TO TEXT CONVERTER

convert PDF to TXT.

Instructions

  1. Install:
pip install aradf
  1. Install Tesseract, include arabic training data in the installation from: https://github.com/UB-Mannheim/tesseract/wiki

  2. convert PDF to TXT:

from aradf import convertor

# get the text, it also saves txt file to the same directory of the pdf
txt = convertor.pdf_to_txt('path/to/pdf_file')

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

aradf-0.0.2.tar.gz (3.5 kB view details)

Uploaded Source

Built Distribution

aradf-0.0.2-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

Details for the file aradf-0.0.2.tar.gz.

File metadata

  • Download URL: aradf-0.0.2.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for aradf-0.0.2.tar.gz
Algorithm Hash digest
SHA256 fb21d9dea70c4a1fcdbde0f483d98527d543837b419febe223ee2bf64a723922
MD5 ef3f4c0748fd6b48fb4dfda5bd096f72
BLAKE2b-256 3c379ab221d78f07c731cea42a7cb1940d38803770862f383d84ea67f65a2109

See more details on using hashes here.

File details

Details for the file aradf-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: aradf-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 3.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for aradf-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 f1bf82bb4d8eb09f1ddede7f1bfac5b73130d2e8267e009e3a85c3dcd77d857e
MD5 7cdb44ad127db45f1861faad0031d344
BLAKE2b-256 27ff36941e11e20ce3286c9c9268b5532379477442fead2d9224b33d0ea0023a

See more details on using hashes here.

Supported by

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