Faker-file

Latest version: v0.17.11

Safety actively analyzes 642283 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 12

0.16.4

------
2023-07-01

- Documentation improvements. Added a dedicated section for creating ODT files.
- Adding ``add_paragraph`` and ``add_page_break`` to ``ODT`` contrib module.

0.16.3

------
2023-06-30

- Documentation improvements. Added a dedicated section for creating PDF files.
Added a dedicated section for creating DOCX files.
- Adding ``add_paragraph`` and ``add_page_break`` to ``DOCX`` contrib module.

0.16.2

------
2023-06-28

- Moving some of the snippets from tests to a ``contrib`` module to improve
usability. The snippets are generic enough to be used in tests and if you
don't like the way they work, you could always make a new one. New snippets
to insert page breaks and paragraphs into PDF (using both `pdfkit`_
and `reportlab`_ generators) have been added.

0.16.1

------
2023-06-23

- Better error handling in CLI.

0.16

----
2023-06-21

.. note::

This release is dedicated to my beloved son - Tigran, who turned 11!

.. note::

This release introduces minor backwards incompatible changes.

- Minor improvements in PDF generation. If you have been using
``DynamicTemplate`` to generate complex PDFs, you are likely affected
by the change. Make sure to at least add an additional argument
named ``generator`` to the functions passed to the ``DynamicTemplate``
class. See the example below:

Old:

``def add_pb(provider, story, data, counter, **kwargs):``

New:

``def add_pb(provider, generator, story, data, counter, **kwargs):``

- Add code examples of how to generate a PDF with 100 pages with
both ``PdfkitPdfGenerator`` and ``ReportlabPdfGenerator`` PDF generator
classes.
- Add ``version`` CLI command.
- Add ``generate-completion`` and ``version`` commands to the CLI
auto-completion.

0.15.5

------
2023-06-18

- Minor fixes and documentation improvements.

Page 3 of 12

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.