not1mm 24.11.3.1__py3-none-any.whl → 24.11.6__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
not1mm/lib/lookup.py CHANGED
@@ -183,7 +183,7 @@ class QRZlookup:
183
183
  Lookup a call on QRZ
184
184
  """
185
185
  logger.info("%s", call)
186
- _response = None
186
+ root = {}
187
187
  if self.session:
188
188
  payload = {"s": self.session, "callsign": call}
189
189
  try:
@@ -208,7 +208,7 @@ class QRZlookup:
208
208
  self.qrzurl, params=payload, timeout=3.0
209
209
  )
210
210
  baseroot = xmltodict.parse(query_result.text)
211
- root = baseroot.get("QRZDatabase")
211
+ root = baseroot.get("QRZDatabase", {})
212
212
  return root.get("Callsign")
213
213
 
214
214
 
not1mm/lib/version.py CHANGED
@@ -1,3 +1,3 @@
1
1
  """It's the version"""
2
2
 
3
- __version__ = "24.11.3.1"
3
+ __version__ = "24.11.6"
@@ -535,3 +535,13 @@ def ft8_handler(the_packet: dict):
535
535
  ALTEREGO.other_1.setText(my_grid)
536
536
  ALTEREGO.other_2.setText(their_grid)
537
537
  ALTEREGO.save_contact()
538
+
539
+
540
+ def check_call_history(self):
541
+ """"""
542
+ result = self.database.fetch_call_history(self.callsign.text())
543
+ print(f"{result=}")
544
+ if result:
545
+ self.history_info.setText(f"{result.get('UserText','')}")
546
+ if self.other_2.text() == "":
547
+ self.other_2.setText(f"{result.get('Loc1', '')}")
@@ -503,3 +503,13 @@ def ft8_handler(the_packet: dict):
503
503
  ALTEREGO.other_1.setText(my_grid)
504
504
  ALTEREGO.other_2.setText(their_grid)
505
505
  ALTEREGO.save_contact()
506
+
507
+
508
+ def check_call_history(self):
509
+ """"""
510
+ result = self.database.fetch_call_history(self.callsign.text())
511
+ print(f"{result=}")
512
+ if result:
513
+ self.history_info.setText(f"{result.get('UserText','')}")
514
+ if self.other_2.text() == "":
515
+ self.other_2.setText(f"{result.get('Loc1', '')}")
@@ -503,3 +503,13 @@ def ft8_handler(the_packet: dict):
503
503
  ALTEREGO.other_1.setText(my_grid)
504
504
  ALTEREGO.other_2.setText(their_grid)
505
505
  ALTEREGO.save_contact()
506
+
507
+
508
+ def check_call_history(self):
509
+ """"""
510
+ result = self.database.fetch_call_history(self.callsign.text())
511
+ print(f"{result=}")
512
+ if result:
513
+ self.history_info.setText(f"{result.get('UserText','')}")
514
+ if self.other_2.text() == "":
515
+ self.other_2.setText(f"{result.get('Loc1', '')}")
@@ -448,3 +448,15 @@ def recalculate_mults(self):
448
448
  contact["IsMultiplier1"] = 0
449
449
  self.database.change_contact(contact)
450
450
  trigger_update(self)
451
+
452
+
453
+ def check_call_history(self):
454
+ """"""
455
+ result = self.database.fetch_call_history(self.callsign.text())
456
+ print(f"{result=}")
457
+ if result:
458
+ self.history_info.setText(f"{result.get('UserText','')}")
459
+ # if self.other_1.text() == "":
460
+ # self.other_1.setText(f"{result.get('CQZone', '')}")
461
+ # if self.other_2.text() == "":
462
+ # self.other_2.setText(f"{result.get('State', '')}")
@@ -448,3 +448,15 @@ def recalculate_mults(self):
448
448
  contact["IsMultiplier1"] = 0
449
449
  self.database.change_contact(contact)
450
450
  trigger_update(self)
