blob: 8e5cfa1f45748a642df23800aa1eb8a444f4338e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
# uic-parse
A rather untested, sleep deprived UIC parsing project for the sake of no fucking clue why honestly.
Allows encoding and decoding from strings, aswell as from/to JSON - in a lossless\* way. Attempts to do country discovery. Can validate or backfill check digits.
\*for strings, assuming we can identify countries correctly
In library mode, it attempts to be a bit resillient by default and "fix" what it can - but (excluding throwing away garbage characters) can be configured to turn that into more aggressive erroring with options.
In CLI mode, it defaults to all of those checks being enabled, and (for now with a single option without fine-grained control) being disablable with `--validate=false`.
|