Create files with fake data. In many formats. With no efforts.
MIT License
Published by barseghyanartur over 1 year ago
Moved several interface classes from one location to another. If you haven't
implemented custom generators, this won't affect you. If you did, make sure
to update your imports:
BaseTextAugmenter
has been moved fromfaker_file.providers.augment_file_from_dir.augmenters.base
tofaker_file.providers.base.text_augmenter
.BaseTextExtractor
has been moved fromfaker_file.providers.augment_file_from_dir.extractors.base
tofaker_file.providers.base.text_extractor
.BaseMp3Generator
has been moved fromfaker_file.providers.mp3_file.generators.base
tofaker_file.providers.base.mp3_generator
.Published by barseghyanartur over 1 year ago
filename
to data
of response objects (StringValue
, BytesValue
).Published by barseghyanartur over 1 year ago
Published by barseghyanartur almost 2 years ago
raw=True
argument (works with all provider classes and inner functions).Published by barseghyanartur almost 2 years ago
TarFileProvider
and create_inner_tar_file
function.OdpFileProvider
and create_inner_odp_file
function.Published by barseghyanartur almost 2 years ago
EPUB
document layout.PDF
document layout.Published by barseghyanartur almost 2 years ago
model_name
and action
arguments to the ContextualWordEmbeddingsAugmenter
.bert-base-cased
with bert-base-multilingual-cased
as a default model for ContextualWordEmbeddingsAugmenter
.PPTX
document layout.Published by barseghyanartur almost 2 years ago
[common]
to install everything except ML libraries.Published by barseghyanartur almost 2 years ago
gtts
.Published by barseghyanartur almost 2 years ago
OdtFileProvider
and create_inner_odt_file
function.EdgeTtsMp3Generator
.Published by barseghyanartur almost 2 years ago
AugmentFileFromDirProvider
provider for making augmented copies of randomly picked files from given directory.Published by barseghyanartur almost 2 years ago
fuzzy_choice_create_inner_file
inner function.MaryTTS
example (another MP3 generator for Mp3FileProvider
).Published by barseghyanartur almost 2 years ago
mp3_generator_kwargs
argument to the create_inner_mp3_file
function.Published by barseghyanartur almost 2 years ago
Improvements of the mp3_file
module:
Mp3FileProvider
in the generator
argument if BaseMp3Generator
(and all implementations).handle_kwargs
method in the BaseMp3Generator
to handle arbitrary provider specific tuning.EdgeTtsMp3Generator
MP3 generator.mp3_generator_kwargs
argument to the Mp3FileProvider.mp3_file
method.Published by barseghyanartur almost 2 years ago
Mp3FileProvider
.create_inner_mp3_file
inner function.Published by barseghyanartur almost 2 years ago
ZipFileProvider
.Published by barseghyanartur almost 2 years ago
Note, that this release introduces breaking changes!
create_inner_*_file
functions from faker_file.providers.zip_file
to faker_file.providers.helpers.inner
module. Adjust your imports accordingly.EmlFileProvider
.create_inner_eml_file
inner function.Published by barseghyanartur almost 2 years ago
EpubFileProvider
provider.Published by barseghyanartur almost 2 years ago
RrfFileProvider
.SQLAlchemy
factory example.Published by barseghyanartur almost 2 years ago