Applied AI
meddies-faker: Synthetic People from Real Statistics
A Faker extension with country-aware providers that sample names and personal attributes from sourced census and survey statistics.

At a glance
- languages
- 20
- real distributions for 18 countries
- countries with sourced statistics
- 18
- census, survey and hospital data
Why I built it#
The Meddies-PII model needed realistic personal details for 20 languages. Standard Faker providers produce names and IDs that look plausible but aren’t distributed the way they are in real countries. And a PII model trained on unrealistic names learns the wrong patterns.
What it does#
meddies-faker extends Faker with country-aware providers. They sample names and personal details from real-world frequency distributions, using sourced census, survey and hospital statistics for 18 countries and 20 languages. It also tries to maximise variety, so the dataset doesn’t keep repeating the same few patterns.
The hard part#
Most of the work was research. Every country needed its own sources and its own rules for how names, IDs and addresses work, and those details are easy to get subtly wrong.
Status#
Used internally for research for now, with open-sourcing planned. The public showcase page is generated from the library’s benchmark output; country data is CC BY-SA 4.0 with per-source attribution.
Limitations#
Matching population-level frequencies doesn’t make any single record realistic, and the statistics are only as good, and as current, as their sources.