diff options
author | cyfraeviolae <cyfraeviolae> | 2024-04-03 03:17:55 -0400 |
---|---|---|
committer | cyfraeviolae <cyfraeviolae> | 2024-04-03 03:17:55 -0400 |
commit | 12cf076118570eebbff08c6b3090e0d4798447a1 (patch) | |
tree | 3ba25e17e3c3a5e82316558ba3864b955919ff72 /venv/lib/python3.11/site-packages/faker/providers/address/en_IE | |
parent | c45662ff3923b34614ddcc8feb9195541166dcc5 (diff) |
no venv
Diffstat (limited to 'venv/lib/python3.11/site-packages/faker/providers/address/en_IE')
2 files changed, 0 insertions, 61 deletions
diff --git a/venv/lib/python3.11/site-packages/faker/providers/address/en_IE/__init__.py b/venv/lib/python3.11/site-packages/faker/providers/address/en_IE/__init__.py deleted file mode 100644 index cc2f68b..0000000 --- a/venv/lib/python3.11/site-packages/faker/providers/address/en_IE/__init__.py +++ /dev/null @@ -1,61 +0,0 @@ -from collections import OrderedDict - -from ..en import Provider as AddressProvider - - -class Provider(AddressProvider): - counties = ( - "Cork", - "Galway", - "Mayo", - "Donegal", - "Kerry", - "Tipperary", - "Clare", - "Tyrone", - "Antrim", - "Limerick", - "Roscommon", - "Down", - "Meath", - "Londonderry", - "Wexford", - "Kilkenny", - "Offaly", - "Cavan", - "Wicklow", - "Waterford", - "Sligo", - "Laois", - "Westmeath", - "Kildare", - "Leitrim", - "Armagh", - "Fermanagh", - "Monaghan", - "Dublin", - "Louth", - "Longford", - "Carlow", - ) - - _postcode_sets = OrderedDict( - ( - (" ", [" ", ""]), - ("N", [str(i) for i in range(0, 10)]), - ("L", "ACDEFHKNPRTVWXY"), - ("A", "ACDEFHKNPRTVWXY0123456789"), - ) - ) - postcode_pattern: str = "LNN AAAA" - - def postcode(self) -> str: - postcode = "" - for placeholder in self.postcode_pattern: - postcode += self.random_element(self._postcode_sets[placeholder]) - return postcode - - def administrative_unit(self) -> str: - return self.random_element(self.counties) - - county = administrative_unit diff --git a/venv/lib/python3.11/site-packages/faker/providers/address/en_IE/__pycache__/__init__.cpython-311.pyc b/venv/lib/python3.11/site-packages/faker/providers/address/en_IE/__pycache__/__init__.cpython-311.pyc Binary files differdeleted file mode 100644 index 3067267..0000000 --- a/venv/lib/python3.11/site-packages/faker/providers/address/en_IE/__pycache__/__init__.cpython-311.pyc +++ /dev/null |