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/bank/en_PH | |
parent | c45662ff3923b34614ddcc8feb9195541166dcc5 (diff) |
no venv
Diffstat (limited to 'venv/lib/python3.11/site-packages/faker/providers/bank/en_PH')
2 files changed, 0 insertions, 109 deletions
diff --git a/venv/lib/python3.11/site-packages/faker/providers/bank/en_PH/__init__.py b/venv/lib/python3.11/site-packages/faker/providers/bank/en_PH/__init__.py deleted file mode 100644 index 22e92a3..0000000 --- a/venv/lib/python3.11/site-packages/faker/providers/bank/en_PH/__init__.py +++ /dev/null @@ -1,109 +0,0 @@ -import logging - -from faker.providers.bank import Provider as BankProvider - -logger = logging.getLogger(__name__) - - -class Provider(BankProvider): - """Implement bank provider for ``en_PH`` locale.""" - - country_code = "PH" - bban_format = "################" - swift_bank_codes = ( - "ANZB", - "AUBK", - "BKCH", - "BKKB", - "BNOR", - "BNPA", - "BOFA", - "BOPI", - "BOTK", - "BPDI", - "BPFS", - "BPGO", - "CHAS", - "CHBK", - "CHSV", - "CITI", - "CPHI", - "CTCB", - "DBPH", - "DEUT", - "EQSN", - "EWBC", - "FCBK", - "HBPH", - "HNBK", - "HSBC", - "IBKO", - "ICBC", - "INGB", - "KOEX", - "MBBE", - "MBTC", - "MHCB", - "PABI", - "PHSB", - "PHTB", - "PHVB", - "PNBM", - "PPBU", - "RCBC", - "ROBP", - "SCBL", - "SETC", - "SHBK", - "SMBC", - "STLA", - "TACB", - "TLBP", - "TYBK", - "UBPH", - "UCPB", - "UOVB", - "UWCB", - ) - swift_location_codes = ( - "22", - "2X", - "M1", - "MM", - "MQ", - "MX", - ) - swift_branch_codes = ( - "CBU", - "EQI", - "TSU", - "XXX", - ) - - def bban(self) -> str: - """Generate a Basic Bank Account Number (BBAN). - - .. warning:: - Philippine bank accounts do not have BBANs or IBANs, so any number - generated by this method is a purely hypothetical number. Local bank - account numbers are typically 10 or 12 digits long, so the BBAN - format used in this implementation has been arbitrarily set to 16 - digits to simulate a hypothetical standardization of account numbers. - Using this method will log a warning regarding the hypotheticality of - the result. - """ - logger.warning("Numbers generated by this method are purely hypothetical.") - return super().bban() - - def iban(self) -> str: - """Generate an International Bank Account Number (IBAN). - - .. warning:: - Philippine bank accounts do not have BBANs or IBANs, so any number - generated by this method is a purely hypothetical number. This method - uses hypothetical PH BBANs and the PH country code as inputs to the - IBAN generation algorithm. Using this method will log a warning - regarding the hypotheticality of the result. - """ - logger.warning("Numbers generated by this method are purely hypothetical.") - return super().iban() diff --git a/venv/lib/python3.11/site-packages/faker/providers/bank/en_PH/__pycache__/__init__.cpython-311.pyc b/venv/lib/python3.11/site-packages/faker/providers/bank/en_PH/__pycache__/__init__.cpython-311.pyc Binary files differdeleted file mode 100644 index dbc64a7..0000000 --- a/venv/lib/python3.11/site-packages/faker/providers/bank/en_PH/__pycache__/__init__.cpython-311.pyc +++ /dev/null |