451
+
452
+
453
+ def check_call_history(self):
454
+ """"""
455
+ result = self.database.fetch_call_history(self.callsign.text())
456
+ print(f"{result=}")
457
+ if result:
458
+ self.history_info.setText(f"{result.get('UserText','')}")
459
+ # if self.other_1.text() == "":
460
+ # self.other_1.setText(f"{result.get('CQZone', '')}")
461
+ # if self.other_2.text() == "":
462
+ # self.other_2.setText(f"{result.get('State', '')}")
@@ -518,3 +518,13 @@ def process_esm(self, new_focused_widget=None, with_enter=False):
518
518
  self.save_contact()
519
519
  continue
520
520
  self.process_function_key(button)
521
+
522
+
523
+ def check_call_history(self):
524
+ """"""
525
+ result = self.database.fetch_call_history(self.callsign.text())
526
+ print(f"{result=}")
527
+ if result:
528
+ self.history_info.setText(f"{result.get('UserText','')}")
529
+ if self.other_2.text() == "":
530
+ self.other_2.setText(f"{result.get('CQZone', '')}")
@@ -637,3 +637,15 @@ def process_esm(self, new_focused_widget=None, with_enter=False):
637
637
  continue
638
638
  sendstring = f"{sendstring}{self.process_macro(button.toolTip())} "
639
639
  self.fldigi_util.send_string(sendstring)
640
+
641
+
642
+ def check_call_history(self):
643
+ """"""
644
+ result = self.database.fetch_call_history(self.callsign.text())
645
+ print(f"{result=}")
646
+ if result:
647
+ self.history_info.setText(f"{result.get('UserText','')}")
648
+ if self.other_1.text() == "":
649
+ self.other_1.setText(f"{result.get('CQZone', '')}")
650
+ if self.other_2.text() == "":
651
+ self.other_2.setText(f"{result.get('State', '')}")
@@ -506,3 +506,13 @@ def process_esm(self, new_focused_widget=None, with_enter=False):
506
506
  self.save_contact()
507
507
  continue
508
508
  self.process_function_key(button)
509
+
510
+
511
+ def check_call_history(self):
512
+ """"""
513
+ result = self.database.fetch_call_history(self.callsign.text())
514
+ print(f"{result=}")
515
+ if result:
516
+ self.history_info.setText(f"{result.get('UserText','')}")
517
+ if self.other_2.text() == "":
518
+ self.other_2.setText(f"{result.get('CQZone', '')}")
@@ -364,3 +364,13 @@ def cabrillo(self, file_encoding):
364
364
 
365
365
  def recalculate_mults(self):
366
366
  """Recalculates multipliers after change in logged qso."""
367
+
368
+
369
+ def check_call_history(self):
370
+ """"""
371
+ result = self.database.fetch_call_history(self.callsign.text())
372
+ print(f"{result=}")
373
+ if result:
374
+ self.history_info.setText(f"{result.get('UserText','')}")
375
+ if self.other_1.text() == "":
376
+ self.other_1.setText(f"{result.get('Loc1', '')}")
@@ -572,3 +572,15 @@ def process_esm(self, new_focused_widget=None, with_enter=False):
572
572
  continue
573
573
  sendstring = f"{sendstring}{self.process_macro(button.toolTip())} "
574
574
  self.fldigi_util.send_string(sendstring)
575
+
576
+
577
+ def check_call_history(self):
578
+ """"""
579
+ result = self.database.fetch_call_history(self.callsign.text())
580
+ print(f"{result=}")
581
+ if result:
582
+ self.history_info.setText(f"{result.get('UserText','')}")
583
+ if self.other_1.text() == "":
584
+ self.other_1.setText(f"{result.get('Name', '')}")
585
+ if self.other_2.text() == "":
586
+ self.other_2.setText(f"{result.get('Sect', '')}")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: not1mm
3
- Version: 24.11.3.1
3
+ Version: 24.11.6
4
4
  Summary: NOT1MM Logger
5
5
  Author-email: Michael Bridak <michael.bridak@gmail.com>
6
6
  Project-URL: Homepage, https://github.com/mbridak/not1mm
@@ -236,6 +236,8 @@ generated, 'cause I'm lazy, list of those who've submitted PR's.
236
236
 
