update bots

This commit is contained in:
2026-05-18 14:15:59 +07:00
parent b0ce866a2f
commit b9054d178e
5775 changed files with 832577 additions and 38 deletions

View File

@@ -0,0 +1,20 @@
from .. import Provider as AutomotiveProvider
class Provider(AutomotiveProvider):
"""Implement automotive provider for ``ar_DZ`` locale.
Sources:
- https://en.wikipedia.org/wiki/Vehicle_registration_plates_of_Algeria
"""
WILAYA_CODES = tuple(f"{i:02d}" for i in range(1, 59))
VEHICLE_CLASSES = tuple("123456789")
def license_plate(self) -> str:
serial = self.numerify("#####")
vehicle_class = self.random_element(self.VEHICLE_CLASSES)
year = self.numerify("##")
wilaya = self.random_element(self.WILAYA_CODES)
return f"{serial} {vehicle_class}{year} {wilaya}"