$ ipython
In [1]: import tradedb ; tdb = tradedb.TradeDB() ; stations = list(tdb.stationByID.values())
In [2]: from collections import Counter
In [3]: endings = Counter(station.dbname.rpartition(' ')[2] for station in stations)
In [4]: odd_endings = { ending: count for ending, count in endings.items() if count < 3 }
In [5]: odd_endings
Out[5]:
{'1': 2,
'1871': 1,
'1941': 1,
'23408': 1,
'242': 1,
'4a504d': 1,
'5438': 1,
'Acropolis': 1,
'Alkaabi': 1,
'Allat39': 1,
'Almadrava': 1,
'Alqbi': 1,
'Alrabi': 1,
'Alternation': 1,
'Amphipolis': 1,
'Anchorage': 1,
'Anderton': 1,
'Andrade': 1,
'Apology': 1,
'Arantilae': 1,
'Artemis': 1,
'Athium': 1,
'Ayres': 1,
'B': 1,
'Bakerloo': 1,
'Bank': 1,
'Benlivia': 1,
'Bergerac': 1,
'Berlin': 1,
'Birminghamport': 1,
'Bonkers': 1,
'Brindtopia': 1,
'Brislingholm': 1,
'Brislington': 1,
'Bueschel': 1,
'C': 1,
'Cassie-L-Peia': 1,
'Cateway': 1,
'Cavauerihub': 1,
'Cavern': 1,
'Centre': 1,
'Chernobyl': 1,
'Citadel': 1,
'Clarkie': 1,
'Co': 1,
'Colcny': 1,
'Coliseum': 2,
'Columbus': 1,
'Coluny': 1,
'Com]': 1,
'Construction': 1,
'Coriolis': 1,
'Cousens': 1,
'Crash': 1,
'Cregglezone': 1,
'Cresswell': 1,
'Cunningham': 1,
'Daedalus': 1,
'Darkesport': 1,
'Darkport': 1,
'Den': 1,
'Dhp11': 1,
'ensport': 1,
'Ding': 1,
'Dini': 1,
'Dive': 1,
'Dixon': 1,
'Doc': 1,
'Dogmaa': 1,
'Donaldson': 1,
'Douk': 1,
'Dover': 1,
'Dream': 1,
'Duck': 1,
'Elissa': 1,
'Elizabeth': 1,
'Elkhome': 1,
'Elswick': 1,
'Elwirecraft': 1,
'Embakasi': 1,
'Ent': 1,
'Entefiprise': 1,
'Excelsis': 1,
'Exuberance': 1,
'Eyo6': 1,
'Eyrie': 1,
'Ferdie': 1,
'Filippov': 1,
'Five': 1,
'Flirble': 2,
'Ford': 1,
'Fort': 1,
'Foundation': 1,
'Freeholm': 1,
'Funland': 1,
'Futhark': 1,
'G-Mahoney-1': 1,
'Galileo': 1,
'Gallimaufry': 1,
'Gambit': 1,
"Gardn'Er'B'I'Op": 1,
"Garon'Efc'Btop": 1,
'Gate': 2,
'Gatevvay': 1,
'Geronimo': 1,
'Gonzalez': 1,
'Goose': 1,
'Gordon': 1,
'Gr8minds': 1,
'Gruvara': 1,
'Habitat': 1,
'Halt': 1,
'Ham': 1,
'Hangout': 2,
'Happis': 1,
'Hardwick': 2,
'Harrison': 1,
'Harvestport': 1,
'Haven': 1,
'Heaven': 1,
'Hideout': 1,
'Highbanks': 1,
'Hill': 1,
'Hold': 1,
'Holding': 1,
'Hole': 1,
'Holm': 1,
'Home': 1,
'Hooperport': 1,
'Hop': 1,
'Hopi': 1,
'Horizon': 1,
'Hospital': 1,
'Hq': 1,
'Hq]': 1,
'Hu8': 1,
'Ib': 2,
'Iding': 1,
'Industries': 1,
'Ing': 1,
'Internal': 1,
'Invergary': 1,
'Irkutsk': 1,
'Irvey': 2,
'Iskareen': 1,
'J.F.Kennedy': 1,
'Jao': 1,
'Jeremy': 1,
'Kadenyuk': 1,
'Katherineb': 1,
'Klarix': 1,
'Kramski-Putter': 1,
'Kyla': 1,
'Kyle': 1,
'Lab': 2,
'Lambada': 1,
'Lane': 1,
'Lawrence': 1,
'Lee': 1,
'Lincoln': 1,
'Lofthus': 1,
'Lucas': 1,
'M': 1,
'M.Gorbachev': 1,
'Majida': 1,
'Manoevre': 1,
'Manwaring': 1,
'Marconiport': 1,
'Masters': 1,
'Matt': 1,
'Mausoleum': 1,
'Mcauliffe': 1,
'Melbourne': 1,
'Merritt': 1,
'Metalworks': 1,
'Midget': 1,
'Milestones': 1,
'Minl': 1,
'Minor': 1,
'Mobius': 1,
'Mojo': 1,
'Mortuary': 1,
'Musry': 1,
'Naglotech': 1,
'Nest': 1,
'Noblehome': 1,
'Nobleport': 1,
'Noctilux': 1,
'Oblivion': 1,
'Obuwon': 1,
'Onez': 1,
'Ordital': 1,
'Orlital': 1,
'Oudemans': 1,
'Owl': 1,
'Pantazis': 1,
'Pepper': 1,
'Persephone': 2,
'Phaid': 1,
'Phoenix': 1,
'Pleasuredome': 1,
'Porta': 2,
'Prime': 1,
'Principality': 1,
'R': 1,
'RJH1972': 1,
'RJHysie': 1,
'Ralphus': 1,
'Refuge': 2,
'Research': 1,
'Rinc': 2,
'Ringx': 1,
'Rochester': 1,
'Roig': 1,
'Rose': 1,
'Rvey': 2,
'Samson': 1,
'Sansebar': 1,
'Shifnalport': 1,
'Shipyard': 1,
'Silo': 2,
'Sippar': 1,
'Smithport': 1,
'Sopheos': 1,
'Sovica': 1,
'Srllhorqons': 1,
'Stadium': 1,
'Starport': 1,
'Station-L': 1,
'Sttlement': 1,
'Sunday': 1,
'Sunshine': 1,
'Svp': 1,
'Terminax': 1,
'Thiemann': 1,
'Thirsk': 1,
'Time': 1,
'Towarnicki': 1,
'Town': 2,
'Tranquillity': 1,
'Tranqunuty': 1,
'Ugrivirii': 1,
'Uity': 1,
'Unity': 1,
'V': 2,
"Wagar's": 1,
'Wargnerport': 1,
'Warinus': 1,
'Wart': 1,
'Way': 1,
'White': 1,
'Wiesniwski-Snerg': 1,
'Xx': 1,
'Y': 1,
'Yarrow': 1,
'Yola': 1,
'York': 1,
'Young': 1,
'Zaman': 1,
'Zelada': 1}
In [6]: for station in stations:
...: ending = station.dbname.rpartition(' ')[2]
...: if ending in odd_endings:
...: print(station.name())
...: