Skip to main content

Extract text from a given pdf

Project description

winzy-pdf-to-text

PyPI Changelog Tests License

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

winzy_pdf_to_text-0.1.1.tar.gz (8.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

winzy_pdf_to_text-0.1.1-py3-none-any.whl (8.0 kB view details)

Uploaded Python 3

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

Hashes for winzy_pdf_to_text-0.1.1.tar.gz
Algorithm Hash digest
SHA256 0369b43311ce5789bd9488993082ba41424cec601d341a7a75b41b9dc03aa9d2
MD5 6239fe59ac7dad20af6f71389a1a93c5
BLAKE2b-256 12901a73424719308c860b93f93955b99b38edc44ceeb5811e9d19c2fa2a70bf

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file winzy_pdf_to_text-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for winzy_pdf_to_text-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6ea2e15d4f24faf1b77fe6df922ead09e3109d3a271a000244d792eb5fa093d5
MD5 51deb83d7d7386b55665aebaabb31db8
BLAKE2b-256 02549cbbf730bee9f7be2fb75c07a494b15f9fe00cb4a0e58982fc23c7a0c3ce

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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