Extract text from a given pdf
Project description
winzy-pdf-to-text
Extract text from a given pdf
Installation
First configure your Winzy project to use Winzy.
Then install this plugin in the same environment as your Winzy application.
pip install winzy-pdf-to-text
Usage
winzy pdf2text example.pdf -p 1
This will extract all text from page 1 to the standard output.
One can also provide range
winzy pdf2text example.pdf -p 3-6
This will extract text from page 3 to 5 .
Development
To set up this plugin locally, first checkout the code. Then create a new virtual environment:
cd winzy-pdf-to-text
python -m venv venv
source venv/bin/activate
Now install the dependencies and test dependencies:
pip install -e '.[test]'
To run the tests:
python -m pytest
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
Built Distribution
File details
Details for the file winzy_pdf_to_text-0.0.2.tar.gz
.
File metadata
- Download URL: winzy_pdf_to_text-0.0.2.tar.gz
- Upload date:
- Size: 6.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 41c36865d43449f1a04a3cb3fe791cb9879567d947f441d37937f3e1bebd15a9 |
|
MD5 | 01123baf64cfba8e64cbc318380d4c31 |
|
BLAKE2b-256 | 450dc5cec62413584b58e8e9d7f0bdb7c07d8b68f8415e3483b49dc1f9d807c0 |
File details
Details for the file winzy_pdf_to_text-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: winzy_pdf_to_text-0.0.2-py3-none-any.whl
- Upload date:
- Size: 7.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e68711b5a9e8d9e8d577806c20b910814c06220f849ed29cff5f4a3d957c85de |
|
MD5 | f2ce28a551749c3c4679074ec044dd27 |
|
BLAKE2b-256 | 76f38ce643ea5d331d1be9535b952721e85428932e2e5f4b2677acd6396a449e |