Skip to content

barseghyanartur/faker-file-wasm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

faker-file-wasm

Pyodide based WASM frontend for faker-file Python package. Check the online-demo.

Running locally

Open the index.html file in your favourite browser.

Usage examples

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)

Writing documentation

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
**************************

License

MIT

Support

For security issues contact me at the e-mail given in the Author section.

For overall issues, go to GitHub.

Author

Artur Barseghyan <artur.barseghyan@gmail.com>

Releases

No releases published

Packages

No packages published

Languages