Faker: providers U–Z
This reference covers 43 facade names in the U-Z range. The whole catalog contains 675 typed methods (694 signatures including overloads) and 7 backend helpers accessible at runtime, organized alphabetically. Availability was checked against the installed backend’s 110 locales; some methods only exist for specific locales.
Preparing examples
Section titled “Preparing examples”Examples generate values in memory. They neither create tables nor insert records. Define this factory once, then use snippets inside its definition(), a seeder or a service/controller as shown in Faker and simulated data.
from orionis.orm import Integer, Model, Stringfrom orionis.orm.factories import Factory
class SampleRecord(Model): id = Integer().primary().autoIncrement() value = String(180) timestamps = False fillable = ["value"]
class SampleFactory(Factory[SampleRecord]): model = SampleRecord
def definition(self): return {"value": self.fake.word()}Each entry selects a verified compatible locale, presents the typed contract and the backend’s actual defaults. ... in a typed signature means the stub does not specify that default, not a value to pass. Runtime signatures show concrete defaults. Locale variants are distinguished when they differ; examples retain native parameter names while facade methods use camelCase.
Types T and TEnum preserve received value/Enum types; Callable, Iterable, Sequence, Collection, Any, Decimal, UUID and datetime types belong to the provider’s Python contract. Optional permits None and Literal restricts concrete values. Results are not automatically converted to ORM attributes or JSON: apply the appropriate cast/encoder.
Methods ordinarily propagate backend parameter errors (TypeError, ValueError, formatting errors). If a locale does not publish a name, the facade raises AttributeError. image and xml need specific dependencies explained in their entries. See the usage guide for unique and optional; unhashable results can prevent uniqueness checks. No claim is made that every method exists for every locale.
Catalog index
Section titled “Catalog index”A-D · E-H · I-L · M-P · Q-T · U-Z
uid generates company names and expressions for test entities.
Orionis typed contract:
def uid() -> strActual signature for fr_CH:
fake.uid() -> strVerified availability: 1 locales. Example locales: fr_CH.
fake = SampleFactory(locale="fr_CH", seed=7).fakevalue = fake.uid()umid generates fictional administrative or tax identifiers; format depends on country.
Orionis typed contract:
def umid() -> strActual signature for en_PH:
fake.umid() -> strVerified availability: 3 locales. Example locales: en_PH, fil_PH, tl_PH.
fake = SampleFactory(locale="en_PH", seed=7).fakevalue = fake.umid()unionTerritory
Section titled “unionTerritory”unionTerritory generates addresses and geographic subdivisions for test forms, deliveries and profiles.
Orionis typed contract:
def unionTerritory() -> strActual signature for en_IN:
fake.unionTerritory() -> strVerified availability: 1 locales. Example locales: en_IN.
fake = SampleFactory(locale="en_IN", seed=7).fakevalue = fake.unionTerritory()unixDevice
Section titled “unixDevice”unixDevice generates fictional filenames, paths and media types; it does not create files on disk.
Orionis typed contract:
def unixDevice(prefix: str | None=...) -> strActual signature for en_US:
fake.unixDevice(prefix: str | None = None) -> str| Parameter | Purpose |
|---|---|
prefix | Generated string prefix. |
Verified availability: 110 locales. Example locales: en_US, es_CO, es_ES, am_ET, ar_AA, ar_AE, ar_BH, ar_DZ.
fake = SampleFactory(locale="en_US", seed=7).fakevalue = fake.unixDevice()unixPartition
Section titled “unixPartition”unixPartition generates fictional filenames, paths and media types; it does not create files on disk.
Orionis typed contract:
def unixPartition(prefix: str | None=...) -> strActual signature for en_US:
fake.unixPartition(prefix: str | None = None) -> str| Parameter | Purpose |
|---|---|
prefix | Generated string prefix. |
Verified availability: 110 locales. Example locales: en_US, es_CO, es_ES, am_ET, ar_AA, ar_AE, ar_BH, ar_DZ.
fake = SampleFactory(locale="en_US", seed=7).fakevalue = fake.unixPartition()unixTime
Section titled “unixTime”unixTime generates dates, times and intervals for temporal fixtures.
Orionis typed contract:
def unixTime(end_datetime: datetime.date | datetime.datetime | datetime.timedelta | str | int | None=..., start_datetime: datetime.date | datetime.datetime | datetime.timedelta | str | int | None=...) -> floatActual signature for en_US:
fake.unixTime(end_datetime: datetime.date | datetime.datetime | datetime.timedelta | str | int | None = None, start_datetime: datetime.date | datetime.datetime | datetime.timedelta | str | int | None = None) -> float| Parameter | Purpose |
|---|---|
end_datetime | Ending datetime interval boundary. |
start_datetime | Starting datetime interval boundary. |
Verified availability: 110 locales. Example locales: en_US, es_CO, es_ES, am_ET, ar_AA, ar_AE, ar_BH, ar_DZ.
fake = SampleFactory(locale="en_US", seed=7).fakevalue = fake.unixTime()upcA generates product codes and check digits for test catalogs.
Orionis typed contract:
def upcA(upc_ae_mode: bool=..., base: str | None=..., number_system_digit: int | None=...) -> strActual signature for en_US:
fake.upcA(upc_ae_mode: bool = False, base: str | None = None, number_system_digit: int | None = None) -> str| Parameter | Purpose |
|---|---|
upc_ae_mode | Generates UPC-A with a UPC-E equivalent, enabling base and number_system_digit. |
base | Six-digit base for UPC-A/UPC-E conversion; unsupported values may generate another base. |
number_system_digit | UPC number-system digit: 0 or 1. |
Verified availability: 107 locales. Example locales: en_US, es_CO, am_ET, ar_AA, ar_AE, ar_BH, ar_DZ, ar_EG.
fake = SampleFactory(locale="en_US", seed=7).fakevalue = fake.upcA()upcE generates product codes and check digits for test catalogs.
Orionis typed contract:
def upcE(base: str | None=..., number_system_digit: int | None=..., safe_mode: bool=...) -> strActual signature for en_US:
fake.upcE(base: str | None = None, number_system_digit: int | None = None, safe_mode: bool = True) -> str| Parameter | Purpose |
|---|---|
base | Six-digit base for UPC-A/UPC-E conversion; unsupported values may generate another base. |
number_system_digit | UPC number-system digit: 0 or 1. |
safe_mode | Requires reversible UPC-E to UPC-A conversion and back. |
Verified availability: 107 locales. Example locales: en_US, es_CO, am_ET, ar_AA, ar_AE, ar_BH, ar_DZ, ar_EG.
fake = SampleFactory(locale="en_US", seed=7).fakevalue = fake.upcE()uri generates Internet addresses and formats for test data; generating a string does not open a connection.
Orionis typed contract:
def uri(schemes: list[str] | None=..., deep: int | None=...) -> strActual signature for en_US:
fake.uri(schemes: List[str] | None = None, deep: int | None = None) -> str| Parameter | Purpose |
|---|---|
schemes | Permitted URL schemes. |
deep | URI path segment depth. |
Verified availability: 110 locales. Example locales: en_US, es_CO, es_ES, am_ET, ar_AA, ar_AE, ar_BH, ar_DZ.
fake = SampleFactory(locale="en_US", seed=7).fakevalue = fake.uri()uriExtension
Section titled “uriExtension”uriExtension generates Internet addresses and formats for test data; generating a string does not open a connection.
Orionis typed contract:
def uriExtension() -> strActual signature for en_US:
fake.uriExtension() -> strVerified availability: 110 locales. Example locales: en_US, es_CO, es_ES, am_ET, ar_AA, ar_AE, ar_BH, ar_DZ.
fake = SampleFactory(locale="en_US", seed=7).fakevalue = fake.uriExtension()uriPage
Section titled “uriPage”uriPage generates Internet addresses and formats for test data; generating a string does not open a connection.
Orionis typed contract:
def uriPage() -> strActual signature for en_US:
fake.uriPage() -> strVerified availability: 110 locales. Example locales: en_US, es_CO, es_ES, am_ET, ar_AA, ar_AE, ar_BH, ar_DZ.
fake = SampleFactory(locale="en_US", seed=7).fakevalue = fake.uriPage()uriPath
Section titled “uriPath”uriPath generates Internet addresses and formats for test data; generating a string does not open a connection.
Orionis typed contract:
def uriPath(deep: int | None=...) -> strActual signature for en_US:
fake.uriPath(deep: int | None = None) -> str| Parameter | Purpose |
|---|---|
deep | URI path segment depth. |
Verified availability: 110 locales. Example locales: en_US, es_CO, es_ES, am_ET, ar_AA, ar_AE, ar_BH, ar_DZ.
fake = SampleFactory(locale="en_US", seed=7).fakevalue = fake.uriPath()url generates Internet addresses and formats for test data; generating a string does not open a connection.
Orionis typed contract:
def url(schemes: list[str] | None=...) -> strActual signature for en_US:
fake.url(schemes: List[str] | None = None) -> str| Parameter | Purpose |
|---|---|
schemes | Permitted URL schemes. |
Verified availability: 110 locales. Example locales: en_US, es_CO, es_ES, am_ET, ar_AA, ar_AE, ar_BH, ar_DZ.
fake = SampleFactory(locale="en_US", seed=7).fakevalue = fake.url()userAgent
Section titled “userAgent”userAgent generates User-Agent strings and components for simulated clients.
Orionis typed contract:
def userAgent() -> strActual signature for en_US:
fake.userAgent() -> strVerified availability: 110 locales. Example locales: en_US, es_CO, es_ES, am_ET, ar_AA, ar_AE, ar_BH, ar_DZ.
fake = SampleFactory(locale="en_US", seed=7).fakevalue = fake.userAgent()userName
Section titled “userName”userName generates Internet addresses and formats for test data; generating a string does not open a connection.
Orionis typed contract:
def userName() -> strActual signature for en_US:
fake.userName() -> strVerified availability: 110 locales. Example locales: en_US, es_CO, es_ES, am_ET, ar_AA, ar_AE, ar_BH, ar_DZ.
fake = SampleFactory(locale="en_US", seed=7).fakevalue = fake.userName()uuid1 generates auxiliary test values and structures; return shape depends on the method.
Orionis typed contract:
def uuid1() -> strdef uuid1(cast_to: None) -> UUIDdef uuid1(cast_to: Callable[[UUID], str]) -> strdef uuid1(cast_to: Callable[[UUID], bytes]) -> bytesActual signature for en_US:
fake.uuid1(cast_to: Callable[[uuid.UUID], str] | Callable[[uuid.UUID], bytes] | None = <class 'str'>) -> bytes | str | uuid.UUID| Parameter | Purpose |
|---|---|
cast_to | Final UUID representation type, such as str or UUID. |
Verified availability: 110 locales. Example locales: en_US, es_CO, es_ES, am_ET, ar_AA, ar_AE, ar_BH, ar_DZ.
fake = SampleFactory(locale="en_US", seed=7).fakevalue = fake.uuid1()uuid4 generates auxiliary test values and structures; return shape depends on the method.
Orionis typed contract:
def uuid4() -> strdef uuid4(cast_to: None) -> UUIDdef uuid4(cast_to: Callable[[UUID], str]) -> strdef uuid4(cast_to: Callable[[UUID], bytes]) -> bytesActual signature for en_US:
fake.uuid4(cast_to: Callable[[uuid.UUID], str] | Callable[[uuid.UUID], bytes] | None = <class 'str'>) -> bytes | str | uuid.UUID| Parameter | Purpose |
|---|---|
cast_to | Final UUID representation type, such as str or UUID. |
Verified availability: 110 locales. Example locales: en_US, es_CO, es_ES, am_ET, ar_AA, ar_AE, ar_BH, ar_DZ.
fake = SampleFactory(locale="en_US", seed=7).fakevalue = fake.uuid4()uuid7 generates auxiliary test values and structures; return shape depends on the method.
Orionis typed contract:
def uuid7() -> strdef uuid7(cast_to: None) -> UUIDdef uuid7(cast_to: Callable[[UUID], str]) -> strdef uuid7(cast_to: Callable[[UUID], bytes]) -> bytesActual signature for en_US:
fake.uuid7(cast_to: Callable[[uuid.UUID], str] | Callable[[uuid.UUID], bytes] | None = <class 'str'>) -> bytes | str | uuid.UUID| Parameter | Purpose |
|---|---|
cast_to | Final UUID representation type, such as str or UUID. |
Verified availability: 110 locales. Example locales: en_US, es_CO, es_ES, am_ET, ar_AA, ar_AE, ar_BH, ar_DZ.
fake = SampleFactory(locale="en_US", seed=7).fakevalue = fake.uuid7()vatId generates fictional administrative or tax identifiers; format depends on country.
Orionis typed contract:
def vatId() -> strActual signature for es_ES:
fake.vatId() -> str| Parameter | Purpose |
|---|---|
prefix | Generated string prefix. |
Actual locale variants:
bg_BG, cs_CZ, de, de_AT, de_CH, de_DE and 28 more:
fake.vatId() -> strel_GR:
fake.vatId(prefix: bool = True) -> strVerified availability: 35 locales. Example locales: es_ES, bg_BG, cs_CZ, de, de_AT, de_CH, de_DE, dk_DK.
fake = SampleFactory(locale="es_ES", seed=7).fakevalue = fake.vatId()vehicleCategory
Section titled “vehicleCategory”vehicleCategory generates vehicle plates and identifiers for examples and fixtures.
Orionis typed contract:
def vehicleCategory() -> strActual signature for ru_RU:
fake.vehicleCategory() -> strVerified availability: 2 locales. Example locales: ru_RU, uk_UA.
fake = SampleFactory(locale="ru_RU", seed=7).fakevalue = fake.vehicleCategory()vehicleCategoryLetter
Section titled “vehicleCategoryLetter”vehicleCategoryLetter generates vehicle plates and identifiers for examples and fixtures.
Orionis typed contract:
def vehicleCategoryLetter() -> strActual signature for bn_BD:
fake.vehicleCategoryLetter() -> strVerified availability: 1 locales. Example locales: bn_BD.
fake = SampleFactory(locale="bn_BD", seed=7).fakevalue = fake.vehicleCategoryLetter()vehicleCategoryNumber
Section titled “vehicleCategoryNumber”vehicleCategoryNumber generates vehicle plates and identifiers for examples and fixtures.
Orionis typed contract:
def vehicleCategoryNumber() -> strActual signature for bn_BD:
fake.vehicleCategoryNumber() -> strVerified availability: 1 locales. Example locales: bn_BD.
fake = SampleFactory(locale="bn_BD", seed=7).fakevalue = fake.vehicleCategoryNumber()vehicleSerialNumber
Section titled “vehicleSerialNumber”vehicleSerialNumber generates vehicle plates and identifiers for examples and fixtures.
Orionis typed contract:
def vehicleSerialNumber() -> strActual signature for bn_BD:
fake.vehicleSerialNumber() -> strVerified availability: 1 locales. Example locales: bn_BD.
fake = SampleFactory(locale="bn_BD", seed=7).fakevalue = fake.vehicleSerialNumber()viBuildingNumberFormat
Section titled “viBuildingNumberFormat”viBuildingNumberFormat generates addresses and geographic subdivisions for test forms, deliveries and profiles.
Orionis typed contract:
def viBuildingNumberFormat() -> strActual signature for vi_VN:
fake.viBuildingNumberFormat() -> strVerified availability: 1 locales. Example locales: vi_VN.
fake = SampleFactory(locale="vi_VN", seed=7).fakevalue = fake.viBuildingNumberFormat()village
Section titled “village”village generates addresses and geographic subdivisions for test forms, deliveries and profiles.
Orionis typed contract:
def village() -> strActual signature for az_AZ:
fake.village() -> strVerified availability: 2 locales. Example locales: az_AZ, hy_AM.
fake = SampleFactory(locale="az_AZ", seed=7).fakevalue = fake.village()villagePrefix
Section titled “villagePrefix”villagePrefix generates addresses and geographic subdivisions for test forms, deliveries and profiles.
Orionis typed contract:
def villagePrefix() -> strActual signature for hy_AM:
fake.villagePrefix() -> strVerified availability: 1 locales. Example locales: hy_AM.
fake = SampleFactory(locale="hy_AM", seed=7).fakevalue = fake.villagePrefix()villageSuffix
Section titled “villageSuffix”villageSuffix generates addresses and geographic subdivisions for test forms, deliveries and profiles.
Orionis typed contract:
def villageSuffix() -> strActual signature for az_AZ:
fake.villageSuffix() -> strVerified availability: 1 locales. Example locales: az_AZ.
fake = SampleFactory(locale="az_AZ", seed=7).fakevalue = fake.villageSuffix()vin generates vehicle plates and identifiers for examples and fixtures.
Orionis typed contract:
def vin() -> strActual signature for en_US:
fake.vin() -> strVerified availability: 110 locales. Example locales: en_US, es_CO, es_ES, am_ET, ar_AA, ar_AE, ar_BH, ar_DZ.
fake = SampleFactory(locale="en_US", seed=7).fakevalue = fake.vin()visayasProvince
Section titled “visayasProvince”visayasProvince generates addresses and geographic subdivisions for test forms, deliveries and profiles.
Orionis typed contract:
def visayasProvince() -> strActual signature for en_PH:
fake.visayasProvince() -> strVerified availability: 3 locales. Example locales: en_PH, fil_PH, tl_PH.
fake = SampleFactory(locale="en_PH", seed=7).fakevalue = fake.visayasProvince()visayasProvinceAddress
Section titled “visayasProvinceAddress”visayasProvinceAddress generates addresses and geographic subdivisions for test forms, deliveries and profiles.
Orionis typed contract:
def visayasProvinceAddress() -> strActual signature for en_PH:
fake.visayasProvinceAddress() -> strVerified availability: 3 locales. Example locales: en_PH, fil_PH, tl_PH.
fake = SampleFactory(locale="en_PH", seed=7).fakevalue = fake.visayasProvinceAddress()visayasProvincePostcode
Section titled “visayasProvincePostcode”visayasProvincePostcode generates addresses and geographic subdivisions for test forms, deliveries and profiles.
Orionis typed contract:
def visayasProvincePostcode() -> strActual signature for en_PH:
fake.visayasProvincePostcode() -> strVerified availability: 3 locales. Example locales: en_PH, fil_PH, tl_PH.
fake = SampleFactory(locale="en_PH", seed=7).fakevalue = fake.visayasProvincePostcode()wilaya
Section titled “wilaya”wilaya generates addresses and geographic subdivisions for test forms, deliveries and profiles.
Orionis typed contract:
def wilaya() -> strActual signature for ar_DZ:
fake.wilaya() -> strVerified availability: 2 locales. Example locales: ar_DZ, fr_DZ.
fake = SampleFactory(locale="ar_DZ", seed=7).fakevalue = fake.wilaya()windowsPlatformToken
Section titled “windowsPlatformToken”windowsPlatformToken generates User-Agent strings and components for simulated clients.
Orionis typed contract:
def windowsPlatformToken() -> strActual signature for en_US:
fake.windowsPlatformToken() -> strVerified availability: 110 locales. Example locales: en_US, es_CO, es_ES, am_ET, ar_AA, ar_AE, ar_BH, ar_DZ.
fake = SampleFactory(locale="en_US", seed=7).fakevalue = fake.windowsPlatformToken()word generates placeholder text for content and forms.
Orionis typed contract:
def word(part_of_speech: str | None=..., ext_word_list: Sequence[str] | None=...) -> strActual signature for en_US:
fake.word(part_of_speech: str | None = None, ext_word_list: Sequence[str] | None = None) -> str| Parameter | Purpose |
|---|---|
part_of_speech | Vocabulary grammatical category where supported by the locale. |
ext_word_list | Alternative vocabulary or None for native data. |
Verified availability: 110 locales. Example locales: en_US, es_CO, es_ES, am_ET, ar_AA, ar_AE, ar_BH, ar_DZ.
fake = SampleFactory(locale="en_US", seed=7).fakevalue = fake.word()words generates placeholder text for content and forms.
Orionis typed contract:
def words(nb: int=..., ext_word_list: list[str] | None=..., part_of_speech: str | None=..., unique: bool=...) -> list[str]Actual signature for en_US:
fake.words(nb: int = 3, ext_word_list: List[str] | None = None, part_of_speech: str | None = None, unique: bool = False) -> List[str]| Parameter | Purpose |
|---|---|
nb | Requested result count. |
ext_word_list | Alternative vocabulary or None for native data. |
part_of_speech | Vocabulary grammatical category where supported by the locale. |
unique | Requests nonrepeating selections within this call. |
Verified availability: 110 locales. Example locales: en_US, es_CO, es_ES, am_ET, ar_AA, ar_AE, ar_BH, ar_DZ.
fake = SampleFactory(locale="en_US", seed=7).fakevalue = fake.words()Generates XML text and requires xmltodict. Without that dependency it raises faker.exceptions.UnsupportedFeature. Use nb_elements and permitted types to control structure.
Orionis typed contract:
def xml(nb_elements: int=..., variable_nb_elements: bool=..., value_types: list[type] | tuple[type, ...] | None=..., allowed_types: list[type] | tuple[type, ...] | None=...) -> strActual signature for en_US:
fake.xml(nb_elements: int = 10, variable_nb_elements: bool = True, value_types: List[Type] | Tuple[Type, ...] | None = None, allowed_types: List[Type] | Tuple[Type, ...] | None = None) -> str| Parameter | Purpose |
|---|---|
nb_elements | Number of elements to generate. |
variable_nb_elements | Allows count variation around its target. |
value_types | Python types of generated values. |
allowed_types | Python types the container may select. |
Verified availability: 110 locales. Example locales: en_US, es_CO, es_ES, am_ET, ar_AA, ar_AE, ar_BH, ar_DZ.
The example handles a missing dependency; install Pillow for images or xmltodict for XML in the environment using that provider.
from faker.exceptions import UnsupportedFeature
fake = SampleFactory(locale="en_US", seed=7).faketry: value = fake.xml(nb_elements=2)except UnsupportedFeature: value = Noneyear generates dates, times and intervals for temporal fixtures.
Orionis typed contract:
def year() -> strActual signature for en_US:
fake.year() -> strVerified availability: 110 locales. Example locales: en_US, es_CO, es_ES, am_ET, ar_AA, ar_AE, ar_BH, ar_DZ.
fake = SampleFactory(locale="en_US", seed=7).fakevalue = fake.year()Generates ZIP archive bytes in memory. Does not write a file; num_files, min_file_size and uncompressed_size must be positive and compatible.
Orionis typed contract:
def zip(uncompressed_size: int=..., num_files: int=..., min_file_size: int=..., compression: str | None=...) -> bytesActual signature for en_US:
fake.zip(uncompressed_size: int = 65536, num_files: int = 1, min_file_size: int = 4096, compression: str | None = None) -> bytes| Parameter | Purpose |
|---|---|
uncompressed_size | Total uncompressed size in bytes. |
num_files | Number of files in the archive. |
min_file_size | Minimum bytes per file. |
compression | Native compression algorithm or None. |
Verified availability: 110 locales. Example locales: en_US, es_CO, es_ES, am_ET, ar_AA, ar_AE, ar_BH, ar_DZ.
fake = SampleFactory(locale="en_US", seed=7).fakevalue = fake.zip(uncompressed_size=128, min_file_size=64, num_files=1)zipcode
Section titled “zipcode”zipcode generates addresses and geographic subdivisions for test forms, deliveries and profiles.
Orionis typed contract:
def zipcode() -> strActual signature for en_US:
fake.zipcode() -> strVerified availability: 47 locales. Example locales: en_US, am_ET, ar_AA, ar_AE, ar_BH, ar_EG, ar_JO, ar_PS.
fake = SampleFactory(locale="en_US", seed=7).fakevalue = fake.zipcode()zipcodeInArmy
Section titled “zipcodeInArmy”zipcodeInArmy generates addresses and geographic subdivisions for test forms, deliveries and profiles.
Orionis typed contract:
def zipcodeInArmy() -> intActual signature for en_IN:
fake.zipcodeInArmy() -> intVerified availability: 1 locales. Example locales: en_IN.
fake = SampleFactory(locale="en_IN", seed=7).fakevalue = fake.zipcodeInArmy()zipcodeInMilitary
Section titled “zipcodeInMilitary”zipcodeInMilitary generates addresses and geographic subdivisions for test forms, deliveries and profiles.
Orionis typed contract:
def zipcodeInMilitary() -> intActual signature for en_IN:
fake.zipcodeInMilitary() -> intVerified availability: 1 locales. Example locales: en_IN.
fake = SampleFactory(locale="en_IN", seed=7).fakevalue = fake.zipcodeInMilitary()zipcodeInState
Section titled “zipcodeInState”zipcodeInState generates addresses and geographic subdivisions for test forms, deliveries and profiles.
Orionis typed contract:
def zipcodeInState(state_abbr: str | None=...) -> strActual signature for en_US:
fake.zipcodeInState(state_abbr: str | None = None) -> str| Parameter | Purpose |
|---|---|
state_abbr | State abbreviation restricting localized output. |
include_union_territories | Includes Indian Union Territories in postal codes. |
Actual locale variants:
en_US, am_ET, ar_AA, ar_AE, ar_BH, ar_EG and 39 more:
fake.zipcodeInState(state_abbr: str | None = None) -> stren_IN:
fake.zipcodeInState(state_abbr: str | None = None, include_union_territories: bool = False) -> intVerified availability: 46 locales. Example locales: en_US, am_ET, ar_AA, ar_AE, ar_BH, ar_EG, ar_JO, ar_PS.
fake = SampleFactory(locale="en_US", seed=7).fakevalue = fake.zipcodeInState()zipcodePlus4
Section titled “zipcodePlus4”zipcodePlus4 generates addresses and geographic subdivisions for test forms, deliveries and profiles.
Orionis typed contract:
def zipcodePlus4() -> strActual signature for en_US:
fake.zipcodePlus4() -> strVerified availability: 45 locales. Example locales: en_US, am_ET, ar_AA, ar_AE, ar_BH, ar_EG, ar_JO, ar_PS.
fake = SampleFactory(locale="en_US", seed=7).fakevalue = fake.zipcodePlus4()