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/ssn/tr_TR | |
parent | c45662ff3923b34614ddcc8feb9195541166dcc5 (diff) |
no venv
Diffstat (limited to 'venv/lib/python3.11/site-packages/faker/providers/ssn/tr_TR')
2 files changed, 0 insertions, 18 deletions
diff --git a/venv/lib/python3.11/site-packages/faker/providers/ssn/tr_TR/__init__.py b/venv/lib/python3.11/site-packages/faker/providers/ssn/tr_TR/__init__.py deleted file mode 100644 index b68fc84..0000000 --- a/venv/lib/python3.11/site-packages/faker/providers/ssn/tr_TR/__init__.py +++ /dev/null @@ -1,18 +0,0 @@ -from .. import Provider as BaseProvider - - -class Provider(BaseProvider): - # Source: - # Turkey Republic National Number is identity number. - # Identity number contains 11 numbers, - # First number can't be zero - # Eleventh number is result of division after sum first number - - def ssn(self) -> str: - """ - :example: '89340691651' - """ - first_part: int = self.random_element((1, 2, 3, 4, 5, 6, 7, 8, 9)) - middle_part: str = self.bothify("#########") - last_part: int = sum(int(x) for x in f"{first_part}{middle_part}") % 10 - return f"{first_part}{middle_part}{last_part}" diff --git a/venv/lib/python3.11/site-packages/faker/providers/ssn/tr_TR/__pycache__/__init__.cpython-311.pyc b/venv/lib/python3.11/site-packages/faker/providers/ssn/tr_TR/__pycache__/__init__.cpython-311.pyc Binary files differdeleted file mode 100644 index 8a9348f..0000000 --- a/venv/lib/python3.11/site-packages/faker/providers/ssn/tr_TR/__pycache__/__init__.cpython-311.pyc +++ /dev/null |