Locale en_BD¶
faker.providers.address
¶
- class faker.providers.address.en_BD.Provider(generator: Any)¶
Bases:
Provider
- address() str ¶
- Example:
‘791 Crist Parks, Sashabury, IL 86039-9874’
- Examples:
>>> Faker.seed(0) >>> for _ in range(5): ... fake.address() ... 'Flat 5, Holding No. 84, Middle FatikTala, KumarDanga, Patuakhali, 3948' 'House No. 957, LalRoad, SadarGram, Magura, 1784' 'Holding No. 809, East KaliaChar, SonaGan, Feni, 2871' 'Flat 5, House No. 618, FakirGarh Road, SirajKhali, Jhalokati, 3423' 'Studio 21, Building No. 1, RamPlaza, PaiGan, Satkhira, 5969'
- administrative_unit() str ¶
- Example:
‘Dhaka’
- Examples:
>>> Faker.seed(0) >>> for _ in range(5): ... fake.administrative_unit() ... 'Satkhira' 'Joypurhat' 'Patuakhali' 'Sirajganj' 'Kishoreganj'
- area_name() str ¶
- Example:
‘Dhanmondi’
- Examples:
>>> Faker.seed(0) >>> for _ in range(5): ... fake.area_name() ... 'Mahes' 'Maniram' 'Botia' 'Hakim' 'Osmani'
- building_name() str ¶
- Example:
‘House No.’
- Examples:
>>> Faker.seed(0) >>> for _ in range(5): ... fake.building_name() ... 'Holding No.' 'Holding No.' 'House No.' 'House No.' 'Holding No.'
- building_number() str ¶
- Example:
‘791’
- Examples:
>>> Faker.seed(0) >>> for _ in range(5): ... fake.building_number() ... '16' '88' '84' '49' '324'
- city() str ¶
- Example:
‘Dhaka’
- Examples:
>>> Faker.seed(0) >>> for _ in range(5): ... fake.city() ... 'Satkhira' 'Joypurhat' 'Patuakhali' 'Sirajganj' 'Kishoreganj'
- city_prefix() str ¶
- Example:
‘North’
- Examples:
>>> Faker.seed(0) >>> for _ in range(5): ... fake.city_prefix() ... 'Old' 'South' 'Old' 'South' 'North'
- city_suffix() str ¶
- Example:
‘town’
- Examples:
>>> Faker.seed(0) >>> for _ in range(5): ... fake.city_suffix() ... 'Khali' 'Mati' 'Bari' 'Gan' 'Tala'
- country() str ¶
- Examples:
>>> Faker.seed(0) >>> for _ in range(5): ... fake.country() ... 'Tanzania' 'Hungary' 'Senegal' 'Tuvalu' 'Italy'
- 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() ... 'Bangladesh' 'Bangladesh' 'Bangladesh' 'Bangladesh' 'Bangladesh'
- current_country_code() str ¶
- Examples:
>>> Faker.seed(0) >>> for _ in range(5): ... fake.current_country_code() ... 'BD' 'BD' 'BD' 'BD' 'BD'
- postcode() str ¶
See https://bdpost.portal.gov.bd/site/page/6aaeabe4-479b-4e5a-a671-e9e5b994bf9a
- Examples:
>>> Faker.seed(0) >>> for _ in range(5): ... fake.postcode() ... '9604' '6647' '3824' '3948' '8115'
- secondary_address() str ¶
As the generated string format is a Bengali word but English number so splitting the value by space and then convert the English number to Bengali number and concat with generated Bengali word and return : example : ‘Apartment 123’
- Examples:
>>> Faker.seed(0) >>> for _ in range(5): ... fake.secondary_address() ... 'Studio 16' 'Studio 9' 'Studio 56' 'Studio 45' 'Apartment 3'
- street_address() str ¶
- Example:
‘791 Crist Parks’
- Examples:
>>> Faker.seed(0) >>> for _ in range(5): ... fake.street_address() ... 'Studio 50, Holding No. 84, Middle FatikTala' 'House No. 2, HossainDanga Moor' 'House No. 957, LalRoad' 'Apartment 4, Holding No. 58, RayAvenue' 'Holding No. 809, East KaliaChar'
- street_name() str ¶
- Example:
‘Crist Parks’
- Examples:
>>> Faker.seed(0) >>> for _ in range(5): ... fake.street_name() ... 'ManiramBari' 'Middle NazirKhali' 'South LalGram' 'BiswnathGarh Ghat' 'SundarMohalla'