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
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
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 winzy_pdf_to_text-0.1.1.tar.gz.
File metadata
- Download URL: winzy_pdf_to_text-0.1.1.tar.gz
- Upload date:
- Size: 8.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0369b43311ce5789bd9488993082ba41424cec601d341a7a75b41b9dc03aa9d2
|
|
| MD5 |
6239fe59ac7dad20af6f71389a1a93c5
|
|
| BLAKE2b-256 |
12901a73424719308c860b93f93955b99b38edc44ceeb5811e9d19c2fa2a70bf
|
Provenance
The following attestation bundles were made for winzy_pdf_to_text-0.1.1.tar.gz:
Publisher:
publish.yml on sukhbinder/winzy-pdf-to-text
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
winzy_pdf_to_text-0.1.1.tar.gz -
Subject digest:
0369b43311ce5789bd9488993082ba41424cec601d341a7a75b41b9dc03aa9d2 - Sigstore transparency entry: 292073634
- Sigstore integration time:
-
Permalink:
sukhbinder/winzy-pdf-to-text@06413683ac486adaf60b6aa96565a2042bcc94dd -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/sukhbinder
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@06413683ac486adaf60b6aa96565a2042bcc94dd -
Trigger Event:
release
-
Statement type:
File details
Details for the file winzy_pdf_to_text-0.1.1-py3-none-any.whl.
File metadata
- Download URL: winzy_pdf_to_text-0.1.1-py3-none-any.whl
- Upload date:
- Size: 8.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6ea2e15d4f24faf1b77fe6df922ead09e3109d3a271a000244d792eb5fa093d5
|
|
| MD5 |
51deb83d7d7386b55665aebaabb31db8
|
|
| BLAKE2b-256 |
02549cbbf730bee9f7be2fb75c07a494b15f9fe00cb4a0e58982fc23c7a0c3ce
|
Provenance
The following attestation bundles were made for winzy_pdf_to_text-0.1.1-py3-none-any.whl:
Publisher:
publish.yml on sukhbinder/winzy-pdf-to-text
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
winzy_pdf_to_text-0.1.1-py3-none-any.whl -
Subject digest:
6ea2e15d4f24faf1b77fe6df922ead09e3109d3a271a000244d792eb5fa093d5 - Sigstore transparency entry: 292073646
- Sigstore integration time:
-
Permalink:
sukhbinder/winzy-pdf-to-text@06413683ac486adaf60b6aa96565a2042bcc94dd -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/sukhbinder
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@06413683ac486adaf60b6aa96565a2042bcc94dd -
Trigger Event:
release
-
Statement type: