faker.providers.automotive.en_PH

Package Contents

Classes

AutomotiveProvider

Implement default automotive provider for Faker.

Provider

Implement automotive provider for en_PH locale.

class faker.providers.automotive.en_PH.AutomotiveProvider(generator: Any)

Bases: faker.providers.BaseProvider

Implement default automotive provider for Faker.

license_formats: faker.providers.ElementsType = ()
license_plate() str

Generate a license plate.

vin() str

Generate vin number.

class faker.providers.automotive.en_PH.Provider(generator: Any)

Bases: faker.providers.automotive.Provider

Implement automotive provider for en_PH locale.

Vehicle registration in the Philippines has many controversies and is full of quirks. On top of that, some terms are highly subject to interpretation or to varying definitions when applied colloquially, e.g. “motor” usually refers to either a machine’s motor or a motorcycle, “vehicles” usually means cars, SUVs, vans, and trucks but not motorcycles. Please read any additional notes of individual methods for more details.

Sources:

protocol_licenses
motorcycle_license_formats = ['??####', '??#####']
automobile_license_formats = ['???###', '???####']
license_formats
_license_plate(license_format: List[str]) str
protocol_license_plate() str

Generate a protocol license plate.

Note

High ranking government officials are entitled to use low numbered protocol license plates.

motorcycle_license_plate() str

Generate a motorcycle license plate.

Note

Motorcycles and any improvised vehicle with a motorcycle as its base are issued motorcycle license plates.

automobile_license_plate() str

Generate an automobile license plate.

Note

Cars, SUVs, vans, trucks, and other 4-wheeled civilian vehicles are considered automobiles for this purpose.

license_plate() str

Generate a license plate.

Note

This method will never generate protocol plates, because such plates are only for specific use cases.