Faker-file

Latest version: v0.18.1

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

Scan your dependencies

Page 7 of 13

0.12.5

------
2023-04-24

.. note::

In memory of the victims of the
`Armenian Genocide <https://en.wikipedia.org/wiki/Armenian_genocide>`_.

- Expose ``mp3_generator_cls`` and ``pdf_generator_cls`` CLI options
for ``mp3_file`` and ``pdf_file`` respectively.
- Add ``num_files`` CLI option for all providers.

0.12.4

------
2023-04-22

- Make it possible to load classes from strings for passing as arguments
to ``mp3_file`` and ``pdf_file`` providers.

0.12.3

------
2023-04-21

- Fixes in CLI options.

0.12.2

------
2023-04-20

- Fixes in CLI options.

0.12.1

------
2023-04-19

- Added CLI options.

0.12

----
2023-02-24

*Note, that this release introduces breaking changes!*

- Make it easy to use a different PDF library with ``PdfFileProvider`` by
adding ``pdf_generator_cls`` and ``pdf_generator_kwargs`` optional arguments
to the ``pdf_file`` method. Added ``ReportlabPdfGenerator`` class based on
the famous ``reportlab`` library. Default is still ``PdfkitPdfGenerator``.
Since ``encoding`` was something specific for ``pdfkit`` library,
it was moved from ``pdf_file`` method to ``PdfkitPdfGenerator``, to which it
can be passed in ``pdf_generator_kwargs``. If you have passed the
``encoding`` argument explicitly, make sure to make correspondent changes.
Note, that using the new ``ReportlabPdfGenerator`` class could speed-up PDF
generation by about 40 times.

Page 7 of 13

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.