237
237
  ## Recent Changes (Polishing the Turd)
238
238
 
239
+ - [24-11-6] Added Call history to ARRL VHF, CQ160, CQWW, StewPerry, Weekly RTTY
240
+ - [24-11-5] Fix crash with bad qrz credentials.
239
241
  - [24-11-3-1] Fixed CWT ESM, Add Call History to CWT, Helvetia, WFD, NAQP, K1USN. Add ESM Helvetia.
240
242
  - [24-11-3] Added RAEM contest
241
243
  - [24-11-2] Add beginning of call history files. Add command buttons.
@@ -106,7 +106,7 @@ not1mm/lib/fldigi_sendstring.py,sha256=EeXSBRKgyUEzNyHBjMtHiFe-iOU3TcWcCCX77t0ur
106
106
  not1mm/lib/fldigi_watcher.py,sha256=reZz3fZLDoJVVZhJD9nIssk2aczCzadDSQTVu-5mTCM,919
107
107
  not1mm/lib/ft8_watcher.py,sha256=BFmVIsnbwuRMWoe-dIBybuCgi0WFmr8Km0O9l4eiwMM,4624
108
108
  not1mm/lib/ham_utility.py,sha256=WMmYLDI_fJHHsn0wkpGVit2Hv8fo6r9ybexXROia8Cg,11967
109
- not1mm/lib/lookup.py,sha256=_Awt1HjiuSrhLTrwoF8EoFQC_bYYH1vqfAo_HSaMb00,10838
109
+ not1mm/lib/lookup.py,sha256=KECMDi9tflRDzgTLeDfDl7HGWWRHvW3HCjNHyyjoWaY,10835
110
110
  not1mm/lib/multicast.py,sha256=KJcruI-bOuHfHXPjl3SGQhL6I9sKrygy-sdFSvxffUM,3255
111
111
  not1mm/lib/n1mm.py,sha256=H54mpgJF0GAmKavM-nb5OAq2SJFWYkux4eMWWiSRxJc,6288
112
112
  not1mm/lib/new_contest.py,sha256=IznTDMq7yXHB6zBoGUEC_WDYPCPpsSZW4wwMJi16zK0,816
@@ -115,7 +115,7 @@ not1mm/lib/plugin_common.py,sha256=TbFUbftjELFt4QRdsjSHbqnXSngZOlSwlCTClqosDXA,9
115
115
  not1mm/lib/select_contest.py,sha256=WsptLuwkouIHeocJL3oZ6-eUfEnhpwdc-x7eMZ_TIVM,359
116
116
  not1mm/lib/settings.py,sha256=Xt0WE2ro_kUYdugQ0Pe1SQX07MHrJ0jyQqDqAKKqxuU,13564
117
117
  not1mm/lib/super_check_partial.py,sha256=hwT2NRwobu0PLDyw6ltmbmcAtGBD02CKGFbgGWjXMqA,2334
118
- not1mm/lib/version.py,sha256=Btgwu6kl0TlIECijmlZ2Wtxk997mJhCTTrxl_QobxLM,50
118
+ not1mm/lib/version.py,sha256=KCXyExImS-3bja9rsBnV3HWDykHK-FHT3DF7HIjhb88,48
119
119
  not1mm/lib/versiontest.py,sha256=8vDNptuBBunn-1IGkjNaquehqBYUJyjrPSF8Igmd4_Y,1286
120
120
  not1mm/plugins/10_10_fall_cw.py,sha256=gNgTnafjM99cFvZ-6qBfWoOvd5Zj2Ehx6XjJvrHjm40,11872
121
121
  not1mm/plugins/10_10_spring_cw.py,sha256=QME8LyLyTnHsA5sjGG19n_64-0gdgBMRRi9C8LpgQzs,11877
@@ -129,18 +129,18 @@ not1mm/plugins/arrl_field_day.py,sha256=N68dy5FhPCDYxTIP8PNQh4p5rZDJlHmhQqJyH6Qi
129
129
  not1mm/plugins/arrl_rtty_ru.py,sha256=hKUS4isjdXo3EYxQrsqsDupPp2chW8fpoWj0T1pTgJ4,7994
