summaryrefslogtreecommitdiff
path: root/venv/lib/python3.11/site-packages/faker/providers/ssn/az_AZ
diff options
context:
space:
mode:
Diffstat (limited to 'venv/lib/python3.11/site-packages/faker/providers/ssn/az_AZ')
-rw-r--r--venv/lib/python3.11/site-packages/faker/providers/ssn/az_AZ/__init__.py39
-rw-r--r--venv/lib/python3.11/site-packages/faker/providers/ssn/az_AZ/__pycache__/__init__.cpython-311.pycbin0 -> 1054 bytes
2 files changed, 39 insertions, 0 deletions
diff --git a/venv/lib/python3.11/site-packages/faker/providers/ssn/az_AZ/__init__.py b/venv/lib/python3.11/site-packages/faker/providers/ssn/az_AZ/__init__.py
new file mode 100644
index 0000000..2012a15
--- /dev/null
+++ b/venv/lib/python3.11/site-packages/faker/providers/ssn/az_AZ/__init__.py
@@ -0,0 +1,39 @@
+from .. import Provider as SsnProvider
+
+
+class Provider(SsnProvider):
+ # The FIN code consists of 7 characters (letters and numbers of the English alphabet,
+ # except for the letters "I" and "O").
+
+ characters = [
+ "A",
+ "B",
+ "C",
+ "D",
+ "E",
+ "F",
+ "G",
+ "H",
+ "J",
+ "K",
+ "L",
+ "M",
+ "N",
+ "P",
+ "Q",
+ "R",
+ "S",
+ "T",
+ "U",
+ "V",
+ "W",
+ "X",
+ "Y",
+ "Z",
+ ]
+ numbers = ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]
+ all_characters = characters + numbers
+
+ def ssn(self) -> str:
+ ssn = "".join(self.random_elements(elements=self.all_characters, length=7))
+ return ssn
diff --git a/venv/lib/python3.11/site-packages/faker/providers/ssn/az_AZ/__pycache__/__init__.cpython-311.pyc b/venv/lib/python3.11/site-packages/faker/providers/ssn/az_AZ/__pycache__/__init__.cpython-311.pyc
new file mode 100644
index 0000000..60d4b3f
--- /dev/null
+++ b/venv/lib/python3.11/site-packages/faker/providers/ssn/az_AZ/__pycache__/__init__.cpython-311.pyc
Binary files differ