Welcome | Get started | Dive | Contribute | Topics | Reference | Changes | More
lino.utils.ssin¶
See ssin : Belgian national identification numbers.
Functions
|
Add formatting chars to a given raw SSIN. |
|
Add formatting chars to a given raw SSIN. |
|
Generate an SSIN from a given birth date, gender and optional sequence number. |
|
Returns True if this is a valid SSIN. |
Formats a raw SSIN as they are printed on the back of Belgian eid cards, for example "68.06.01-053.09" |
|
|
|
|
Checks whether the specified SSIN is valid. |
|
|
|
Remove formatting characters from given SSIN. |
- lino.utils.ssin.generate_ssin(birth_date, gender, seq=None)¶
Generate an SSIN from a given birth date, gender and optional sequence number.
- lino.utils.ssin.is_valid_ssin(ssin)¶
Returns True if this is a valid SSIN.
- lino.utils.ssin.new_format_ssin(s)¶
Formats a raw SSIN as they are printed on the back of Belgian eid cards, for example “68.06.01-053.09”
- lino.utils.ssin.unformat_ssin(ssin)¶
Remove formatting characters from given SSIN.
- lino.utils.ssin.format_ssin(raw_ssin)¶
Add formatting chars to a given raw SSIN.
- lino.utils.ssin.format_niss(raw_ssin)¶
Add formatting chars to a given raw SSIN.
- lino.utils.ssin.ssin_validator(ssin)¶
Checks whether the specified SSIN is valid. If not, raises a ValidationError.