130
130
  not1mm/plugins/arrl_ss_cw.py,sha256=G1WT2_nF-IISHwteZYT0gJJ6vu_QqUE4hg8gm4tLxss,17596
131
131
  not1mm/plugins/arrl_ss_phone.py,sha256=zIZidB3li8n7dxCsqGechkSmxjQM7TBHeLvSv2l5QdY,17246
132
- not1mm/plugins/arrl_vhf_jan.py,sha256=wRxzWhZisEK7vFM05Wb5uQFA7Vrf7Wy6Gduq-cpmak4,16636
133
- not1mm/plugins/arrl_vhf_jun.py,sha256=fRMTvANVoRZmiRy2_Zx9uIE2JaMMbs_wTkDd0-NAuxQ,15728
134
- not1mm/plugins/arrl_vhf_sep.py,sha256=7fbk_Uxw7IKyFt4SDS0Vf7VFTdZXvVC-8gdcnPGlgVw,15728
132
+ not1mm/plugins/arrl_vhf_jan.py,sha256=HZLqRUGX2aROnmVPfkspx9sd3GPPKdcVIQT1_TiX7Hk,16952
133
+ not1mm/plugins/arrl_vhf_jun.py,sha256=XaqQ871dd8qF5OKnlgiiwWh7IDDbp1Lx65kfCLrFjmo,16044
134
+ not1mm/plugins/arrl_vhf_sep.py,sha256=PF6kvOUnnW7B43cONYYa-Te1s1PKK8hNeZ_lovGvrNw,16044
135
135
  not1mm/plugins/canada_day.py,sha256=kFwrJ6T9Zz34KmaWL88bj8MDSYNpO2q_KNWLkLLZKlI,15993
136
- not1mm/plugins/cq_160_cw.py,sha256=UnVvhQ_XNTpnxmY1yQDkwhlFCRP__I7MhD2qabS6TYg,15376
137
- not1mm/plugins/cq_160_ssb.py,sha256=paN-SDpX3CFajfDVpbdRSG3iLjLZjfUUXHm0qOR9LLA,15419
136
+ not1mm/plugins/cq_160_cw.py,sha256=QoUtKX2HM4Iq3u-3Za4go9oSrptxSWAezb9a9tg4dsk,15803
137
+ not1mm/plugins/cq_160_ssb.py,sha256=vyZ6g_mEOVsPmEl5pVcDUk-Y32k7xrB_4R4SxGwuP1A,15846
138
138
  not1mm/plugins/cq_wpx_cw.py,sha256=g_d7i1DrQjAeGuof6SoKAr9HkR9ru3EBEKxLSBjNF4o,18508
139
139
  not1mm/plugins/cq_wpx_rtty.py,sha256=t5ZAWAtsjda6rAHJ2N2mfenazhsSo2yzqRGV-TKZEbA,21327
140
140
  not1mm/plugins/cq_wpx_ssb.py,sha256=f7cCyheb7VqkDMrM-wevcOCUXjrIXyBI0p2ynVYnDO0,17158
141
- not1mm/plugins/cq_ww_cw.py,sha256=tAVzA2EtjoRMVqxChZzwNYdPzhdfU23oOtIFDMf7af4,17406
142
- not1mm/plugins/cq_ww_rtty.py,sha256=wGRIABfEgg7xMbxet40_Ucv2R_qUppd8jq7a_nbjIu8,21940
143
- not1mm/plugins/cq_ww_ssb.py,sha256=jL-_nhqI6M_g8i43bSstnPF6BKiE381HdEhIkhJsXhQ,17005
141
+ not1mm/plugins/cq_ww_cw.py,sha256=h7JJSeEVMwgyY7uU8Wz2pHeHmKyJxRjPl8kmLfMupDE,17724
142
+ not1mm/plugins/cq_ww_rtty.py,sha256=30WtyazZFqFnGsT51Dhh6kAH07HAN-FvuoLny6W--zQ,22359
143
+ not1mm/plugins/cq_ww_ssb.py,sha256=5MlMnvVfkCW3ER-K2WwYMT_EK2icPuTq1h0RtlTHe5E,17323
144
144
  not1mm/plugins/cwt.py,sha256=duG8CgTWaFCjly7zOmhOJo-sH3amby0OarAjswhz1Cc,17370
