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 5 of 13

0.15.3

------
2023-06-14

- Add ``SFTPStorage`` and correspondent tests.

0.15.2

------
2023-06-08

- Add optional ``subject`` argument to the ``EmlFileProvider``. Update
tests accordingly.
- Add data integrity tests.

0.15.1

------
2023-06-06

- Added ``FileFromPathProvider`` provider, which simply picks a file
from path given. Add correspondent ``create_inner_file_from_path``
inner function.

0.15

----
2023-06-05

- Added ``format_func`` argument to most of the providers. This allows to
control which formatter function will be used as a default formatter.
Previously it has been ``faker.provider.Python.pystr_format``, which has
been changed to ``faker.provider.Python.parse``, since the latter is
more convenient (as it does not transform characters
like ``?``, ``!``, ` into something else using ``bothify`` method).
To revert this behaviour, make sure to pass a callable
function ``faker_file.base.pystr_format_func`` in ``format_func`` argument
to each correspondent provider or inner function.
- Added ``create_inner_random_file_from_dir`` inner function.
- Tested against Django 4.2.
- Stop testing against Django 2.2.

0.14.5

------
2023-05-11

- Minor fixes in ``xml_file`` provider.

0.14.4

------
2023-05-11

- Changed type of ``data_columns`` for ``xml_file`` provider from
``Sequence[Tuple[str, str]]`` to ``Dict[str, str]``.
- In the ``pdf_file`` provider, changed default value of ``pdf_generator_cls``
from concrete ``PdfkitPdfGenerator`` value to its' string representation
faker_file.providers.pdf_file.generators.pdfkit_generator.PdfkitPdfGenerator.
- In the ``mp3_file`` provider, changed default value of ``mp3_generator_cls``
from concrete ``GttsMp3Generator`` value to its' string representation
faker_file.providers.mp3_file.generators.gtts_generator.GttsMp3Generator.

Page 5 of 13

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.