When creating reports involving amateur radio callsigns, it is useful to be able to sort them according to region, prefix and postfix, as this is the way we are accustomed to thinking about them. In addition, padding them so that call regions align and other types of worthy formatting are applied is something I have found to be very handy.
For this purpose, I developed aa_calllib.py, a Python import library. You are welcome to use it.
Click here to download the zipped library.
|1.0.1||• More efficient code for .cReduce(txtCall)
• Added .sCallsignKey(txtCall) for use in sorted()