Fake.py

Latest version: v0.7.4

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

Scan your dependencies

Page 1 of 5

0.7.4

-----
2024-06-28

- Add CLI.

0.7.3

-----
2024-06-21

.. note::

Release dedicated to my dear son Tigran, who turned 12 today.

- Add ``text_pdf`` and ``text_pdf_file`` providers, which are shortcuts for
``pdf`` and ``pdf_file`` with ``generator`` set to ``TextPdfGenerator``.
- Allow to optionally tag providers.
- Tag all implemented providers.

0.7.2

-----
2024-06-17

- Add basic ``slugify`` function.
- Minor fixes in ``free_email`` and ``company_email`` providers.

0.7.1

-----
2024-06-11

- Test against SQLModel. Also included SQLModel examples.
- Improve docs.

0.7

---
2024-06-09

.. note::

This release contains minor backwards incompatible changes. Namely,
in the ``email`` provider.

- The ``domain`` (type: ``str``, default value: ``example.com``) argument
of the ``email`` provider has been dropped in favour
of ``domain_names`` (type: ``Optional[Tuple[str]``, default value: ``None``).
- Added a dedicated ``PydanticModelFactory`` (yet equal to ``ModelFactory``)
for future improvements.
- Added ``PreInit`` factory class and ``pre_init`` decorator.
- Improved documentation of factories.
- Added ``random_choice`` and ``random_sample`` providers.
- Added ``tld``, ``domain_name``, ``free_email_domain``, ``company_email``
and ``free_email`` providers.

0.6.9

-----
2024-05-10

- Minor fixes in ``pdf_file`` and ``docx_file`` providers.
- Minor fixes in docs.

Page 1 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.