Skip to content

Releases: barseghyanartur/faker-file

0.17.11

20 Nov 23:51
32d23a2
Compare
Choose a tag to compare
  • Minor documentation fixes.

0.17.10

19 Nov 00:28
68b1293
Compare
Choose a tag to compare
  • Make text_extractor_cls and text_augmenter_cls arguments of the
    AugmentFileFromDirProvider provider access string values (to load
    requested class from path given).
  • Add TextaugmentAugmenter based on textaugment_ package (very
    lightweight) and make it a default text augmenter.
  • Minor documentation fixes.
  • Optimized GitHub CI.

0.17.9

09 Oct 22:06
68baba4
Compare
Choose a tag to compare
  • Improvements and fixes in the documentation.
  • Announcing feature plans to change default PDF and Image generators
    to Pillow based ones, instead of wkhtmltopdf in version 0.18.

0.17.8

21 Sep 22:05
cf7eff0
Compare
Choose a tag to compare
    This release is dedicated to the victims of the war in Artsakh
    (Nagorno-Karabakh), a land now lost to its native inhabitants (Armenians).
    Following a grueling nine-month blockade, Azerbaijan initiated another
    military onslaught on September 19, 2023. The already weakened and
    outnumbered forces of Artsakh could no longer mount an effective
    resistance.
  • Added support for DynamicTemplate to all non-graphic image providers.
    That means, that you can produce images with text, tables, various
    headings and other images. Correspondent snippets are implemented for all
    supported image generators; namely reportlab, WeasyPrint and
    Pillow_.

0.17.7

11 Sep 22:54
Compare
Choose a tag to compare
  • Added GTTS_MP3_GENERATOR and EDGE_TTS_MP3_GENERATOR to
    the mp3_file provider import options.

0.17.6

11 Sep 22:54
5502b1b
Compare
Choose a tag to compare
  • Added add_paragraph, add_picture, add_heading_h1 and other
    heading helpers to pil_snippets contrib module.

0.17.5

22 Aug 22:56
Compare
Choose a tag to compare
    This release might introduces minor backwards incompatible changes only
    if you have written own- or customized existing- image providers and used
    them in combination with `WeasyPrint`_-based image generator. A new
    property named ``image_format`` has been added to all image-based
    providers and the ``WeasyPrintImageGenerator`` is using that instead
    of formerly used ``extension`` property.
  • Added PilImageGenerator (for text-to-image).
  • Added PilPdfGenerator (for text-to-image).

0.17.4

18 Aug 07:42
11a15ea
Compare
Choose a tag to compare
    Release is dedicated to the victims and de-facto hostages of
    the `Blockade of the Republic of Artsakh`_. Have you ever heard
    of `Armenian genocide`_? It's happening again. For more than 8 months,
    Azerbaijan has launched an illegal blockade of the Republic of Artsakh,
    including critical civilian infrastructure such as gas, electricity and
    roads connecting Armenia and Artaskh. Shortages of essential goods –
    including electricity, fuel, and water reserves – are widespread and
    emergency reserves are being rationed. The blockade has resulted in
    significant medical and food shortages in Artsakh, leading to increased
    health complications, as reported by Artsakh Healthcare ministry.

     - Deaths due to cardiovascular diseases doubled in the first seven
       months of the year, with a particular surge in July-August.
     - Deaths from malignant tumors rose by 15.9% over the same period due
       to lack of medications and medical aid.
     - New cases of stroke and heart attacks increased by 26% and 9.7%
       respectively.
     - Newly diagnosed cases of malignant tumors rose by 24.3%.
     - Around 90% of monitored pregnant women developed anemia from poor
       nutrition and medication shortages.
     - While overall abortion numbers remained stable, medically indicated
       abortions quadrupled in July due to factors like stress and
       inadequate nutrition.
     - Reports of fainting surged by 91% in July-August.
     - Emergency calls for high blood pressure saw a 5.6-fold increase in
       July-August.

    The dire health outcomes are attributed to the blockade's impact,
    including medication shortages, stress, disrupted medical procedures,
    and restricted healthcare access. The Artsakh Health Ministry warns of
    further deterioration if the blockade continues, emphasizing the systemic
    challenges in healthcare delivery due to the blockade.
  • Added AugmentRandomImageFromDirProvider
    and AugmentImageFromPathProvider providers for basic image augmentation.
  • Added storage to metadata for all providers for easy clean-up of files.
  • Added unlink method to all storages for easy clean-up of files.
  • Added FileRegistry to keep track of all files created and introduce
    functionality for cleaning up the files.
  • Stop testing against Python 3.7.

0.17.3

02 Aug 23:11
Compare
Choose a tag to compare
    In memory of Sinead O'Connor.
  • Allow to pass image argument (bytes) to the contrib add_picture functions.
  • Documentation improvements.

0.17.2

25 Jul 22:18
250752c
Compare
Choose a tag to compare
  • Added JSON file provider.