text.mask Mask all but the last n characters of a card, account or phone number, optionally keeping separators. mask in Python textmaskredactobscure 1.0.0py rs ts16 tests
validation.luhn Check a digit string against the Luhn mod-10 checksum used by payment cards and many identifiers. is_luhn in Python validationluhnmod10checksum 1.0.0py rs ts18 tests