145
145
  not1mm/plugins/general_logging.py,sha256=IHcgZ1YJEEaxPUn7jyTIUpQAsa1jaHO5zfHvcaqbF34,3494
146
146
  not1mm/plugins/helvetia.py,sha256=Q-dQgJ5-81jwip0J_JE2XdUtkY1dVlD8bPfVbllwGLU,19925
@@ -158,12 +158,12 @@ not1mm/plugins/phone_weekly_test.py,sha256=q0n8RJ39KF9uzkgTwrRqTlnS1l_xpm86UTsYR
158
158
  not1mm/plugins/raem.py,sha256=yCpBRFmDZ3W4o3e2LUCgBHCGDSHtpsTCmlgWpdZPAw0,19474
159
159
  not1mm/plugins/ref_cw.py,sha256=bLu1BIHnMfJJAw-pcLDVSi93vTMBY8Io1I4SkJSRX0E,20916
160
160
  not1mm/plugins/ref_ssb.py,sha256=Z6ZqNInyGFwWNSHXrzCDlokMxZ6NQQ2Yi1c8CGfmNWE,20922
161
- not1mm/plugins/stew_perry_topband.py,sha256=5AfIrkGWf5hTqdtxsUfWdUxZameIbTyARSnDDGlatsg,11587
162
- not1mm/plugins/weekly_rtty.py,sha256=5gH-TW1pBkCm2jrXOwDeVkBtylFqbBkymwk9rHxTGXs,19104
161
+ not1mm/plugins/stew_perry_topband.py,sha256=Q0yPpX-0Ua1dn4II-wkC-nezffJmi5aLK3aN6MkZyfw,11903
162
+ not1mm/plugins/weekly_rtty.py,sha256=BRunxOiI_itSFjq6g442QmmP-KUjjis6jpIi7CKExIM,19520
163
163
  not1mm/plugins/winter_field_day.py,sha256=B3HkoInwV7sJLnUUso9nQvU1nZAtNTAeXZV5H5Yl-2Y,14915
164
- not1mm-24.11.3.1.dist-info/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
165
- not1mm-24.11.3.1.dist-info/METADATA,sha256=yIXFFnTHKPGwZl7bij2ysJ2V4EPl5SQst21mWU2OVLw,34049
166
- not1mm-24.11.3.1.dist-info/WHEEL,sha256=P9jw-gEje8ByB7_hXoICnHtVCrEwMQh-630tKvQWehc,91
167
- not1mm-24.11.3.1.dist-info/entry_points.txt,sha256=pMcZk_0dxFgLkcUkF0Q874ojpwOmF3OL6EKw9LgvocM,47
168
- not1mm-24.11.3.1.dist-info/top_level.txt,sha256=0YmTxEcDzQlzXub-lXASvoLpg_mt1c2thb5cVkDf5J4,7
169
- not1mm-24.11.3.1.dist-info/RECORD,,
164
+ not1mm-24.11.6.dist-info/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
165
+ not1mm-24.11.6.dist-info/METADATA,sha256=ePkUxibsgwdZbtetkk6ocxFVRVq_xrPOP6cdV2kKjBc,34175
166
+ not1mm-24.11.6.dist-info/WHEEL,sha256=P9jw-gEje8ByB7_hXoICnHtVCrEwMQh-630tKvQWehc,91
167
+ not1mm-24.11.6.dist-info/entry_points.txt,sha256=pMcZk_0dxFgLkcUkF0Q874ojpwOmF3OL6EKw9LgvocM,47
168
+ not1mm-24.11.6.dist-info/top_level.txt,sha256=0YmTxEcDzQlzXub-lXASvoLpg_mt1c2thb5cVkDf5J4,7
169
+ not1mm-24.11.6.dist-info/RECORD,,