Skip to main content
added 38 characters in body
Source Link
Jeanne Holm
  • 4.4k
  • 1
  • 19
  • 40

There isare also libraries for Python (https://github.com/joke2k/fakerPython), php (https://github.com/fzaninotto/Fakerphp), and Perl (http://search.cpan.org/~jasonk/Data-Faker-0.07/Perl).

For the Python Faker library, you would do something along the lines of

from faker import Faker
fake = Faker()

for _ in range(0,10000):
    print( '{} - {}'.format( fake.uuid4(), fake.name() ) )

You can localize the name generator and you can also seed it for reproducible generations.

There is also libraries for Python (https://github.com/joke2k/faker), php (https://github.com/fzaninotto/Faker) and Perl (http://search.cpan.org/~jasonk/Data-Faker-0.07/)

For the Python Faker library, you would do something along the lines of

from faker import Faker
fake = Faker()

for _ in range(0,10000):
    print( '{} - {}'.format( fake.uuid4(), fake.name() ) )

You can localize the name generator and you can also seed it for reproducible generations.

There are also libraries for Python, php, and Perl.

For the Python Faker library, you would do something along the lines of

from faker import Faker
fake = Faker()

for _ in range(0,10000):
    print( '{} - {}'.format( fake.uuid4(), fake.name() ) )

You can localize the name generator and you can also seed it for reproducible generations.

Source Link
Steen
  • 161
  • 2

There is also libraries for Python (https://github.com/joke2k/faker), php (https://github.com/fzaninotto/Faker) and Perl (http://search.cpan.org/~jasonk/Data-Faker-0.07/)

For the Python Faker library, you would do something along the lines of

from faker import Faker
fake = Faker()

for _ in range(0,10000):
    print( '{} - {}'.format( fake.uuid4(), fake.name() ) )

You can localize the name generator and you can also seed it for reproducible generations.