Locale sr_BA¶
faker.providers.ssn¶
- class faker.providers.ssn.sr_BA.Provider(generator: Any)¶
Bases:
ProviderBosnia and Herzegovina JMB provider.
- ssn() str¶
Generates a 13-digit Bosnia and Herzegovina SSN (JMB - Jedinstveni maticni broj). - https://mup.vladars.rs/lat/mup-servisi/jmb#jumptopost - https://sr.wikipedia.org/sr-el/Јединствени_матични_број_грађана
Structure: DD MM YYY RR BBB K - DD: day of month - MM: month - YYY: last three digits of year - RR: registration area code (10-19 for Bosnia and Herzegovina) - BBB: personal number where 000-499 for males and 500-999 for females - K: control digit
- Examples:
>>> Faker.seed(0) >>> for _ in range(5): ... fake.ssn() ... '1310010170411' '2508951194973' '2505966159911' '1908973145164' '2507939137739'