diff options
author | cyfraeviolae <cyfraeviolae> | 2024-04-03 03:10:44 -0400 |
---|---|---|
committer | cyfraeviolae <cyfraeviolae> | 2024-04-03 03:10:44 -0400 |
commit | 6d7ba58f880be618ade07f8ea080fe8c4bf8a896 (patch) | |
tree | b1c931051ffcebd2bd9d61d98d6233ffa289bbce /venv/lib/python3.11/site-packages/faker/providers/ssn/en_PH | |
parent | 4f884c9abc32990b4061a1bb6997b4b37e58ea0b (diff) |
venv
Diffstat (limited to 'venv/lib/python3.11/site-packages/faker/providers/ssn/en_PH')
2 files changed, 53 insertions, 0 deletions
diff --git a/venv/lib/python3.11/site-packages/faker/providers/ssn/en_PH/__init__.py b/venv/lib/python3.11/site-packages/faker/providers/ssn/en_PH/__init__.py new file mode 100644 index 0000000..e63cfc7 --- /dev/null +++ b/venv/lib/python3.11/site-packages/faker/providers/ssn/en_PH/__init__.py @@ -0,0 +1,53 @@ +from ... import BaseProvider + + +class Provider(BaseProvider): + """ + Provider for Philippine IDs that are related to social security + + There is no unified social security program in the Philippines. Instead, the Philippines has a messy collection of + social programs and IDs that, when put together, serves as an analogue of other countries' social security program. + The government agencies responsible for these programs have relatively poor/outdated information and documentation + on their respective websites, so the sources section include third party "unofficial" information. + + - Social Security System (SSS) - Social insurance program for workers in private, professional, and informal sectors + - Government Service Insurance System (GSIS) - Social insurance program for government employees + - Home Development Mutual Fund (popularly known as Pag-IBIG) - Socialized financial assistance and loaning program + - Philippine Health Insurance Corporation (PhilHealth) - Social insurance program for health care + - Unified Multi-Purpose ID (UMID) - Identity card with common reference number (CRN) that serves as a link to + the four previous programs and was planned to supersede the previous IDs, but + its future is now uncertain because of the upcoming national ID system + + Sources: + - https://www.sss.gov.ph/sss/DownloadContent?fileName=SSSForms_UMID_Application.pdf + - https://www.gsis.gov.ph/active-members/benefits/ecard-plus/ + - https://www.pagibigfund.gov.ph/DLForms/providentrelated/PFF039_MembersDataForm_V07.pdf + - https://filipiknow.net/is-umid-and-sss-id-the-same/ + - https://filipiknow.net/philhealth-number/ + - https://en.wikipedia.org/wiki/Unified_Multi-Purpose_ID + """ + + sss_formats = ("##-#######-#",) + gsis_formats = ("###########",) + philhealth_formats = ("##-#########-#",) + pagibig_formats = ("####-####-####",) + umid_formats = ("####-#######-#",) + + def sss(self) -> str: + return self.numerify(self.random_element(self.sss_formats)) + + def gsis(self) -> str: + return self.numerify(self.random_element(self.gsis_formats)) + + def pagibig(self) -> str: + return self.numerify(self.random_element(self.pagibig_formats)) + + def philhealth(self) -> str: + return self.numerify(self.random_element(self.philhealth_formats)) + + def umid(self) -> str: + return self.numerify(self.random_element(self.umid_formats)) + + def ssn(self) -> str: + # Use UMID as SSN in the interim till its deprecation + return self.umid() diff --git a/venv/lib/python3.11/site-packages/faker/providers/ssn/en_PH/__pycache__/__init__.cpython-311.pyc b/venv/lib/python3.11/site-packages/faker/providers/ssn/en_PH/__pycache__/__init__.cpython-311.pyc Binary files differnew file mode 100644 index 0000000..e033613 --- /dev/null +++ b/venv/lib/python3.11/site-packages/faker/providers/ssn/en_PH/__pycache__/__init__.cpython-311.pyc |