{ "info": { "author": "IARP", "author_email": "iarp.opensource@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Web Environment", "Framework :: Django", "Framework :: Django :: 1.11", "Framework :: Django :: 2.0", "Framework :: Django :: 2.1", "Framework :: Django :: 2.2", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Topic :: Internet", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "=============================\nWelcome to Django PDF Overlay\n=============================\n\nThis app is designed for developers working with PDF's\n\nSimple rundown:\n\n1. Supply a PDF document in the django-pdf-overlay admin screen.\n2. Create fields that match what you need filled out on the document\n3. Using the layout tool, move the fields to their respective locations on the document\n4. In your view, add similar to the following::\n\n # In this example I will load a user and pass it\n # to the PDF which has user.username as a field.\n from django.contrib.auth import get_user_model\n u = get_user_model().objects.get(pk=1)\n\n from django_pdf_overlay.models import Document\n doc = Document.objects.get(name='My Document')\n\n # Here we render the page(s) on the PDF\n doc.render_pages(user=u)\n\n # You can call render_pages multiple times to generate a single\n # PDF containing multiple copies of the base document.\n u2 = get_user_model().objects.get(pk=2)\n doc.render_pages(user=u2)\n\n # If you wish to generate an actual file that you can store\n # in a model or somewhere on your system.\n file = doc.render_as_document(filename='users_1_2.pdf')\n\n # Or if you want the document to auto-download to the user\n return doc.render_as_response(filename='users_1_2.pdf')\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/iarp/django-pdf-overlay", "keywords": "django pdf overlay", "license": "", "maintainer": "", "maintainer_email": "", "name": "django-pdf-overlay", "package_url": "https://pypi.org/project/django-pdf-overlay/", "platform": "", "project_url": "https://pypi.org/project/django-pdf-overlay/", "project_urls": { "Documentation": "https://django-pdf-overlay.readthedocs.io/en/latest/", "Homepage": "http://github.com/iarp/django-pdf-overlay", "Source": "https://github.com/iarp/django-pdf-overlay/", "Tracker": "https://github.com/iarp/django-pdf-overlay/issues" }, "release_url": "https://pypi.org/project/django-pdf-overlay/1.0.5/", "requires_dist": [ "Django (>=1.11)", "django-bootstrap4", "PyPDF2", "reportlab" ], "requires_python": "", "summary": "Fill PDFs from model instances", "version": "1.0.5" }, "last_serial": 5610295, "releases": { "1.0.5": [ { "comment_text": "", "digests": { "md5": "a72a526052521da14c3c3ff1ae784787", "sha256": "052e1d314be7b71112a6d60d8240a372746d2a5e86c1700226c3298c8d8b73fb" }, "downloads": -1, "filename": "django_pdf_overlay-1.0.5-py2-none-any.whl", "has_sig": false, "md5_digest": "a72a526052521da14c3c3ff1ae784787", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 1806752, "upload_time": "2019-07-30T21:46:56", "url": "https://files.pythonhosted.org/packages/d6/fb/22225302d2e86d15af731ee99cfe8a8d9c19312afdb0802f00ac0b830d47/django_pdf_overlay-1.0.5-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "daf42615d8aeaaa8fd253486c54d0763", "sha256": "00fd26c0e9ff3a3b968aad02f2595f1ed5c560111e6732776a208e7e9c3e434e" }, "downloads": -1, "filename": "django_pdf_overlay-1.0.5-py3-none-any.whl", "has_sig": false, "md5_digest": "daf42615d8aeaaa8fd253486c54d0763", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 1806566, "upload_time": "2019-07-30T16:29:03", "url": "https://files.pythonhosted.org/packages/6f/42/f9c5e450a427c195faf5046a724f87123797959af4f4c4e4607573851dd8/django_pdf_overlay-1.0.5-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "849593f8a121d5a9206dc286c0541439", "sha256": "64169ae9e7cad692b646239d57d16f44763c3324055288f5e0415c2eb89b439a" }, "downloads": -1, "filename": "django-pdf-overlay-1.0.5.tar.gz", "has_sig": false, "md5_digest": "849593f8a121d5a9206dc286c0541439", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1798228, "upload_time": "2019-07-30T16:29:12", "url": "https://files.pythonhosted.org/packages/c9/56/4f66a6eb9c3046da602bb8e9d305cfef7352e31f5f8d4d8343ffb8ea3646/django-pdf-overlay-1.0.5.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "a72a526052521da14c3c3ff1ae784787", "sha256": "052e1d314be7b71112a6d60d8240a372746d2a5e86c1700226c3298c8d8b73fb" }, "downloads": -1, "filename": "django_pdf_overlay-1.0.5-py2-none-any.whl", "has_sig": false, "md5_digest": "a72a526052521da14c3c3ff1ae784787", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 1806752, "upload_time": "2019-07-30T21:46:56", "url": "https://files.pythonhosted.org/packages/d6/fb/22225302d2e86d15af731ee99cfe8a8d9c19312afdb0802f00ac0b830d47/django_pdf_overlay-1.0.5-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "daf42615d8aeaaa8fd253486c54d0763", "sha256": "00fd26c0e9ff3a3b968aad02f2595f1ed5c560111e6732776a208e7e9c3e434e" }, "downloads": -1, "filename": "django_pdf_overlay-1.0.5-py3-none-any.whl", "has_sig": false, "md5_digest": "daf42615d8aeaaa8fd253486c54d0763", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 1806566, "upload_time": "2019-07-30T16:29:03", "url": "https://files.pythonhosted.org/packages/6f/42/f9c5e450a427c195faf5046a724f87123797959af4f4c4e4607573851dd8/django_pdf_overlay-1.0.5-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "849593f8a121d5a9206dc286c0541439", "sha256": "64169ae9e7cad692b646239d57d16f44763c3324055288f5e0415c2eb89b439a" }, "downloads": -1, "filename": "django-pdf-overlay-1.0.5.tar.gz", "has_sig": false, "md5_digest": "849593f8a121d5a9206dc286c0541439", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1798228, "upload_time": "2019-07-30T16:29:12", "url": "https://files.pythonhosted.org/packages/c9/56/4f66a6eb9c3046da602bb8e9d305cfef7352e31f5f8d4d8343ffb8ea3646/django-pdf-overlay-1.0.5.tar.gz" } ] }