pdf_annot
Utilities to extract and merge PDF annotations
Installation
python setup.py install # or pip install pdf_annot
Usage
extract annotations from PDF and save as JSON
python -m pdf_annot.extract --pdf "path/to/pdf"
cmd usage
python -m pdf_annot.extract -h
usage: extract annotations from PDF and save as JSON in the same folder
[-h] -p PDF
optional arguments:
-h, --help show this help message and exit
-p PDF, --pdf PDF
attach JSON annotations to an exsiting PDF
python -m pdf_annot.attach -p "path/to/pdf" -a "path/to/first/annot/json" ["path/to/second/annot/json"] ...
cmd usage
python -m pdf_annot.attach -h
usage: attach JSON annotations to a PDF and save a new PDF in the same folder (with '- annotated' appended)
[-h] -p PDF [-a ANNOTS [ANNOTS ...]] [--prune]
optional arguments:
-h, --help show this help message and exit
-p PDF, --pdf PDF
-a ANNOTS [ANNOTS ...], --annots ANNOTS [ANNOTS ...]
annotation jsons, one annotation per line
--prune prune old annotations from the pdf
Notes
At the moment, only textual kind of annotations are supported. For more information, please view annotation.py.
Metadata
Release files for pdf-annot 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pdf_annot-0.1.0.tar.gz | 3.1 kB | Without provenance | Details for pdf_annot-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pdf_annot-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for pdf_annot-0.1.0-py3-none-any.whl |
Total release size: 19.6 kB
Release files / pdf_annot-0.1.0.tar.gz
| Download URL | pdf_annot-0.1.0.tar.gz |
|---|---|
| Size | 3.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e74af79eaad7f1e4b16eadd141169886a3a6c2f21fedc2ce2c082030399f1efe
|
|
BLAKE2b-256 checksum How to use checksums |
2663df9a83e272b5e3ac30e6b2086b8517d325ba04b13b80b08fd2f57a2a734f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.1.0 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3
|
Release files / pdf_annot-0.1.0-py3-none-any.whl
| Download URL | pdf_annot-0.1.0-py3-none-any.whl |
|---|---|
| Size | 16.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6d72af5120918e88a9b8434c716cf1b228660bff4c4df410b43a3c69ae5ef8db
|
|
BLAKE2b-256 checksum How to use checksums |
5c16b4ee18c25a27875aa79f2b22593d138f087cb69bcc777d7e387cd1f7d3cf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.1.0 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3
|
Security for pdf-annot 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.