arthurdejong / python-stdnum

A Python library to provide functions to handle, parse and validate standard numbers.
https://arthurdejong.org/python-stdnum/
GNU Lesser General Public License v2.1
498 stars 206 forks source link

add format to iso11649 #171

Closed kurtkeller closed 4 years ago

kurtkeller commented 4 years ago

add format to iso11649

The iso11649 module does support format(); add it.

According to info from https://www.paymentstandards.ch and also the wikipedia page already referenced in the module, the format is whitespace separated groups of 4 characters, where the last group can be less than 4 characters.

arthurdejong commented 4 years ago

Hi Kurt,

I've merged your change as 388bac9. Thanks for providing it!