DMRid-contacts

Prerequisites:

  • Python >= 3.6
  • Package regex (pip install regex, e.g.)

Usage:

convert_non_ASCII.py [options] <input-file> <output-file>

Options:

  • -c -- Convert non-ASCII characters by internal mapping
  • -s -- Drop contacts containing non-ASCII characters
  • -d -- Drop contacts which appear not to have a valid callsign
  • --no-none -- omit 'None' in text
  • --modify-index -- create strictly continuous numbering beginning with 1 in first number column (Anytone files, e.g.)
  • -w -- Drop callsigns not matching any ITU-prefix -- needs --itu-prefix!
  • --itu-prefix -- List of (regular expression) ITU-prefixes