pdf_to_wordcloud
Generates a word cloud from a given PDF
Installation
$ pip install pdf_to_wordcloud
Arguments
Positional:
PDF: Name of PDF file from which to geneate the wordcloud
Optional:
--remove (-r): Removes word from wordcloud. Accepts multiple arguments (one per flag)
--save (-s): Saves wordcloud as PDF to current directory (no additional argument needed)
--saveto (-st): Saves wordcloud to specified directory
--mask (-m): PNG file to use as shape of wordcloud
--exportdata (-x): Save CSV of word frequency data
--filename (-n): Optional name of data and wordcloud files (omit .pdf/.csv)
Usage
Display wordcloud of file.pdf:
$ pdf file.pdf
Save image of wordcloud as PDF:
$ pdf file.pdf -s
Remove "this" and "that" from wordcloud and save:
$ pdf file.pdf -r this -r that -s
Remove "this" and "that" from wordcloud, export word frequency data and save both files with "my_output" filename:
$ pdf file.pdf -r this -r that -x -n my_output -s
Release files for pdf-to-wordcloud 0.0.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pdf_to_wordcloud-0.0.8.tar.gz | 22.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pdf_to_wordcloud-0.0.8-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 45.3 kB
Release files / pdf_to_wordcloud-0.0.8.tar.gz
| Download URL | pdf_to_wordcloud-0.0.8.tar.gz |
|---|---|
| Size | 22.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
84e5bceafde86696fa5960bc97b711f7b67d3b463b9c2180ed42b0b71be4c8f7
|
|
BLAKE2b-256 checksum How to use checksums |
5e08c8c10d631a8452e92c51e3e79131e23634aa486036f8ba5aae33fc2d7682
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.6
|
Release files / pdf_to_wordcloud-0.0.8-py3-none-any.whl
| Download URL | pdf_to_wordcloud-0.0.8-py3-none-any.whl |
|---|---|
| Size | 22.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
69beeb76f7eda0cdb594202d2f4cbd8d217475a8abcde0560826133f640d7fbb
|
|
BLAKE2b-256 checksum How to use checksums |
de96e89d8013b1848f9db8d94b98adfb1539714ae599152c01cbe79f66fd7228
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.6
|