{ "info": { "author": "James Wanderi", "author_email": "wanderi@wanderi.me", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: Implementation :: PyPy", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "========\nSendpdf\n========\n\nSendpdf is a simple Django app that can be used to generate PDF documents from html templates.\n\nIt can handle images and css very well. The generated PDF can then be displayed in the browser for printing and saving.\n\nAlternatively, one can send the PDF to one or many email addresses.\n\nIt has been tested with Django==1.9.\n\nDetailed documentation is in the `official page `_.\n\nQuick start\n--------------\n\n1. Install django-sendpdf:\n\n.. code-block:: bash\n\n $ pip install django-sendpdf\n\n2. Install wkhtmltopdf:\n\n* Debian/Ubuntu:\n\n.. code-block:: bash\n\n $ sudo apt-get install wkhtmltopdf\n\n**Warning!** Version in debian/ubuntu repos have reduced functionality (because it compiled without the wkhtmltopdf QT patches), such as adding outlines, headers, footers, TOC etc. To use this options you should install static binary from `wkhtmltopdf `_ site or you can use `this script `_.\n\n* Windows and other options: check wkhtmltopdf `homepage `_ for binary installers\n\n\n3. Add \"sendpdf\" to your INSTALLED_APPS setting like this::\n\n INSTALLED_APPS = (\n ...\n 'sendpdf',\n )\n\n4. In your Django settings add the location of wkhtmltopdf, default location is **/usr/local/bin/wkhtmltox/bin/wkhtmltopdf**, like this::\n\n WKTHMLTOPDF_PATH = \"wkhtmltopdf/path/here\"\n\n4. Include the sendpdf URLconf in your project urls.py like this::\n\n url(r'^sendpdf/', include('sendpdf.urls', namespace='sendpdf')),\n\n5. Run `python manage.py runserver` to see some demos:\n\n `Template example `_\n\n `View PDF inline `_\n\n `Dewnload PDF `_\n\n `Send PDF `_", "description_content_type": null, "docs_url": null, "download_url": "https://github.com/kutakitu/django-sendpdf/tarball/0.1.3", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://django-sendpdf.readthedocs.io/en/latest", "keywords": "django,PDF,create,templates", "license": "MIT License", "maintainer": "", "maintainer_email": "", "name": "django-sendpdf", "package_url": "https://pypi.org/project/django-sendpdf/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-sendpdf/", "project_urls": { "Download": "https://github.com/kutakitu/django-sendpdf/tarball/0.1.3", "Homepage": "http://django-sendpdf.readthedocs.io/en/latest" }, "release_url": "https://pypi.org/project/django-sendpdf/0.1.2/", "requires_dist": [ "pdfkit" ], "requires_python": "", "summary": "Generate PDF from html templates and print, view or send via email", "version": "0.1.2" }, "last_serial": 2518280, "releases": { "0.1.1": [ { "comment_text": "", "digests": { "md5": "9df0ccfb6b429a7cb4336ad36472d04e", "sha256": "405e8ac9cc3ed89ade30157be7a00e28e3b5ecc6e00f9c6676ce5dd7d25582f9" }, "downloads": -1, "filename": "django_sendpdf-0.1.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "9df0ccfb6b429a7cb4336ad36472d04e", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 8464, "upload_time": "2016-05-29T17:19:07", "url": "https://files.pythonhosted.org/packages/2f/2e/9810183c098747424b07a219a5233c654b3a7949d7dccdeaa3bc920803da/django_sendpdf-0.1.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "57cd8e9ee6424d02c3ef30c1c9115f7f", "sha256": "ccb615dfca763530a965f37090dff7f30cd5a9a85f6a91ef7856cf9e95eb8c1f" }, "downloads": -1, "filename": "django-sendpdf-0.1.1.tar.gz", "has_sig": false, "md5_digest": "57cd8e9ee6424d02c3ef30c1c9115f7f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6059, "upload_time": "2016-05-29T17:19:11", "url": "https://files.pythonhosted.org/packages/94/cb/e80fe4ac76a226ae1f8555e5c13e18927cf70f41cde537a043ced62494e9/django-sendpdf-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "85fd249af94f62599eaa7ba72e690807", "sha256": "1424d71f6eea2874e95963828463b65ae5eb946b85c6eecdd3e068cb985ff822" }, "downloads": -1, "filename": "django_sendpdf-0.1.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "85fd249af94f62599eaa7ba72e690807", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 22164, "upload_time": "2016-12-14T10:24:58", "url": "https://files.pythonhosted.org/packages/83/a8/8e3b80c5c2ff85379ed5acacaf23b7ff4bfaf33c72d4ee43bd18cde9bf9c/django_sendpdf-0.1.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "9abc4313054883b32d92c0034ecf95ce", "sha256": "ea29affc1ac80d57999076a29f1db326ec98579d3e2e828e7a18c47185ac59ad" }, "downloads": -1, "filename": "django-sendpdf-0.1.2.tar.gz", "has_sig": false, "md5_digest": "9abc4313054883b32d92c0034ecf95ce", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19005, "upload_time": "2016-12-14T10:25:00", "url": "https://files.pythonhosted.org/packages/3e/1d/c6e66a7e4fb7e2433e2a46143f721eb77d1e353565253d9f0738f9262e18/django-sendpdf-0.1.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "85fd249af94f62599eaa7ba72e690807", "sha256": "1424d71f6eea2874e95963828463b65ae5eb946b85c6eecdd3e068cb985ff822" }, "downloads": -1, "filename": "django_sendpdf-0.1.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "85fd249af94f62599eaa7ba72e690807", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 22164, "upload_time": "2016-12-14T10:24:58", "url": "https://files.pythonhosted.org/packages/83/a8/8e3b80c5c2ff85379ed5acacaf23b7ff4bfaf33c72d4ee43bd18cde9bf9c/django_sendpdf-0.1.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "9abc4313054883b32d92c0034ecf95ce", "sha256": "ea29affc1ac80d57999076a29f1db326ec98579d3e2e828e7a18c47185ac59ad" }, "downloads": -1, "filename": "django-sendpdf-0.1.2.tar.gz", "has_sig": false, "md5_digest": "9abc4313054883b32d92c0034ecf95ce", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19005, "upload_time": "2016-12-14T10:25:00", "url": "https://files.pythonhosted.org/packages/3e/1d/c6e66a7e4fb7e2433e2a46143f721eb77d1e353565253d9f0738f9262e18/django-sendpdf-0.1.2.tar.gz" } ] }