Locale zu_ZA¶
faker.providers.address
¶
- class faker.providers.address.zu_ZA.Provider(generator: Any)¶
Bases:
Provider
Address Provider for the zu_ZA locale (Zulu, South Africa).
Data sourced from: - South African cities and towns: https://en.wikipedia.org/wiki/List_of_cities_and_towns_in_South_Africa - South African postal codes: https://en.wikipedia.org/wiki/List_of_postal_codes_in_South_Africa - Languages of South Africa: https://en.wikipedia.org/wiki/Languages_of_South_Africa
- address() str ¶
- Example:
‘791 Crist Parks, Sashabury, IL 86039-9874’
- Examples:
>>> Faker.seed(0) >>> for _ in range(5): ... fake.address() ... '94 Joseph Ithafa, Krugersdorp, 3938' '59 Paul Kruger Indawo, Springs, 9157' '459 Prince Ithafa, Newcastle, 2080' '6753 Nelson Mandela Indlela, Vereeniging, 2871' '94 York Umgwaqo, Thohoyandou, 5989'
- administrative_unit() str ¶
- Examples:
>>> Faker.seed(0) >>> for _ in range(5): ... fake.administrative_unit() ... 'Bokone Bophirima' 'Bokone Bophirima' 'iMpuma-Kapa' 'Limpopo' 'Wes-Kaap'
- building_number() str ¶
- Example:
‘791’
- Examples:
>>> Faker.seed(0) >>> for _ in range(5): ... fake.building_number() ... '560' '8764' '993' '34' '59'
- city() str ¶
- Example:
‘Sashabury’
- Examples:
>>> Faker.seed(0) >>> for _ in range(5): ... fake.city() ... 'Upington' 'Chatsworth' 'George' 'Krugersdorp' 'Paarl'
- city_name() str ¶
- Examples:
>>> Faker.seed(0) >>> for _ in range(5): ... fake.city_name() ... 'Bethlehem' 'Upington' 'iBhayi' 'Chatsworth' 'Centurion'
- city_name_suffix() str ¶
- Examples:
>>> Faker.seed(0) >>> for _ in range(5): ... fake.city_name_suffix() ... '' '' '' '' ''
- city_suffix() str ¶
- Example:
‘town’
- Examples:
>>> Faker.seed(0) >>> for _ in range(5): ... fake.city_suffix() ... '' '' '' '' ''
- country() str ¶
- Examples:
>>> Faker.seed(0) >>> for _ in range(5): ... fake.country() ... 'DR Congo' 'Sao Tome and Principe' 'Burundi' 'Lesotho' 'Morocco'
- country_code(representation: str = 'alpha-2') str ¶
- Examples:
>>> Faker.seed(0) >>> for _ in range(5): ... fake.country_code() ... 'MV' 'PS' 'NL' 'BB' 'IL'
- current_country() str ¶
- Examples:
>>> Faker.seed(0) >>> for _ in range(5): ... fake.current_country() ... 'South Africa' 'South Africa' 'South Africa' 'South Africa' 'South Africa'
- current_country_code() str ¶
- Examples:
>>> Faker.seed(0) >>> for _ in range(5): ... fake.current_country_code() ... 'ZA' 'ZA' 'ZA' 'ZA' 'ZA'
- postcode() str ¶
- Example:
86039-9874
- Examples:
>>> Faker.seed(0) >>> for _ in range(5): ... fake.postcode() ... '9604' '6647' '3824' '3948' '8115'
- province() str ¶
- Examples:
>>> Faker.seed(0) >>> for _ in range(5): ... fake.province() ... 'Bokone Bophirima' 'Bokone Bophirima' 'iMpuma-Kapa' 'Limpopo' 'Wes-Kaap'
- secondary_address() str ¶
- Examples:
>>> Faker.seed(0) >>> for _ in range(5): ... fake.secondary_address() ... 'Unit 650' 'Suite 756' 'Unit 549' 'Suite 234' 'Flat 994'
- section_number() str ¶
- Examples:
>>> Faker.seed(0) >>> for _ in range(5): ... fake.section_number() ... '' '' '' '' ''
- street_address() str ¶
- Example:
‘791 Crist Parks’
- Examples:
>>> Faker.seed(0) >>> for _ in range(5): ... fake.street_address() ... '904 Joseph Ithafa' '459 Milner Indlela' '51 Paul Kruger Indawo' '611 James Indawo' '465 Prince Ithafa'
faker.providers.person
¶
- class faker.providers.person.zu_ZA.Provider(generator: Any)¶
Bases:
Provider
A Faker provider for generating fake Zulu names in South Africa.
- first_name() str ¶
- Examples:
>>> Faker.seed(0) >>> for _ in range(5): ... fake.first_name() ... 'Nomalanga' 'Nomcebo' 'Lungile' 'Bhekokwakhe' 'Owethu'
- first_name_female() str ¶
- Examples:
>>> Faker.seed(0) >>> for _ in range(5): ... fake.first_name_female() ... 'Zakhele' 'Nomthandazo' 'Thandiwe' 'Zibuyile' 'Nomvula'
- first_name_male() str ¶
- Examples:
>>> Faker.seed(0) >>> for _ in range(5): ... fake.first_name_male() ... 'Thando' 'Mlungisi' 'Sphiwe' 'Vusumuzi' 'Mthokozisi'
- first_name_nonbinary() str ¶
- Examples:
>>> Faker.seed(0) >>> for _ in range(5): ... fake.first_name_nonbinary() ... 'Nomalanga' 'Nomcebo' 'Lungile' 'Bhekokwakhe' 'Owethu'
- language_name() str ¶
Generate a random i18n language name (e.g. English).
- Examples:
>>> Faker.seed(0) >>> for _ in range(5): ... fake.language_name() ... 'Luba-Katanga' 'Malay' 'Aymara' 'Interlingue' 'Quechua'
- last_name() str ¶
- Examples:
>>> Faker.seed(0) >>> for _ in range(5): ... fake.last_name() ... 'Yei' 'Tukane' 'Dukada' 'Fanisa' 'Ncanana'
- last_name_female() str ¶
- Examples:
>>> Faker.seed(0) >>> for _ in range(5): ... fake.last_name_female() ... 'Mhlabandlovu' 'Vezi' 'Mlotshwa' 'Dimbani' 'Malevu'
- last_name_male() str ¶
- Examples:
>>> Faker.seed(0) >>> for _ in range(5): ... fake.last_name_male() ... 'Mhlabandlovu' 'Vezi' 'Mlotshwa' 'Dimbani' 'Malevu'
- last_name_nonbinary() str ¶
- Examples:
>>> Faker.seed(0) >>> for _ in range(5): ... fake.last_name_nonbinary() ... 'Yei' 'Tukane' 'Dukada' 'Fanisa' 'Ncanana'
- name() str ¶
- Example:
‘John Doe’
- Examples:
>>> Faker.seed(0) >>> for _ in range(5): ... fake.name() ... 'Mama Thandiwe Mlotshwa' 'Mandla Ncala' 'Nomusa Mathibela' 'Nomathemba Nkomo' 'Nhlanhla Hlengwa'
- name_female() str ¶
- Examples:
>>> Faker.seed(0) >>> for _ in range(5): ... fake.name_female() ... 'Mama Thandiwe Mlotshwa' 'Mandla Ncala' 'Nomusa Mathibela' 'Nomathemba Nkomo' 'Nhlanhla Hlengwa'
- name_male() str ¶
- Examples:
>>> Faker.seed(0) >>> for _ in range(5): ... fake.name_male() ... 'Mama Thandiwe Mlotshwa' 'Mandla Ncala' 'Nomusa Mathibela' 'Nomathemba Nkomo' 'Nhlanhla Hlengwa'
- name_nonbinary() str ¶
- Examples:
>>> Faker.seed(0) >>> for _ in range(5): ... fake.name_nonbinary() ... 'Mama Thandiwe Mlotshwa' 'Mandla Ncala' 'Nomusa Mathibela' 'Nomathemba Nkomo' 'Nhlanhla Hlengwa'
- prefix() str ¶
- Examples:
>>> Faker.seed(0) >>> for _ in range(5): ... fake.prefix() ... 'Mama' 'Mnumzane' 'Mama' 'Dade' 'Dr.'
- prefix_female() str ¶
- Examples:
>>> Faker.seed(0) >>> for _ in range(5): ... fake.prefix_female() ... 'Mama' 'Mama' 'Mrs.' 'Nkosikazi' 'Dade'
- prefix_male() str ¶
- Examples:
>>> Faker.seed(0) >>> for _ in range(5): ... fake.prefix_male() ... 'Baba' 'Baba' 'Mr.' 'Mnumzane' 'Bhuti'
- prefix_nonbinary() str ¶
- Examples:
>>> Faker.seed(0) >>> for _ in range(5): ... fake.prefix_nonbinary() ... 'Mama' 'Mnumzane' 'Mama' 'Dade' 'Dr.'
- suffix() str ¶
- Examples:
>>> Faker.seed(0) >>> for _ in range(5): ... fake.suffix() ... '' '' '' '' ''
- suffix_female() str ¶
- Examples:
>>> Faker.seed(0) >>> for _ in range(5): ... fake.suffix_female() ... '' '' '' '' ''