Search code examples
pythonfaker

Where does faker get the fake data from?


I need to be able to convince my employer and ensure that the data that I generate with faker module is never the personally identifiable information of some real people.

So, my genuine question is: where does faker get names, email addresses, employers' names etc. from? What is their source for these? Thank you.


Solution

  • More specifically, all the static data is present in their repo: https://github.com/stympy/faker/tree/38f04369bfa11e17cc34f13de3468b6ace371820/lib/locales/en

    For example, the name.yml contains first, middle, and last names to be used to create new names:

    https://github.com/stympy/faker/blob/38f04369bfa11e17cc34f13de3468b6ace371820/lib/locales/en/name.yml