DEV Community

Generating mock data using Mimesis: Part I

Líkið Geimfari on August 24, 2017

The ability to generate mock but valid data comes in handy in app development, where you need to work with databases. Filling in the database by ...
Collapse
 
rpalo profile image
Ryan Palo

Such a cool library! Thanks for the intro.

Collapse
 
likid_geimfari profile image
Líkið Geimfari

Just published second part of this article.

Collapse
 
likid_geimfari profile image
Líkið Geimfari

Glad you like it! Thank you!

Collapse
 
lukaszkuczynski profile image
lukaszkuczynski

So cool! When I will pip this library into my PC, where does this mock data come from?

Collapse
 
likid_geimfari profile image
Líkið Geimfari • Edited

Data are collected from the open resources of different segments (for each language) of the Internet.

We store this data in mimesis/data/{locale}/{file}.json.

Collapse
 
likid_geimfari profile image
Líkið Geimfari

Just published second part of this article.