Skip to content

Commit

Permalink
Update person names and company suffixes for cs_CZ (#1931)
Browse files Browse the repository at this point in the history
  • Loading branch information
george0st authored Oct 17, 2023
1 parent d712550 commit 4cc1391
Show file tree
Hide file tree
Showing 2 changed files with 136 additions and 26 deletions.
4 changes: 4 additions & 0 deletions faker/providers/company/cs_CZ/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,12 @@ class Provider(CompanyProvider):
"{{last_name}}",
)

# Company suffixes are from
# https://cs.wikipedia.org/wiki/Obchodn%C3%AD_spole%C4%8Dnost
company_suffixes = (
"s.r.o.",
"o.s.",
"a.s.",
"v.o.s.",
"k.s.",
)
158 changes: 132 additions & 26 deletions faker/providers/person/cs_CZ/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -313,110 +313,216 @@ class Provider(PersonProvider):

first_names = first_names_male + first_names_female

# Last names from
# https://cs.wikipedia.org/wiki/Seznam_nej%C4%8Detn%C4%9Bj%C5%A1%C3%ADch_p%C5%99%C3%ADjmen%C3%AD_v_%C4%8Cesku

last_names_male = (
"Bárta",
"Bartoš",
"Bednář",
"Beneš",
"Blažek",
"Beran",
"Beránek",
"Bílek",
"Bláha",
"Blažek",
"Brož",
"Bureš",
"Čech",
"Čermák",
"Černý",
"Doležal",
"Dostál",
"Dušek",
"Dvořák",
"Fiala",
"Fišer",
"Hájek",
"Havel",
"Havlíček",
"Holub",
"Horáček",
"Horák",
"Hájek",
"Horváth",
"Hrubý",
"Hruška",
"Janda",
"Jaroš",
"Jelínek",
"Ježek",
"Kadlec",
"Kašpar",
"Kolář",
"Konečný",
"Kopecký",
"Kratochvíl",
"Krejčí",
"Kovář",
"Král",
"Kučera",
"Kratochvíl",
"Kraus",
"Kříž",
"Kubíček",
"Kučera",
"Liška",
"Mach",
"Macháček",
"Malý",
"Marek",
"Mareš",
"Mašek",
"Matějka",
"Matoušek",
"Moravec",
"Novotný",
"Novák",
"Müller",
"Musil",
"Navrátil",
"Němec",
"Němeček",
"Novák",
"Novotný",
"Pavlíček",
"Pavlík",
"Pokorný",
"Polák",
"Pospíšil",
"Procházka",
"Prokop",
"Růžička",
"Říha",
"Sedláček",
"Sedlák",
"Slavík",
"Soukup",
"Staněk",
"Stejskal",
"Strnad",
"Svoboda",
"Sýkora",
"Ševčík",
"Šimek",
"Šmíd",
"Šťastný",
"Štěpánek",
"Švec",
"Tesař",
"Tichý",
"Toman",
"Tůma",
"Urban",
"Vacek",
"Valenta",
"Vaněk",
"Vávra",
"Veselý",
"Vítek",
"Vlček",
"Zeman",
"Čermák",
"Černý",
"Říha",
"Šimek",
"Štěpánek",
"Šťastný",
"Žák",
)

# Last names from
# https://cs.wikipedia.org/wiki/Seznam_nej%C4%8Detn%C4%9Bj%C5%A1%C3%ADch_p%C5%99%C3%ADjmen%C3%AD_v_%C4%8Cesku

last_names_female = (
"Bartošová",
"Bártová",
"Bednářová",
"Benešová",
"Beránková",
"Beranová",
"Blažková",
"Bílková",
"Bláhová",
"Blažková",
"Brožová",
"Burešová",
"Čechová",
"Čermáková",
"Černá",
"Doležalová",
"Dostálová",
"Dušková",
"Dvořáková",
"Fialová",
"Fišerová",
"Hájková",
"Havlíčková",
"Holubová",
"Horáčková",
"Horáková",
"Hájková",
"Horváthová",
"Hrubá",
"Hrušková",
"Jandová",
"Janečková",
"Jarošová",
"Jelínková",
"Ježková",
"Kadlecová",
"Kašparová",
"Kolářová",
"Konečná",
"Kopecká",
"Kovářová",
"Králová",
"Kratochvílová",
"Krausová",
"Krejčová",
"Králová",
"Kučerová",
"Křížová",
"Kubíčková",
"Kučerová",
"Lišková",
"Macháčková",
"Machová",
"Malá",
"Marešová",
"Marková",
"Mašková",
"Matějková",
"Matoušková",
"Moravcová",
"Novotná",
"Nováková",
"Müllerová",
"Musilová",
"Navrátilová",
"Němcová",
"Němečková",
"Nováková",
"Novotná",
"Pavlíková",
"Pešková",
"Petrová",
"Pokorná",
"Poláková",
"Pospíšilová",
"Procházková",
"Růžičková",
"Říhová",
"Sedláčková",
"Sedláková",
"Slavíková",
"Soukupová",
"Staňková",
"Stejskalová",
"Strnadová",
"Svobodová",
"Sýkorová",
"Ševčíková",
"Šimková",
"Šmídová",
"Šťastná",
"Štěpánková",
"Švecová",
"Tichá",
"Tomanová",
"Tůmová",
"Urbanová",
"Vacková",
"Valentová",
"Vaňková",
"Vávrová",
"Veselá",
"Vítková",
"Vlčková",
"Vávrová",
"Zemanová",
"Čermáková",
"Černá",
"Říhová",
"Šimková",
"Štěpánková",
"Šťastná",
"Žáková",
)

last_names = last_names_male + last_names_female
Expand Down

0 comments on commit 4cc1391

Please sign in to comment.