From 6d7ba58f880be618ade07f8ea080fe8c4bf8a896 Mon Sep 17 00:00:00 2001 From: cyfraeviolae Date: Wed, 3 Apr 2024 03:10:44 -0400 Subject: venv --- .../faker/providers/bank/zh_CN/__init__.py | 37 +++++++++++++++++++++ .../zh_CN/__pycache__/__init__.cpython-311.pyc | Bin 0 -> 1401 bytes 2 files changed, 37 insertions(+) create mode 100644 venv/lib/python3.11/site-packages/faker/providers/bank/zh_CN/__init__.py create mode 100644 venv/lib/python3.11/site-packages/faker/providers/bank/zh_CN/__pycache__/__init__.cpython-311.pyc (limited to 'venv/lib/python3.11/site-packages/faker/providers/bank/zh_CN') diff --git a/venv/lib/python3.11/site-packages/faker/providers/bank/zh_CN/__init__.py b/venv/lib/python3.11/site-packages/faker/providers/bank/zh_CN/__init__.py new file mode 100644 index 0000000..83b34e5 --- /dev/null +++ b/venv/lib/python3.11/site-packages/faker/providers/bank/zh_CN/__init__.py @@ -0,0 +1,37 @@ +from .. import Provider as BankProvider + + +class Provider(BankProvider): + """Implement bank provider for ``zh_CN`` locale. + Source: https://zh.wikipedia.org/wiki/中国大陆银行列表 + """ + + 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/zh_CN/__pycache__/__init__.cpython-311.pyc b/venv/lib/python3.11/site-packages/faker/providers/bank/zh_CN/__pycache__/__init__.cpython-311.pyc new file mode 100644 index 0000000..15d5780 Binary files /dev/null and b/venv/lib/python3.11/site-packages/faker/providers/bank/zh_CN/__pycache__/__init__.cpython-311.pyc differ -- cgit v1.2.3