not1mm 24.10.13__py3-none-any.whl → 24.10.15__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/data/cwmacros.txt +6 -6
- not1mm/data/new_contest.ui +5 -0
- not1mm/data/rttymacros.txt +6 -6
- not1mm/lib/version.py +1 -1
- not1mm/plugins/cq_wpx_cw.py +101 -0
- not1mm/plugins/cq_wpx_rtty.py +106 -0
- not1mm/plugins/cq_wpx_ssb.py +101 -0
- not1mm/plugins/naqp_cw.py +132 -6
- not1mm/plugins/naqp_rtty.py +628 -0
- not1mm/plugins/naqp_ssb.py +126 -0
- {not1mm-24.10.13.dist-info → not1mm-24.10.15.dist-info}/METADATA +5 -3
- {not1mm-24.10.13.dist-info → not1mm-24.10.15.dist-info}/RECORD +16 -15
- {not1mm-24.10.13.dist-info → not1mm-24.10.15.dist-info}/LICENSE +0 -0
- {not1mm-24.10.13.dist-info → not1mm-24.10.15.dist-info}/WHEEL +0 -0
- {not1mm-24.10.13.dist-info → not1mm-24.10.15.dist-info}/entry_points.txt +0 -0
- {not1mm-24.10.13.dist-info → not1mm-24.10.15.dist-info}/top_level.txt +0 -0
not1mm/plugins/naqp_ssb.py
CHANGED
@@ -361,3 +361,129 @@ def recalculate_mults(self):
|
|
361
361
|
cmd["cmd"] = "UPDATELOG"
|
362
362
|
cmd["station"] = platform.node()
|
363
363
|
self.multicast_interface.send_as_json(cmd)
|
364
|
+
|
365
|
+
|
366
|
+
def process_esm(self, new_focused_widget=None, with_enter=False):
|
367
|
+
"""ESM State Machine"""
|
368
|
+
|
369
|
+
# self.pref["run_state"]
|
370
|
+
|
371
|
+
# -----===== Assigned F-Keys =====-----
|
372
|
+
# self.esm_dict["CQ"]
|
373
|
+
# self.esm_dict["EXCH"]
|
374
|
+
# self.esm_dict["QRZ"]
|
375
|
+
# self.esm_dict["AGN"]
|
376
|
+
# self.esm_dict["HISCALL"]
|
377
|
+
# self.esm_dict["MYCALL"]
|
378
|
+
# self.esm_dict["QSOB4"]
|
379
|
+
|
380
|
+
# ----==== text fields ====----
|
381
|
+
# self.callsign
|
382
|
+
# self.sent
|
383
|
+
# self.receive
|
384
|
+
# self.other_1
|
385
|
+
# self.other_2
|
386
|
+
|
387
|
+
if new_focused_widget is not None:
|
388
|
+
self.current_widget = self.inputs_dict.get(new_focused_widget)
|
389
|
+
|
390
|
+
# print(f"checking esm {self.current_widget=} {with_enter=} {self.pref.get("run_state")=}")
|
391
|
+
|
392
|
+
for a_button in [
|
393
|
+
self.F1,
|
394
|
+
self.F2,
|
395
|
+
self.F3,
|
396
|
+
self.F4,
|
397
|
+
self.F5,
|
398
|
+
self.F6,
|
399
|
+
self.F7,
|
400
|
+
self.F8,
|
401
|
+
self.F9,
|
402
|
+
self.F10,
|
403
|
+
self.F11,
|
404
|
+
self.F12,
|
405
|
+
]:
|
406
|
+
self.restore_button_color(a_button)
|
407
|
+
|
408
|
+
buttons_to_send = []
|
409
|
+
|
410
|
+
if self.pref.get("run_state"):
|
411
|
+
if self.current_widget == "callsign":
|
412
|
+
if len(self.callsign.text()) < 3:
|
413
|
+
self.make_button_green(self.esm_dict["CQ"])
|
414
|
+
buttons_to_send.append(self.esm_dict["CQ"])
|
415
|
+
elif len(self.callsign.text()) > 2 and self.callsign.text().isalnum():
|
416
|
+
self.make_button_green(self.esm_dict["HISCALL"])
|
417
|
+
self.make_button_green(self.esm_dict["EXCH"])
|
418
|
+
buttons_to_send.append(self.esm_dict["HISCALL"])
|
419
|
+
buttons_to_send.append(self.esm_dict["EXCH"])
|
420
|
+
|
421
|
+
elif self.current_widget == "other_1" or self.current_widget == "other_2":
|
422
|
+
continent = self.contact.get("Continent")
|
423
|
+
print(
|
424
|
+
f"{self.current_widget=} {self.other_1.text().isalpha()=} {self.other_2.text().isalpha()=} {continent=}"
|
425
|
+
)
|
426
|
+
if self.other_1.text() == "" or (
|
427
|
+
self.other_2.text() == "" and continent == "NA"
|
428
|
+
):
|
429
|
+
self.make_button_green(self.esm_dict["AGN"])
|
430
|
+
buttons_to_send.append(self.esm_dict["AGN"])
|
431
|
+
elif (
|
432
|
+
self.other_1.text().isalpha()
|
433
|
+
and self.other_2.text().isalpha()
|
434
|
+
and continent == "NA"
|
435
|
+
):
|
436
|
+
self.make_button_green(self.esm_dict["QRZ"])
|
437
|
+
buttons_to_send.append(self.esm_dict["QRZ"])
|
438
|
+
buttons_to_send.append("LOGIT")
|
439
|
+
elif self.other_1.text().isalpha() and continent != "NA":
|
440
|
+
self.make_button_green(self.esm_dict["QRZ"])
|
441
|
+
buttons_to_send.append(self.esm_dict["QRZ"])
|
442
|
+
buttons_to_send.append("LOGIT")
|
443
|
+
else:
|
444
|
+
self.make_button_green(self.esm_dict["AGN"])
|
445
|
+
buttons_to_send.append(self.esm_dict["AGN"])
|
446
|
+
|
447
|
+
if with_enter is True and bool(len(buttons_to_send)):
|
448
|
+
for button in buttons_to_send:
|
449
|
+
if button:
|
450
|
+
if button == "LOGIT":
|
451
|
+
self.save_contact()
|
452
|
+
continue
|
453
|
+
self.process_function_key(button)
|
454
|
+
else:
|
455
|
+
if self.current_widget == "callsign":
|
456
|
+
if len(self.callsign.text()) > 2 and self.callsign.text().isalnum():
|
457
|
+
self.make_button_green(self.esm_dict["MYCALL"])
|
458
|
+
buttons_to_send.append(self.esm_dict["MYCALL"])
|
459
|
+
|
460
|
+
elif self.current_widget == "other_1" or self.current_widget == "other_2":
|
461
|
+
continent = self.contact.get("Continent")
|
462
|
+
if self.other_1.text() == "" or (
|
463
|
+
self.other_2.text() == "" and continent == "NA"
|
464
|
+
):
|
465
|
+
self.make_button_green(self.esm_dict["AGN"])
|
466
|
+
buttons_to_send.append(self.esm_dict["AGN"])
|
467
|
+
elif (
|
468
|
+
self.other_1.text().isalpha()
|
469
|
+
and self.other_2.text().isalpha()
|
470
|
+
and continent == "NA"
|
471
|
+
):
|
472
|
+
self.make_button_green(self.esm_dict["EXCH"])
|
473
|
+
buttons_to_send.append(self.esm_dict["EXCH"])
|
474
|
+
buttons_to_send.append("LOGIT")
|
475
|
+
elif self.other_1.text().isalpha() and continent != "NA":
|
476
|
+
self.make_button_green(self.esm_dict["EXCH"])
|
477
|
+
buttons_to_send.append(self.esm_dict["EXCH"])
|
478
|
+
buttons_to_send.append("LOGIT")
|
479
|
+
else:
|
480
|
+
self.make_button_green(self.esm_dict["AGN"])
|
481
|
+
buttons_to_send.append(self.esm_dict["AGN"])
|
482
|
+
|
483
|
+
if with_enter is True and bool(len(buttons_to_send)):
|
484
|
+
for button in buttons_to_send:
|
485
|
+
if button:
|
486
|
+
if button == "LOGIT":
|
487
|
+
self.save_contact()
|
488
|
+
continue
|
489
|
+
self.process_function_key(button)
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: not1mm
|
3
|
-
Version: 24.10.
|
3
|
+
Version: 24.10.15
|
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
|
@@ -213,7 +213,7 @@ generated, 'cause I'm lazy, list of those who've submitted PR's.
|
|
213
213
|
- ARRL Sweepstakes CW, SSB
|
214
214
|
- ARRL VHF January, June, September
|
215
215
|
- CQ 160 CW, SSB
|
216
|
-
- CQ WPX CW, RTTY, SSB
|
216
|
+
- .CQ WPX CW, RTTY, SSB
|
217
217
|
- .CQ World Wide CW, RTTY, SSB
|
218
218
|
- .CWOps CWT
|
219
219
|
- Helvetia
|
@@ -222,7 +222,7 @@ generated, 'cause I'm lazy, list of those who've submitted PR's.
|
|
222
222
|
- ICWC MST
|
223
223
|
- Japan International DX CW, SSB
|
224
224
|
- .K1USN Slow Speed Test
|
225
|
-
- NAQP CW, SSB
|
225
|
+
- .NAQP CW, RTTY, SSB
|
226
226
|
- Phone Weekly Test
|
227
227
|
- RAC Canada Day
|
228
228
|
- Stew Perry Topband
|
@@ -231,6 +231,8 @@ generated, 'cause I'm lazy, list of those who've submitted PR's.
|
|
231
231
|
|
232
232
|
## Recent Changes
|
233
233
|
|
234
|
+
- [24-10-15] Add NAQP RTTY, Added ESM to NAQP.
|
235
|
+
- [24-10-14] Add ESM to CQ WPX.
|
234
236
|
- [24-10-13] Added ESM to Weekly RTTY, K1USN and CWT.
|
235
237
|
- [24-10-11] added ESM to CQWW SSB and RTTY.
|
236
238
|
- [24-10-10] Add ESM to CQ WW CW to test it out.
|
@@ -19,7 +19,7 @@ not1mm/data/checkwindow.ui,sha256=Ux5EgO-JalGB9qx3M6tmMpGHO0RmuuY1w0XEbuwd1xk,46
|
|
19
19
|
not1mm/data/configuration.ui,sha256=VGJYL14XPuJkJVKk0FWyZWFXK5ibZ3_0_VUBXyzKnOk,68141
|
20
20
|
not1mm/data/contests.sql,sha256=4hmJCDvrbxnA_Y5S4T5o52TZieeFk6QUwFerwlFePNA,89307
|
21
21
|
not1mm/data/cty.json,sha256=sBIN1raQOKeVIO5dRaWn0Yqq8XZKpM_VCzS3kMlcwp4,4871545
|
22
|
-
not1mm/data/cwmacros.txt,sha256=
|
22
|
+
not1mm/data/cwmacros.txt,sha256=NztufsX6R52gAO7VyJ2AHr7wOh41pJTwHKh5Lcs32ds,468
|
23
23
|
not1mm/data/donors.html,sha256=8hNzO3Q5a6p-_3egT1hfOjimPf810tKMUM5ukLzUsGM,116
|
24
24
|
not1mm/data/editcontact.ui,sha256=TNOsXETYfDaON4wj6AkzCJ-n2SmbNRO2-g2SLl5m8s0,27437
|
25
25
|
not1mm/data/editmacro.ui,sha256=Vg-S62ogKYcWlDDlza_JYyZkCQfa8mCfF-cFqpBej-w,2700
|
@@ -31,7 +31,7 @@ not1mm/data/k6gte.not1mm-64.png,sha256=6ku45Gq1g5ezh04F07osoKRtanb3e4kbx5XdIEh3N
|
|
31
31
|
not1mm/data/logwindow.ui,sha256=f7vULj96tHIQuR1nJMyvPHHcmVgzkhv9D1isyojsnFU,1458
|
32
32
|
not1mm/data/logwindowx.ui,sha256=CwpI-h7cI1yqyldH9quKftsdHL5lTyL9ABOcf80nfqc,1632
|
33
33
|
not1mm/data/main.ui,sha256=IOrAJfJDhG30bWi08pLBGzDKjBvjKfPNI9-GNpvu0vI,61886
|
34
|
-
not1mm/data/new_contest.ui,sha256=
|
34
|
+
not1mm/data/new_contest.ui,sha256=zqNza6syjqZdVFKS57gzMCL4vD7Fg9n_wO3mS7DDXpg,23222
|
35
35
|
not1mm/data/not1mm.html,sha256=c9-mfjMwDt4f5pySUruz2gREW33CQ2_rCddM2z5CZQo,23273
|
36
36
|
not1mm/data/opon.ui,sha256=QDicqAk2lORG2UWsHa6jHlsGn6uzrrI2R4HSAocpPes,2258
|
37
37
|
not1mm/data/pickcontest.ui,sha256=4hPBszCglObThx_eIWtmK9CEcbr7WBjbB1rKZdI-o3I,1707
|
@@ -39,7 +39,7 @@ not1mm/data/radio_green.png,sha256=PXlvRI2x0C8yLVkxRwrZe6tex8k9GtM-1Cj2Vy6KP7o,1
|
|
39
39
|
not1mm/data/radio_grey.png,sha256=9eOtMHDpQvRYY29D7_vPeacWbwotRXZTMm8EiHE9TW0,1258
|
40
40
|
not1mm/data/radio_red.png,sha256=QvkMk7thd_hCEIyK5xGAG4xVVXivl39nwOfD8USDI20,957
|
41
41
|
not1mm/data/reddot.png,sha256=M33jEMoU8W4rQ4_MVyzzKxDPDte1ypKBch5VnUMNLKE,565
|
42
|
-
not1mm/data/rttymacros.txt,sha256=
|
42
|
+
not1mm/data/rttymacros.txt,sha256=Pq-mt1fAmhYLOs8dU5S2j7-K7MalocTEEngownfyeJI,449
|
43
43
|
not1mm/data/settings.ui,sha256=NyHFUb3ZFEgZ4bYB3O7qlO_0TvZwcc9SFPr7z9nF6kk,40123
|
44
44
|
not1mm/data/splash.png,sha256=85_BQotR1q24uCthrKm4SB_6ZOMwRjR-Jdp1XBHSTyg,5368
|
45
45
|
not1mm/data/ssbmacros.txt,sha256=0Qccj4y0nlK-w5da9a9ti-jILkURtwztoDuL_D0pEJM,470
|
@@ -114,7 +114,7 @@ not1mm/lib/plugin_common.py,sha256=TbFUbftjELFt4QRdsjSHbqnXSngZOlSwlCTClqosDXA,9
|
|
114
114
|
not1mm/lib/select_contest.py,sha256=WsptLuwkouIHeocJL3oZ6-eUfEnhpwdc-x7eMZ_TIVM,359
|
115
115
|
not1mm/lib/settings.py,sha256=7_JFDSKPOd35Gwzqhrbed4EfrlYUm7AEnz2xBRioc-g,13280
|
116
116
|
not1mm/lib/super_check_partial.py,sha256=p5l3u2ZOCBtlWgbvskC50FpuoaIpR07tfC6zTdRWbh4,2334
|
117
|
-
not1mm/lib/version.py,sha256=
|
117
|
+
not1mm/lib/version.py,sha256=TQilIDGjxM6306HAmXC1jsWKAGZlk0Wp784hGVD4EKI,49
|
118
118
|
not1mm/lib/versiontest.py,sha256=8vDNptuBBunn-1IGkjNaquehqBYUJyjrPSF8Igmd4_Y,1286
|
119
119
|
not1mm/plugins/10_10_fall_cw.py,sha256=IttjX1yy4nDdACGsiYlPteFG8eVseX_WtoFio6bqHE8,10953
|
120
120
|
not1mm/plugins/10_10_spring_cw.py,sha256=ThCptdM3dX4ywhoy2JRcOEyHSqcJolFaT7O_PYzM1Mg,10958
|
@@ -134,9 +134,9 @@ not1mm/plugins/arrl_vhf_sep.py,sha256=3f5mmXuoe7jt6A8FXFBwentO3lyGMCHSgtkiDcX4Uu
|
|
134
134
|
not1mm/plugins/canada_day.py,sha256=OVpcCl1Chse_zLHf6PayTrgawWM4W-pmrTw40Al-o9s,11998
|
135
135
|
not1mm/plugins/cq_160_cw.py,sha256=5s6rIZdJEnmWe1SI06BEyz7p5vP0N2n9mI4l_mZ0icw,14139
|
136
136
|
not1mm/plugins/cq_160_ssb.py,sha256=zIwSMAjHSt6W2edrDzVbyTf860JowHoFkU9BKO8Enag,14182
|
137
|
-
not1mm/plugins/cq_wpx_cw.py,sha256=
|
138
|
-
not1mm/plugins/cq_wpx_rtty.py,sha256=
|
139
|
-
not1mm/plugins/cq_wpx_ssb.py,sha256
|
137
|
+
not1mm/plugins/cq_wpx_cw.py,sha256=parnwI_NkM3ODgw95Mt-yJvwqTLXB56ghFvQPcORXy4,17659
|
138
|
+
not1mm/plugins/cq_wpx_rtty.py,sha256=p2a0l6aKpYAY19KJWSRJKp8fCbdcBfyQR33DGQpZ3YE,20478
|
139
|
+
not1mm/plugins/cq_wpx_ssb.py,sha256=vqohvHlHl7wH2eqzytGJOjWerRP4MExK3-4TY2hioNo,16309
|
140
140
|
not1mm/plugins/cq_ww_cw.py,sha256=kJCL4dIJOEW9O45vPTjWhQpa7KPZv8fkEAs4MJHpfkY,15962
|
141
141
|
not1mm/plugins/cq_ww_rtty.py,sha256=njYqgr9ZijRaZgPwYumt95jrCE8kmFg4zwbaaJY1cMU,20772
|
142
142
|
not1mm/plugins/cq_ww_ssb.py,sha256=NGNysV6MR7OILLtfMF1Gp82gErjUEyekJ0WnWkUhgHA,16156
|
@@ -150,16 +150,17 @@ not1mm/plugins/icwc_mst.py,sha256=v8L5NX2QmTM7x8Po1mb4yfN-dGVIuqky5MIT-OjfaVY,11
|
|
150
150
|
not1mm/plugins/jidx_cw.py,sha256=9oV4hDxMiGXa9wuYUNYOCsr-mz8LYB-4WMHBN8u2dFk,12153
|
151
151
|
not1mm/plugins/jidx_ph.py,sha256=T-V7-77SIwu-Jl55VIrbVFZlsBoc97mXtgbdde0GaiQ,11183
|
152
152
|
not1mm/plugins/k1usn_sst.py,sha256=l-_r-Ve1txpJF1UyqoaOKUXjTaKxQtzxCbXd7fZCZIg,15439
|
153
|
-
not1mm/plugins/naqp_cw.py,sha256=
|
154
|
-
not1mm/plugins/
|
153
|
+
not1mm/plugins/naqp_cw.py,sha256=3FIBd6_hWNdeVMlAFYnoT-Y_SYY0ZROQIZLh2HHuVy4,17518
|
154
|
+
not1mm/plugins/naqp_rtty.py,sha256=vk5vBbpB2HEaRmmpKwzk1GQabAFZmNrrBn3hYUmpf6Y,21299
|
155
|
+
not1mm/plugins/naqp_ssb.py,sha256=Bd1mgaycYCSXOb9k3yIbJB9dktO4jC0ty2pg4yONnGM,16435
|
155
156
|
not1mm/plugins/phone_weekly_test.py,sha256=fLpMe03WB9_KgRl6vMgQQt_aktFdqfNt2Sw81CTRAUs,12325
|
156
157
|
not1mm/plugins/ref_cw.py,sha256=aWjHHkqIKutjRUtzh09y5haFfnZK9poRQDWRQMDRxxU,16326
|
157
158
|
not1mm/plugins/stew_perry_topband.py,sha256=CKBQbYl4ETxhXJd2dma4fg_C5pag_s7Nf61SCztZtqE,10668
|
158
159
|
not1mm/plugins/weekly_rtty.py,sha256=S_oBAnsIq2ng7FunIB2qukdZyhMzQKGDAlQFc9UUr-U,18255
|
159
160
|
not1mm/plugins/winter_field_day.py,sha256=4rcfRtobwjHO6BNL3WOTHzBmyyeuX79BNGBG8PfjrI8,10238
|
160
|
-
not1mm-24.10.
|
161
|
-
not1mm-24.10.
|
162
|
-
not1mm-24.10.
|
163
|
-
not1mm-24.10.
|
164
|
-
not1mm-24.10.
|
165
|
-
not1mm-24.10.
|
161
|
+
not1mm-24.10.15.dist-info/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
|
162
|
+
not1mm-24.10.15.dist-info/METADATA,sha256=LEdL14UB3j7Yea8SYMfSyx8rtoqLvDXbFd_GQ72RGQw,33865
|
163
|
+
not1mm-24.10.15.dist-info/WHEEL,sha256=GV9aMThwP_4oNCtvEC2ec3qUYutgWeAzklro_0m4WJQ,91
|
164
|
+
not1mm-24.10.15.dist-info/entry_points.txt,sha256=pMcZk_0dxFgLkcUkF0Q874ojpwOmF3OL6EKw9LgvocM,47
|
165
|
+
not1mm-24.10.15.dist-info/top_level.txt,sha256=0YmTxEcDzQlzXub-lXASvoLpg_mt1c2thb5cVkDf5J4,7
|
166
|
+
not1mm-24.10.15.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|