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.0.1.tar.gz (6.8 kB view details)

Uploaded Source

Built Distribution

winzy_pdf_to_text-0.0.1-py3-none-any.whl (7.1 kB view details)

Uploaded Python 3

File details

Details for the file winzy_pdf_to_text-0.0.1.tar.gz.

File metadata

  • Download URL: winzy_pdf_to_text-0.0.1.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

Hashes for winzy_pdf_to_text-0.0.1.tar.gz
Algorithm Hash digest
SHA256 b2c60d200b4669e2d4b91795369971a355b8bce6ee25ac5e6919f7302a85e776
MD5 cd6be832683dc919b4c28dbdfcc818e2
BLAKE2b-256 6f42cee5b2b5c9e5b0dc9a1e7aa240813101c6fd87e5bea839ddd1247a20f1a3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for winzy_pdf_to_text-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6e5d766d1f9b6037a2350be394c012d7cd42a3ecdb517bab968d7084cbec2b9a
MD5 685c37c1bdb7b32a9cd77365eaa87c1f
BLAKE2b-256 c1a9f52776afd90003d59f2e98dd95c685831d1de34842b477561720b295a03b

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