summaryrefslogtreecommitdiff
path: root/venv/lib/python3.11/site-packages/faker/providers/bank/fa_IR
diff options
context:
space:
mode:
authorcyfraeviolae <cyfraeviolae>2024-04-03 03:10:44 -0400
committercyfraeviolae <cyfraeviolae>2024-04-03 03:10:44 -0400
commit6d7ba58f880be618ade07f8ea080fe8c4bf8a896 (patch)
treeb1c931051ffcebd2bd9d61d98d6233ffa289bbce /venv/lib/python3.11/site-packages/faker/providers/bank/fa_IR
parent4f884c9abc32990b4061a1bb6997b4b37e58ea0b (diff)
venv
Diffstat (limited to 'venv/lib/python3.11/site-packages/faker/providers/bank/fa_IR')
-rw-r--r--venv/lib/python3.11/site-packages/faker/providers/bank/fa_IR/__init__.py60
-rw-r--r--venv/lib/python3.11/site-packages/faker/providers/bank/fa_IR/__pycache__/__init__.cpython-311.pycbin0 -> 2078 bytes
2 files changed, 60 insertions, 0 deletions
diff --git a/venv/lib/python3.11/site-packages/faker/providers/bank/fa_IR/__init__.py b/venv/lib/python3.11/site-packages/faker/providers/bank/fa_IR/__init__.py
new file mode 100644
index 0000000..5e23d29
--- /dev/null
+++ b/venv/lib/python3.11/site-packages/faker/providers/bank/fa_IR/__init__.py
@@ -0,0 +1,60 @@
+from .. import Provider as BankProvider
+
+
+class Provider(BankProvider):
+ """Implement bank provider for ``fa_IR`` locale."""
+
+ bban_format = "IR########################"
+ country_code = "IR"
+ swift_bank_codes = (
+ "BEGN",
+ "KESH",
+ "BKMN",
+ "BKBP",
+ "CIYB",
+ "BTOS",
+ "IVBB",
+ "KBID",
+ "KIBO",
+ "KHMI",
+ )
+ swift_location_codes = ("TH",)
+ swift_branch_codes = ("BSH", "BCQ", "tIR", "tTH", "ATM", "BIC", "TIR", "ASR", "FOR")
+
+ banks = (
+ "بانکهای قرض الحسنه",
+ "بانک ملّی ایران",
+ "بانک اقتصاد نوین",
+ "بانک قرض‌الحسنه مهر ایران",
+ "بانک سپه",
+ "بانک پارسیان",
+ "بانک قرض‌الحسنه رسالت",
+ "بانک صنعت و معدن",
+ "بانک کارآفرین",
+ "بانک کشاورزی",
+ "بانک سامان",
+ "بانک مسکن",
+ "بانک سینا",
+ "بانک توسعه صادرات ایران",
+ "بانک خاور میانه",
+ "بانک توسعه تعاون",
+ "بانک شهر",
+ "پست بانک ایران",
+ "بانک دی",
+ "بانک صادرات",
+ "بانک ملت",
+ "بانک تجارت",
+ "بانک رفاه",
+ "بانک حکمت ایرانیان",
+ "بانک گردشگری",
+ "بانک ایران زمین",
+ "بانک قوامین",
+ "بانک انصار",
+ "بانک سرمایه",
+ "بانک پاسارگاد",
+ "بانک مشترک ایران-ونزوئلا",
+ )
+
+ def bank(self) -> str:
+ """Generate a bank name."""
+ return self.random_element(self.banks)
diff --git a/venv/lib/python3.11/site-packages/faker/providers/bank/fa_IR/__pycache__/__init__.cpython-311.pyc b/venv/lib/python3.11/site-packages/faker/providers/bank/fa_IR/__pycache__/__init__.cpython-311.pyc
new file mode 100644
index 0000000..61a7c3d
--- /dev/null
+++ b/venv/lib/python3.11/site-packages/faker/providers/bank/fa_IR/__pycache__/__init__.cpython-311.pyc
Binary files differ