معرفی شرکت ها


django-easy-pdf3-0.1.4


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

Django PDF views, the easy way
ویژگی مقدار
سیستم عامل -
نام فایل django-easy-pdf3-0.1.4
نام django-easy-pdf3
نسخه کتابخانه 0.1.4
نگهدارنده ['Romaniuk Oleksandr']
ایمیل نگهدارنده ['oleksandr.romaniuk@protonmail.com']
نویسنده Filip Wasilewski
ایمیل نویسنده en@ig.ma
آدرس صفحه اصلی https://github.com/olksndrdevhub/django-easy-pdf3
آدرس اینترنتی https://pypi.org/project/django-easy-pdf3/
مجوز MIT
Django PDF rendering ==================== Django PDF rendering, the easy way. .. image:: https://circleci.com/gh/nigma/django-easy-pdf/tree/master.svg?style=svg :target: https://circleci.com/gh/nigma/django-easy-pdf/tree/master :alt: Build Status .. image:: https://img.shields.io/pypi/v/django-easy-pdf3 :target: https://pypi.python.org/pypi/django-easy-pdf3/ :alt: Latest Version .. image:: https://img.shields.io/badge/wheel-yes-green.svg :target: https://pypi.python.org/pypi/django-easy-pdf3/ :alt: Wheel .. image:: https://img.shields.io/pypi/l/django-easy-pdf3 :target: https://pypi.python.org/pypi/django-easy-pdf3/ :alt: License Developed at `en.ig.ma software shop <http://en.ig.ma>`_. Development Version ------------------- Info: Add support for Django 4 in 0.1.4 version Note: This fork support Django>=2.0 with "xhtml2pdf" as rendering backend! Support with WeasyPrint is not tested! 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. Overview -------- This app makes rendering PDF files in Django really easy. It can be used to create invoices, bills and other documents from simple HTML markup and CSS styles. You can even embed images and use custom fonts. The library provides both Class-Based View that is almost a drop-in replacement for Django's ``TemplateView`` as well as helper functions to render PDFs in the backend outside the request scope (i.e. using Celery workers). Quickstart ---------- 1. Install django-easy-pdf3 package: $ pip install django-easy-pdf3 or add ``django-easy-pdf3`` to your requirements.txt 2. Add ``easy_pdf`` to ``INSTALLED_APPS``. 3. Create HTML template for PDF document and add a view that will render it: .. code-block:: css+django {% extends "easy_pdf/base.html" %} {% block content %} <div id="content"> <h1>Hi there!</h1> </div> {% endblock %} .. code-block:: python from easy_pdf.views import PDFTemplateView class HelloPDFView(PDFTemplateView): template_name = 'hello.html' 4. You can also use a mixin to output PDF from Django generic views: .. code-block:: python class PDFUserDetailView(PDFTemplateResponseMixin, DetailView): model = get_user_model() template_name = 'user_detail.html' Documentation ------------- The full documentation is at `django-easy-pdf.readthedocs.io <https://django-easy-pdf.readthedocs.io/>`_. A live demo is at `easy-pdf.herokuapp.com <https://easy-pdf.herokuapp.com/>`_. You can run it locally after installing dependencies by running ``python demo.py`` script from the cloned repository or through Docker with ``make demo``. Dependencies ------------ ``django-easy-pdf3`` depends on: - ``django>=2.0`` - ``xhtml2pdf>=0.2b1`` - ``reportlab`` License ------- ``django-easy-pdf3`` is released under the MIT license. Other Resources --------------- - GitHub repository - https://github.com/olksndrdevhub/django-easy-pdf3 - PyPi Package site - https://pypi.python.org/pypi/django-easy-pdf3 - Docs - https://django-easy-pdf.readthedocs.io/ - Bug Tracker - https://github.com/olksndrdevhub/django-easy-pdf3/issues Commercial Support ------------------ This app and many other help us build better software and focus on delivering quality projects faster. We would love to help you with your next project so get in touch by dropping an email at en@ig.ma. History ------- 0.1.4 (2021-01-30) ++++++++++++++++++ * Add Django 4 support 0.1.2 (2021-01-30) ++++++++++++++++++ * Update for Django >= 2.0 <= 3.1 0.1.1 (2017-04-19) ++++++++++++++++++ * Update for Django 1.11 and Python 3 0.1.0 (2014-01-24) ++++++++++++++++++ * First release


نیازمندی

مقدار نام
>=2.0 django
>=0.2b1 xhtml2pdf
>=3 reportlab


نحوه نصب


نصب پکیج whl django-easy-pdf3-0.1.4:

    pip install django-easy-pdf3-0.1.4.whl


نصب پکیج tar.gz django-easy-pdf3-0.1.4:

    pip install django-easy-pdf3-0.1.4.tar.gz