Python3 library to get urls from PDF files.
Project description
lemonpdf
Python3 library to get urls from PDF files.
Install
sudo apt install tesseract-ocr poppler-utils
pip install lemonpdf
Quickstart
Command line interface use (CLI)
lemonpdf file.pdf
save file
lemonpdf file.pdf --output urls.txt --save
scripts
from lemonpdf import Extractor
pdf_path = 'file.pdf'
output_txt_path = 'out_file.txt'
extractor = Extractor(pdf_path=pdf_path, output_txt_path=output_txt_path)
urls = extractor.extract_urls_from_pdf(save=True)
print(urls)
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
lemonpdf-1.0rc7.tar.gz
(2.1 kB
view hashes)
Built Distribution
Close
Hashes for lemonpdf-1.0rc7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a812dd31352fed446106f3b3eb6d243d98c44cab119f7283b6ff0ad7db8f71a9 |
|
MD5 | ceea637cf16ef84089a335224352bd76 |
|
BLAKE2b-256 | 483df3e1516ce5fd3260464db43aa9234520a477a5b35f4d66bbebda11348bc2 |