NameBank generates authentic, gender-matched given names and surnames for 106 countries, addressed by ISO alpha-2 country code, including native-script pools (Cyrillic, Arabic, Han, Hangul, Kana, Greek, Hebrew and more) for 35 of them. Pools hold up to 1500 names per country, gender and script. Use it for realistic fake name data in database seeds, factory_bot factories, RSpec fixtures, demo and staging data. It complements the general-purpose fake data gems Faker and FFaker rather than replacing them: keep those for addresses, companies and lorem ipsum, and use name_bank where you need per-country, gender-matched people names with deep pools. Sampling is uniform and deterministic from a caller-supplied RNG — no global locale or random state. No runtime dependencies.
Required Ruby Version
>= 3.1
Authors
Patrick Bartels
Versions
- 0.1.6 July 24, 2026 (2.11 MB)
- 0.1.5 July 24, 2026 (2.11 MB)
- 0.1.4 July 23, 2026 (2.11 MB)
- 0.1.3 July 23, 2026 (1.75 MB)
- 0.1.2 July 23, 2026 (1.75 MB)