Pyodide based WASM frontend for faker-file Python package. Check the online-demo.
Open the index.html file in your favourite browser.
from faker import Faker
from faker_file.providers.txt_file import TxtFileProvider
from faker_file.providers.zip_file import ZipFileProvider
FAKER = Faker()
FAKER.add_provider(TxtFileProvider)
FAKER.add_provider(ZipFileProvider)
txt_file = FAKER.txt_file()
zip_file = FAKER.zip_file()
print(txt_file.data)
print(zip_file.data)
Keep the following hierarchy.
=====
title
=====
header
======
sub-header
----------
sub-sub-header
~~~~~~~~~~~~~~
sub-sub-sub-header
^^^^^^^^^^^^^^^^^^
sub-sub-sub-sub-header
++++++++++++++++++++++
sub-sub-sub-sub-sub-header
**************************
MIT
For security issues contact me at the e-mail given in the Author section.
For overall issues, go to GitHub.
Artur Barseghyan <[email protected]>