Installing Easy PDF Creator. Before you install the software, log in Microsoft Windows with an Administrator privilege. After you run the install program, you will see a new printer added in your 'Control Panel'-'Printers and Faxes' with the name 'Easy PDF Creator'.Deploying Easy PDF Creator. Easy PDF file compression. Drag and drop or upload a PDF document to let Acrobat reduce its size. After compressing the file, you’ll find it’s simpler to work with and store. The best PDF compressor. Adobe invented the PDF format. Try the highest quality optimize PDF online tool to reduce the size of your PDF. Easy, pleasant and productive PDF editor. Split, merge or convert PDF to images, extract pages, alternate scans and many more.
Latest versionReleased:
Django PDF views, the easy way
Django PDF rendering, the easy way.
Developed at en.ig.ma software shop.
Note: A new PDF rendering backend using WeasyPrint for more accurate rendering is in development under the develop branch.See https://github.com/nigma/django-easy-pdf/pull/34 for changes, testing and discussion.
If you rely on the xhtml2pdf rendering backend and templates pin the package version to django-easy-pdf>=0.1.1<0.2.0.
This app makes rendering PDF files in Django really easy.It can be used to create invoices, bills and other documentsfrom simple HTML markup and CSS styles. You can even embed imagesand use custom fonts.
The library provides both Class-Based View that is almost a drop-inreplacement for Django’s TemplateView as well as helper functionsto render PDFs in the backend outside the request scope(i.e. using Celery workers).
Include django-easy-pdf, xhtml2pdf in your requirements.txt file.If you are on Python 3 you need to install the latest version of Reportlab and the beta version of xhtml2pdf:
Add easy_pdf to INSTALLED_APPS.
Create HTML template for PDF document and add a view that will render it:
You can also use a mixin to output PDF from Django generic views:
The full documentation is at django-easy-pdf.readthedocs.io.
A live demo is at easy-pdf.herokuapp.com.You can run it locally after installing dependencies by running python demo.pyscript from the cloned repository or through Docker with make demo.
django-easy-pdf depends on:
django-easy-pdf is released under the MIT license.
This app and many other help us build better softwareand focus on delivering quality projects faster.We would love to help you with your next project so get in touchby dropping an email at en@ig.ma.
0.2.0.dev1 pre-release
0.1.1
0.1.0
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Filename, size | File type | Python version | Upload date | Hashes |
---|---|---|---|---|
Filename, size django_easy_pdf-0.1.1-py2.py3-none-any.whl (11.5 kB) | File type Wheel | Python version 3.6 | Upload date | Hashes |
Algorithm | Hash digest |
---|---|
SHA256 | f7cb58e896791d28718219c54d2c8930e442fa1327817037e1c480bead77cddb |
MD5 | 87a959fe5857e94756dc731ad1aa2bb7 |
BLAKE2-256 | 1d281b86e9beb929e11afd3f0fdeb23ad680b8533811ac47742f234563a461b2 |