Turning PDFs into WordMaps and WordMazes
Project description
PDFMap
Installation
We recommend using the most up-to-date version of pip
and wheel
packages, so first run:
pip install -U pip wheel
Then install PDFMap with:
pip install pdfmap
Usage
Simple usage can be achieved with:
from pdfmap import PDFWordMap
pdfwm = PDFWordMap()
print(pdfwm.parse_pdf('folder/pdfname.pdf'))
You can also extract wordmaze.WordMaze
instances by using PDFMaze
:
from pdfmap import PDFMaze
pdfmaze = PDFMaze()
print(pdfmaze.parse_pdf('folder/pdfname.pdf'))
For other examples, check out our example script
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
pdfmap-0.2.1.tar.gz
(4.1 kB
view details)
Built Distribution
File details
Details for the file pdfmap-0.2.1.tar.gz
.
File metadata
- Download URL: pdfmap-0.2.1.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.9.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4814bc8a4417861b206d1e1c918dd669bf1f79adc8396fc64ad56783853b58e0 |
|
MD5 | e1f48a919a75b215580e3163bc4c99a2 |
|
BLAKE2b-256 | 7dfdccaac863e9b37a2fc0b6ae777986cba44bae971e423af624c8932472a4f1 |
File details
Details for the file pdfmap-0.2.1-py3-none-any.whl
.
File metadata
- Download URL: pdfmap-0.2.1-py3-none-any.whl
- Upload date:
- Size: 4.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.9.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 931a8f41badde9d7c6a37c2e0d24116d4e3a673b9c0b48604bff5c93af53f51b |
|
MD5 | 9dc831e32c22f39ca315ca645e9467ec |
|
BLAKE2b-256 | f68b7334c8684e9ccd6befe288c203264965587f75d7026022f633f511a8b8cf |