{ "info": { "author": "Hongze Xia", "author_email": "", "bugtrack_url": null, "classifiers": [], "description": "pdf_annot\n=========\n\nUtilities to extract and merge PDF annotations\n\n## Installation\n\n```bash\npython setup.py install # or pip install pdf_annot\n```\n\n## Usage\n\n### extract annotations from PDF and save as JSON\n\n```shell\npython -m pdf_annot.extract --pdf \"path/to/pdf\"\n```\n\n### cmd usage\n```\npython -m pdf_annot.extract -h\nusage: extract annotations from PDF and save as JSON in the same folder\n [-h] -p PDF\n\noptional arguments:\n -h, --help show this help message and exit\n -p PDF, --pdf PDF\n```\n\n### attach JSON annotations to an exsiting PDF\n\n```shell\npython -m pdf_annot.attach -p \"path/to/pdf\" -a \"path/to/first/annot/json\" [\"path/to/second/annot/json\"] ...\n```\n\n### cmd usage\n\n```\npython -m pdf_annot.attach -h\nusage: attach JSON annotations to a PDF and save a new PDF in the same folder (with '- annotated' appended)\n [-h] -p PDF [-a ANNOTS [ANNOTS ...]] [--prune]\n\noptional arguments:\n -h, --help show this help message and exit\n -p PDF, --pdf PDF\n -a ANNOTS [ANNOTS ...], --annots ANNOTS [ANNOTS ...]\n annotation jsons, one annotation per line\n --prune prune old annotations from the pdf\n```\n\n## Notes\n\nAt the moment, only textual kind of annotations are supported. For more information, please view `annotation.py`.\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/xiahongze/pdf_annot", "keywords": "", "license": "GPL-3", "maintainer": "Hongze Xia", "maintainer_email": "hongzex@gmail.com", "name": "pdf-annot", "package_url": "https://pypi.org/project/pdf-annot/", "platform": "", "project_url": "https://pypi.org/project/pdf-annot/", "project_urls": { "Homepage": "https://github.com/xiahongze/pdf_annot" }, "release_url": "https://pypi.org/project/pdf-annot/0.1.0/", "requires_dist": [ "python-version (>=3.7)", "PyMuPDF (>=1.16)" ], "requires_python": "", "summary": "Utilities to extract and merge PDF annotations", "version": "0.1.0" }, "last_serial": 5999425, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "6fd3ce35d51ef238a852d06caf616380", "sha256": "6d72af5120918e88a9b8434c716cf1b228660bff4c4df410b43a3c69ae5ef8db" }, "downloads": -1, "filename": "pdf_annot-0.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "6fd3ce35d51ef238a852d06caf616380", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 16483, "upload_time": "2019-10-19T10:19:30", "url": "https://files.pythonhosted.org/packages/5c/16/b4ee18c25a27875aa79f2b22593d138f087cb69bcc777d7e387cd1f7d3cf/pdf_annot-0.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "4511eaf5373c81ed9f5288ea32a29ba7", "sha256": "e74af79eaad7f1e4b16eadd141169886a3a6c2f21fedc2ce2c082030399f1efe" }, "downloads": -1, "filename": "pdf_annot-0.1.0.tar.gz", "has_sig": false, "md5_digest": "4511eaf5373c81ed9f5288ea32a29ba7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3116, "upload_time": "2019-10-19T10:19:33", "url": "https://files.pythonhosted.org/packages/26/63/df9a83e272b5e3ac30e6b2086b8517d325ba04b13b80b08fd2f57a2a734f/pdf_annot-0.1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "6fd3ce35d51ef238a852d06caf616380", "sha256": "6d72af5120918e88a9b8434c716cf1b228660bff4c4df410b43a3c69ae5ef8db" }, "downloads": -1, "filename": "pdf_annot-0.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "6fd3ce35d51ef238a852d06caf616380", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 16483, "upload_time": "2019-10-19T10:19:30", "url": "https://files.pythonhosted.org/packages/5c/16/b4ee18c25a27875aa79f2b22593d138f087cb69bcc777d7e387cd1f7d3cf/pdf_annot-0.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "4511eaf5373c81ed9f5288ea32a29ba7", "sha256": "e74af79eaad7f1e4b16eadd141169886a3a6c2f21fedc2ce2c082030399f1efe" }, "downloads": -1, "filename": "pdf_annot-0.1.0.tar.gz", "has_sig": false, "md5_digest": "4511eaf5373c81ed9f5288ea32a29ba7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3116, "upload_time": "2019-10-19T10:19:33", "url": "https://files.pythonhosted.org/packages/26/63/df9a83e272b5e3ac30e6b2086b8517d325ba04b13b80b08fd2f57a2a734f/pdf_annot-0.1.0.tar.gz" } ] }