Faker
lastmod 2026-04-22created 2022-05-067 edits
Faker is a Python package that generates fake data for you.
A library that can quickly generate dummy data when you need it, such as right after creating a new DB or when writing unit tests. LLMs work too, but this is useful in airgap, CI, lightweight VM environments, and the like.
Example
-
fake.name()- name -
fake.address()- address -
fake.postcode()- postal code -
fake.country()- country name -
fake.company()- company name -
fake.job()- job title -
fake.phone_number()- mobile phone number -
fake.email()- email address -
fake.user_name()- username -
fake.pyint(min_value=0, max_value=100)- random number between 0 and 100 -
fake.ipv4_private()- IP address -
fake.text()- random sentence (※ for random Korean sentences, usefake.catch_phrase()) -
fake.color_name()- color name
In other languages
See also
- dummy
- faker - fake data generator
- Replibyte - a tool that fills a development DB with real data
- Hypothesis (Python) - The property-based testing library for Python