{ "info": { "author": "Andrea Bruschi", "author_email": "moonx2006@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "License :: OSI Approved :: GNU General Public License v3 (GPLv3)", "Programming Language :: Python :: 3.6", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "# pylovepdf 1.3.1\n\nilovepdf.com python API library\n\n## What it does\n\nThis library allow to manipulate pdf using the API of http://www.ilovepdf.com. See the Tools section to know what you can do.\n\n### Prerequisites\n\n* [developer account] (https://developer.ilovepdf.com) to get a public key to use the API.\n* [Python 3.x.x]\n* [Requests] (http://it.python-requests.org/it/latest/)\n\n## Installation\n\n```\npip install pylovepdf\n```\n\n## Manual installation\n\nDownload the latest release.\n```\npython setup.py install\n```\n\n## Getting started\n\nExample files are located inside samples/.\nChange file paths and the public_key parameter with the one you found in your developer account (See prerequisites).\nRun the files and enjoy.\n\n## Tools\nCurrently the following tools are available:\n\n* compress (Reduce the size of pdf files)\n* imagepdf (Converts an image to pdf)\n* merge (Merge multiple pdf into single file)\n* officepdf (Office document to pdf conversion)\n* pagenumber (Place numbers on pages)\n* pdfa (Converts into PDF/A)\n* pdfjpg (Converts a pdf into jpeg image)\n* protect (Add password to a pdf)\n* rotate (Rotates the pages of a file)\n* split (Split a pdf)\n* unlock (Remove the password security from the pdf, the coolest feature ever!)\n* validatepdfa (Checks the conformity of PDF/A format)\n* watermark (Adds watermark to the file)\n\n## Example Usage (compress tool)\n```python\nfrom pylovepdf.ilovepdf import ILovePdf\n\nilovepdf = ILovePdf('public_key', verify_ssl=True)\ntask = ilovepdf.new_task('compress')\ntask.add_file('pdf_file')\ntask.set_output_folder('output_directory')\ntask.execute()\ntask.download()\ntask.delete_current_task()\n```\n\n## Alternative Example Usage (compress tool)\nA tool can be created directly:\n```python\nfrom pylovepdf.tools.compress import Compress\n\nt = Compress('public_key', verify_ssl=True)\nt.add_file('pdf_file')\nt.set_output_folder('output_directory')\nt.execute()\nt.download()\nt.delete_current_task()\n```\n## Documentation\n\nPlease see https://developer.ilovepdf.com/docs for up-to-date documentation.\n\n## Built With\n\n* [pyCharm](https://www.jetbrains.com/pycharm/) - python IDE\n\n## Versioning\n\nI use [SemVer](http://semver.org/) for versioning.\n\n## Authors\n\n* **Andrea Bruschi** - *Initial work* - [AndyBTuttofare](https://github.com/AndyBTuttofare)\n\n## Acknowledgments\n\n* mumble mumble..", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/AndyBTuttofare/pylovepdf", "keywords": "pdf unlock compress manipulate edit protect pdftojpg jpgtopdf pdfa", "license": "GNU GPLv3", "maintainer": "", "maintainer_email": "", "name": "pylovepdf", "package_url": "https://pypi.org/project/pylovepdf/", "platform": "", "project_url": "https://pypi.org/project/pylovepdf/", "project_urls": { "Homepage": "https://github.com/AndyBTuttofare/pylovepdf" }, "release_url": "https://pypi.org/project/pylovepdf/1.3.1/", "requires_dist": null, "requires_python": "", "summary": "ilovepdf.com python API library", "version": "1.3.1" }, "last_serial": 3722064, "releases": { "1.3.0": [ { "comment_text": "", "digests": { "md5": "67cfd48e4b53fa378348881ec1de5f03", "sha256": "ba9d2be9625787a4739cd2b866b1f1183d859ff1118bab1cd45d0d9f21c58f5e" }, "downloads": -1, "filename": "pylovepdf-1.3.0.tar.gz", "has_sig": false, "md5_digest": "67cfd48e4b53fa378348881ec1de5f03", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 22777, "upload_time": "2018-02-22T19:39:50", "url": "https://files.pythonhosted.org/packages/17/c6/d94cde6a4fe4f67a24e38d3909229cb831274dbea53953f982d3738b784a/pylovepdf-1.3.0.tar.gz" } ], "1.3.1": [ { "comment_text": "", "digests": { "md5": "c89bc728389a96e93733a3a1277da9fc", "sha256": "f80393593e2969a2249a8d077281c745a78be24785d2ab3c057864acd6251f30" }, "downloads": -1, "filename": "pylovepdf-1.3.1.tar.gz", "has_sig": false, "md5_digest": "c89bc728389a96e93733a3a1277da9fc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 22842, "upload_time": "2018-03-31T12:33:00", "url": "https://files.pythonhosted.org/packages/d3/3d/7f83ef7e300b1b38906296d73ffccf2336c9be62bfb34a25b1852e44fd66/pylovepdf-1.3.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "c89bc728389a96e93733a3a1277da9fc", "sha256": "f80393593e2969a2249a8d077281c745a78be24785d2ab3c057864acd6251f30" }, "downloads": -1, "filename": "pylovepdf-1.3.1.tar.gz", "has_sig": false, "md5_digest": "c89bc728389a96e93733a3a1277da9fc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 22842, "upload_time": "2018-03-31T12:33:00", "url": "https://files.pythonhosted.org/packages/d3/3d/7f83ef7e300b1b38906296d73ffccf2336c9be62bfb34a25b1852e44fd66/pylovepdf-1.3.1.tar.gz" } ] }