summaryrefslogtreecommitdiff
path: root/venv/lib/python3.11/site-packages/faker/providers/automotive/ar_JO
diff options
context:
space:
mode:
Diffstat (limited to 'venv/lib/python3.11/site-packages/faker/providers/automotive/ar_JO')
-rw-r--r--venv/lib/python3.11/site-packages/faker/providers/automotive/ar_JO/__init__.py53
-rw-r--r--venv/lib/python3.11/site-packages/faker/providers/automotive/ar_JO/__pycache__/__init__.cpython-311.pycbin1570 -> 0 bytes
2 files changed, 0 insertions, 53 deletions
diff --git a/venv/lib/python3.11/site-packages/faker/providers/automotive/ar_JO/__init__.py b/venv/lib/python3.11/site-packages/faker/providers/automotive/ar_JO/__init__.py
deleted file mode 100644
index c258108..0000000
--- a/venv/lib/python3.11/site-packages/faker/providers/automotive/ar_JO/__init__.py
+++ /dev/null
@@ -1,53 +0,0 @@
-from .. import Provider as AutomotiveProvider
-
-
-class Provider(AutomotiveProvider):
- """Implement automotive provider for ``ar_JO`` locale.
-
- Sources:
-
- - https://en.wikipedia.org/wiki/Vehicle_registration_plates_of_Jordan
- """
-
- license_formats = (
- "{{initials}}-####",
- "{{initials}}-#####",
- )
-
- def initials(self) -> str:
- """Generate an initial number for license plates."""
- return self.random_element(
- [
- "1", # Ministers
- "2",
- "3", # Parliament
- "5", # General Government
- "6", # Aqaba free zone
- "7",
- "8", # Diplomatic
- "9", # Temporary
- "10",
- "23", # Passenger cars
- "38",
- "39", # Crew cabs
- "41",
- "42", # Light goods vehicles
- "44", # Tractors
- "46", # Motorcycles and scooters
- "50", # Taxi
- "56", # Small buses
- "58", # Coaches
- "60", # HGVs
- "70", # Rental Cars
- "71", # Trailer
- "90", # Army
- "95", # Ambulance
- "96", # Gendarmerie
- "99", # Police
- ]
- )
-
- def license_plate(self) -> str:
- """Generate a license plate."""
- pattern: str = self.random_element(self.license_formats)
- return self.numerify(self.generator.parse(pattern))
diff --git a/venv/lib/python3.11/site-packages/faker/providers/automotive/ar_JO/__pycache__/__init__.cpython-311.pyc b/venv/lib/python3.11/site-packages/faker/providers/automotive/ar_JO/__pycache__/__init__.cpython-311.pyc
deleted file mode 100644
index e8a2ce9..0000000
--- a/venv/lib/python3.11/site-packages/faker/providers/automotive/ar_JO/__pycache__/__init__.cpython-311.pyc
+++ /dev/null
Binary files differ