summaryrefslogtreecommitdiff
path: root/venv/lib/python3.11/site-packages/faker/providers/address/no_NO
diff options
context:
space:
mode:
authorcyfraeviolae <cyfraeviolae>2024-04-03 03:17:55 -0400
committercyfraeviolae <cyfraeviolae>2024-04-03 03:17:55 -0400
commit12cf076118570eebbff08c6b3090e0d4798447a1 (patch)
tree3ba25e17e3c3a5e82316558ba3864b955919ff72 /venv/lib/python3.11/site-packages/faker/providers/address/no_NO
parentc45662ff3923b34614ddcc8feb9195541166dcc5 (diff)
no venv
Diffstat (limited to 'venv/lib/python3.11/site-packages/faker/providers/address/no_NO')
-rw-r--r--venv/lib/python3.11/site-packages/faker/providers/address/no_NO/__init__.py114
-rw-r--r--venv/lib/python3.11/site-packages/faker/providers/address/no_NO/__pycache__/__init__.cpython-311.pycbin2773 -> 0 bytes
2 files changed, 0 insertions, 114 deletions
diff --git a/venv/lib/python3.11/site-packages/faker/providers/address/no_NO/__init__.py b/venv/lib/python3.11/site-packages/faker/providers/address/no_NO/__init__.py
deleted file mode 100644
index 170cba5..0000000
--- a/venv/lib/python3.11/site-packages/faker/providers/address/no_NO/__init__.py
+++ /dev/null
@@ -1,114 +0,0 @@
-from collections import OrderedDict
-
-from .. import Provider as AddressProvider
-
-
-class Provider(AddressProvider):
- city_suffixes = [
- "berg",
- "borg",
- "by",
- "bø",
- "dal",
- "eid",
- "fjell",
- "fjord",
- "foss",
- "grunn",
- "hamn",
- "havn",
- "helle",
- "mark",
- "nes",
- "odden",
- "sand",
- "sjøen",
- "stad",
- "strand",
- "strøm",
- "sund",
- "vik",
- "vær",
- "våg",
- "ø",
- "øy",
- "ås",
- ]
- street_suffixes = [
- "alléen",
- "bakken",
- "berget",
- "bråten",
- "eggen",
- "engen",
- "ekra",
- "faret",
- "flata",
- "gata",
- "gjerdet",
- "grenda",
- "gropa",
- "hagen",
- "haugen",
- "havna",
- "holtet",
- "høgda",
- "jordet",
- "kollen",
- "kroken",
- "lia",
- "lunden",
- "lyngen",
- "løkka",
- "marka",
- "moen",
- "myra",
- "plassen",
- "ringen",
- "roa",
- "røa",
- "skogen",
- "skrenten",
- "spranget",
- "stien",
- "stranda",
- "stubben",
- "stykket",
- "svingen",
- "tjernet",
- "toppen",
- "tunet",
- "vollen",
- "vika",
- "åsen",
- ]
- city_formats = ["{{first_name}}{{city_suffix}}", "{{last_name}}"]
- street_name_formats = [
- "{{last_name}}{{street_suffix}}",
- ]
- street_address_formats = ("{{street_name}} {{building_number}}",)
- address_formats = ("{{street_address}}, {{postcode}} {{city}}",)
- building_number_formats = ("%", "%", "%", "%?", "##", "##", "##?", "###")
- building_number_suffixes = OrderedDict(
- [
- ("A", 0.2),
- ("B", 0.2),
- ("C", 0.2),
- ("D", 0.1),
- ("E", 0.1),
- ("F", 0.1),
- ("G", 0.05),
- ("H", 0.05),
- ]
- )
- postcode_formats = ("####",)
-
- def building_number(self) -> str:
- suffix: str = self.random_element(self.building_number_suffixes)
- return self.numerify(self.random_element(self.building_number_formats)).replace("?", suffix)
-
- def city_suffix(self) -> str:
- return self.random_element(self.city_suffixes)
-
- def street_suffix(self) -> str:
- return self.random_element(self.street_suffixes)
diff --git a/venv/lib/python3.11/site-packages/faker/providers/address/no_NO/__pycache__/__init__.cpython-311.pyc b/venv/lib/python3.11/site-packages/faker/providers/address/no_NO/__pycache__/__init__.cpython-311.pyc
deleted file mode 100644
index a906ad8..0000000
--- a/venv/lib/python3.11/site-packages/faker/providers/address/no_NO/__pycache__/__init__.cpython-311.pyc
+++ /dev/null
Binary files differ