not1mm 24.10.17.1__py3-none-any.whl → 24.10.17.2__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/version.py +1 -1
- not1mm/plugins/arrl_ss_cw.py +92 -1
- not1mm/plugins/arrl_ss_phone.py +92 -1
- {not1mm-24.10.17.1.dist-info → not1mm-24.10.17.2.dist-info}/METADATA +2 -1
- {not1mm-24.10.17.1.dist-info → not1mm-24.10.17.2.dist-info}/RECORD +9 -9
- {not1mm-24.10.17.1.dist-info → not1mm-24.10.17.2.dist-info}/LICENSE +0 -0
- {not1mm-24.10.17.1.dist-info → not1mm-24.10.17.2.dist-info}/WHEEL +0 -0
- {not1mm-24.10.17.1.dist-info → not1mm-24.10.17.2.dist-info}/entry_points.txt +0 -0
- {not1mm-24.10.17.1.dist-info → not1mm-24.10.17.2.dist-info}/top_level.txt +0 -0
not1mm/lib/version.py
CHANGED
not1mm/plugins/arrl_ss_cw.py
CHANGED
@@ -399,7 +399,7 @@ def parse_exchange(self):
|
|
399
399
|
continue
|
400
400
|
elif tokens.isalnum():
|
401
401
|
if tokens[:1].isalpha():
|
402
|
-
print(f"{tokens} is callsign")
|
402
|
+
# print(f"{tokens} is callsign")
|
403
403
|
call = tokens
|
404
404
|
continue
|
405
405
|
for i, c in enumerate(tokens):
|
@@ -416,3 +416,94 @@ def parse_exchange(self):
|
|
416
416
|
label = f"sn:{sn} p:{prec} cl:{call} ck:{ck} sec:{sec}"
|
417
417
|
self.exch_label.setText(label)
|
418
418
|
return (sn, prec, ck, sec, call)
|
419
|
+
|
420
|
+
|
421
|
+
def process_esm(self, new_focused_widget=None, with_enter=False):
|
422
|
+
"""ESM State Machine"""
|
423
|
+
|
424
|
+
# self.pref["run_state"]
|
425
|
+
|
426
|
+
# -----===== Assigned F-Keys =====-----
|
427
|
+
# self.esm_dict["CQ"]
|
428
|
+
# self.esm_dict["EXCH"]
|
429
|
+
# self.esm_dict["QRZ"]
|
430
|
+
# self.esm_dict["AGN"]
|
431
|
+
# self.esm_dict["HISCALL"]
|
432
|
+
# self.esm_dict["MYCALL"]
|
433
|
+
# self.esm_dict["QSOB4"]
|
434
|
+
|
435
|
+
# ----==== text fields ====----
|
436
|
+
# self.callsign
|
437
|
+
# self.sent
|
438
|
+
# self.receive
|
439
|
+
# self.other_1
|
440
|
+
# self.other_2
|
441
|
+
|
442
|
+
if new_focused_widget is not None:
|
443
|
+
self.current_widget = self.inputs_dict.get(new_focused_widget)
|
444
|
+
|
445
|
+
# print(f"checking esm {self.current_widget=} {with_enter=} {self.pref.get("run_state")=}")
|
446
|
+
|
447
|
+
for a_button in [
|
448
|
+
self.esm_dict["CQ"],
|
449
|
+
self.esm_dict["EXCH"],
|
450
|
+
self.esm_dict["QRZ"],
|
451
|
+
self.esm_dict["AGN"],
|
452
|
+
self.esm_dict["HISCALL"],
|
453
|
+
self.esm_dict["MYCALL"],
|
454
|
+
self.esm_dict["QSOB4"],
|
455
|
+
]:
|
456
|
+
if a_button is not None:
|
457
|
+
self.restore_button_color(a_button)
|
458
|
+
|
459
|
+
buttons_to_send = []
|
460
|
+
|
461
|
+
if self.pref.get("run_state"):
|
462
|
+
if self.current_widget == "callsign":
|
463
|
+
if len(self.callsign.text()) < 3:
|
464
|
+
self.make_button_green(self.esm_dict["CQ"])
|
465
|
+
buttons_to_send.append(self.esm_dict["CQ"])
|
466
|
+
elif len(self.callsign.text()) > 2:
|
467
|
+
self.make_button_green(self.esm_dict["HISCALL"])
|
468
|
+
self.make_button_green(self.esm_dict["EXCH"])
|
469
|
+
buttons_to_send.append(self.esm_dict["HISCALL"])
|
470
|
+
buttons_to_send.append(self.esm_dict["EXCH"])
|
471
|
+
|
472
|
+
elif self.current_widget == "other_2":
|
473
|
+
if self.other_2.text() == "":
|
474
|
+
self.make_button_green(self.esm_dict["AGN"])
|
475
|
+
buttons_to_send.append(self.esm_dict["AGN"])
|
476
|
+
else:
|
477
|
+
self.make_button_green(self.esm_dict["QRZ"])
|
478
|
+
buttons_to_send.append(self.esm_dict["QRZ"])
|
479
|
+
buttons_to_send.append("LOGIT")
|
480
|
+
|
481
|
+
if with_enter is True and bool(len(buttons_to_send)):
|
482
|
+
for button in buttons_to_send:
|
483
|
+
if button:
|
484
|
+
if button == "LOGIT":
|
485
|
+
self.save_contact()
|
486
|
+
continue
|
487
|
+
self.process_function_key(button)
|
488
|
+
else:
|
489
|
+
if self.current_widget == "callsign":
|
490
|
+
if len(self.callsign.text()) > 2:
|
491
|
+
self.make_button_green(self.esm_dict["MYCALL"])
|
492
|
+
buttons_to_send.append(self.esm_dict["MYCALL"])
|
493
|
+
|
494
|
+
elif self.current_widget == "other_2":
|
495
|
+
if self.other_2.text() == "":
|
496
|
+
self.make_button_green(self.esm_dict["AGN"])
|
497
|
+
buttons_to_send.append(self.esm_dict["AGN"])
|
498
|
+
else:
|
499
|
+
self.make_button_green(self.esm_dict["EXCH"])
|
500
|
+
buttons_to_send.append(self.esm_dict["EXCH"])
|
501
|
+
buttons_to_send.append("LOGIT")
|
502
|
+
|
503
|
+
if with_enter is True and bool(len(buttons_to_send)):
|
504
|
+
for button in buttons_to_send:
|
505
|
+
if button:
|
506
|
+
if button == "LOGIT":
|
507
|
+
self.save_contact()
|
508
|
+
continue
|
509
|
+
self.process_function_key(button)
|
not1mm/plugins/arrl_ss_phone.py
CHANGED
@@ -385,7 +385,7 @@ def parse_exchange(self):
|
|
385
385
|
for tokens in exchange.split():
|
386
386
|
text = ""
|
387
387
|
numb = ""
|
388
|
-
print(f"'{tokens}'")
|
388
|
+
# print(f"'{tokens}'")
|
389
389
|
if tokens.isdigit():
|
390
390
|
if sn == "":
|
391
391
|
sn = tokens
|
@@ -416,3 +416,94 @@ def parse_exchange(self):
|
|
416
416
|
label = f"sn:{sn} p:{prec} cl:{call} ck:{ck} sec:{sec}"
|
417
417
|
self.exch_label.setText(label)
|
418
418
|
return (sn, prec, ck, sec, call)
|
419
|
+
|
420
|
+
|
421
|
+
def process_esm(self, new_focused_widget=None, with_enter=False):
|
422
|
+
"""ESM State Machine"""
|
423
|
+
|
424
|
+
# self.pref["run_state"]
|
425
|
+
|
426
|
+
# -----===== Assigned F-Keys =====-----
|
427
|
+
# self.esm_dict["CQ"]
|
428
|
+
# self.esm_dict["EXCH"]
|
429
|
+
# self.esm_dict["QRZ"]
|
430
|
+
# self.esm_dict["AGN"]
|
431
|
+
# self.esm_dict["HISCALL"]
|
432
|
+
# self.esm_dict["MYCALL"]
|
433
|
+
# self.esm_dict["QSOB4"]
|
434
|
+
|
435
|
+
# ----==== text fields ====----
|
436
|
+
# self.callsign
|
437
|
+
# self.sent
|
438
|
+
# self.receive
|
439
|
+
# self.other_1
|
440
|
+
# self.other_2
|
441
|
+
|
442
|
+
if new_focused_widget is not None:
|
443
|
+
self.current_widget = self.inputs_dict.get(new_focused_widget)
|
444
|
+
|
445
|
+
# print(f"checking esm {self.current_widget=} {with_enter=} {self.pref.get("run_state")=}")
|
446
|
+
|
447
|
+
for a_button in [
|
448
|
+
self.esm_dict["CQ"],
|
449
|
+
self.esm_dict["EXCH"],
|
450
|
+
self.esm_dict["QRZ"],
|
451
|
+
self.esm_dict["AGN"],
|
452
|
+
self.esm_dict["HISCALL"],
|
453
|
+
self.esm_dict["MYCALL"],
|
454
|
+
self.esm_dict["QSOB4"],
|
455
|
+
]:
|
456
|
+
if a_button is not None:
|
457
|
+
self.restore_button_color(a_button)
|
458
|
+
|
459
|
+
buttons_to_send = []
|
460
|
+
|
461
|
+
if self.pref.get("run_state"):
|
462
|
+
if self.current_widget == "callsign":
|
463
|
+
if len(self.callsign.text()) < 3:
|
464
|
+
self.make_button_green(self.esm_dict["CQ"])
|
465
|
+
buttons_to_send.append(self.esm_dict["CQ"])
|
466
|
+
elif len(self.callsign.text()) > 2:
|
467
|
+
self.make_button_green(self.esm_dict["HISCALL"])
|
468
|
+
self.make_button_green(self.esm_dict["EXCH"])
|
469
|
+
buttons_to_send.append(self.esm_dict["HISCALL"])
|
470
|
+
buttons_to_send.append(self.esm_dict["EXCH"])
|
471
|
+
|
472
|
+
elif self.current_widget == "other_2":
|
473
|
+
if self.other_2.text() == "":
|
474
|
+
self.make_button_green(self.esm_dict["AGN"])
|
475
|
+
buttons_to_send.append(self.esm_dict["AGN"])
|
476
|
+
else:
|
477
|
+
self.make_button_green(self.esm_dict["QRZ"])
|
478
|
+
buttons_to_send.append(self.esm_dict["QRZ"])
|
479
|
+
buttons_to_send.append("LOGIT")
|
480
|
+
|
481
|
+
if with_enter is True and bool(len(buttons_to_send)):
|
482
|
+
for button in buttons_to_send:
|
483
|
+
if button:
|
484
|
+
if button == "LOGIT":
|
485
|
+
self.save_contact()
|
486
|
+
continue
|
487
|
+
self.process_function_key(button)
|
488
|
+
else:
|
489
|
+
if self.current_widget == "callsign":
|
490
|
+
if len(self.callsign.text()) > 2:
|
491
|
+
self.make_button_green(self.esm_dict["MYCALL"])
|
492
|
+
buttons_to_send.append(self.esm_dict["MYCALL"])
|
493
|
+
|
494
|
+
elif self.current_widget == "other_2":
|
495
|
+
if self.other_2.text() == "":
|
496
|
+
self.make_button_green(self.esm_dict["AGN"])
|
497
|
+
buttons_to_send.append(self.esm_dict["AGN"])
|
498
|
+
else:
|
499
|
+
self.make_button_green(self.esm_dict["EXCH"])
|
500
|
+
buttons_to_send.append(self.esm_dict["EXCH"])
|
501
|
+
buttons_to_send.append("LOGIT")
|
502
|
+
|
503
|
+
if with_enter is True and bool(len(buttons_to_send)):
|
504
|
+
for button in buttons_to_send:
|
505
|
+
if button:
|
506
|
+
if button == "LOGIT":
|
507
|
+
self.save_contact()
|
508
|
+
continue
|
509
|
+
self.process_function_key(button)
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: not1mm
|
3
|
-
Version: 24.10.17.
|
3
|
+
Version: 24.10.17.2
|
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
|
@@ -231,6 +231,7 @@ generated, 'cause I'm lazy, list of those who've submitted PR's.
|
|
231
231
|
|
232
232
|
## Recent Changes
|
233
233
|
|
234
|
+
- [24-10-17-2] Add ESM to ARRL Sweepstakes.
|
234
235
|
- [24-10-17-1] Fix dupe check. Reordered change mode and interface update sequence. Resend mode if rigctld does not report back `RPRT 0`
|
235
236
|
- [24-10-17] Increased max CW speed to 99, 'cause people be crazy. Trying smaller timeout for the rigctlsocket. Not having the checkwindow process events while not visible since it's a resource hog.
|
236
237
|
- [24-10-15-1] Fix callsigns with a slash failing check during ESM.
|
@@ -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=_dBUyH8fvro8Ul27q1wN978KYHjX-xCe3StIsIvsVGg,51
|
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
|
@@ -126,8 +126,8 @@ not1mm/plugins/arrl_dx_cw.py,sha256=LVnYDNFEUiIpQ1TlhOCcRK7JNwH5XPO5WzUoApSUMTY,
|
|
126
126
|
not1mm/plugins/arrl_dx_ssb.py,sha256=fUFzuNbCAfA5sQSYm8ISV3P9Z_2xnuKeOdO6E66zn1k,13805
|
127
127
|
not1mm/plugins/arrl_field_day.py,sha256=pivtEK5j9sLpta12_wuUQYvs7MuiP3JfhlO-AOIDJug,12707
|
128
128
|
not1mm/plugins/arrl_rtty_ru.py,sha256=hKUS4isjdXo3EYxQrsqsDupPp2chW8fpoWj0T1pTgJ4,7994
|
129
|
-
not1mm/plugins/arrl_ss_cw.py,sha256=
|
130
|
-
not1mm/plugins/arrl_ss_phone.py,sha256=
|
129
|
+
not1mm/plugins/arrl_ss_cw.py,sha256=egbIe-WBmM6oqmc7uWzSnRJaNIImHs8Hgs4PtNfpnEQ,16339
|
130
|
+
not1mm/plugins/arrl_ss_phone.py,sha256=zSD3WBFFWpiOo7RWgMfPduzFxshTczXtwK-OXqGV9aE,16327
|
131
131
|
not1mm/plugins/arrl_vhf_jan.py,sha256=St_QvYS5AKFUNxtvpU-KlJ3C-xGQi1idFHggmIjnwVc,15717
|
132
132
|
not1mm/plugins/arrl_vhf_jun.py,sha256=9KPILzUD9NYVuXwazhQLCYnGKnoiJDf16omKR5UVflE,14809
|
133
133
|
not1mm/plugins/arrl_vhf_sep.py,sha256=3f5mmXuoe7jt6A8FXFBwentO3lyGMCHSgtkiDcX4Uu4,14809
|
@@ -158,9 +158,9 @@ not1mm/plugins/ref_cw.py,sha256=aWjHHkqIKutjRUtzh09y5haFfnZK9poRQDWRQMDRxxU,1632
|
|
158
158
|
not1mm/plugins/stew_perry_topband.py,sha256=CKBQbYl4ETxhXJd2dma4fg_C5pag_s7Nf61SCztZtqE,10668
|
159
159
|
not1mm/plugins/weekly_rtty.py,sha256=ipgY-KlKlEHafnBg-_AFk9KhiXkGTvb4ENoezIeD7jU,18185
|
160
160
|
not1mm/plugins/winter_field_day.py,sha256=4rcfRtobwjHO6BNL3WOTHzBmyyeuX79BNGBG8PfjrI8,10238
|
161
|
-
not1mm-24.10.17.
|
162
|
-
not1mm-24.10.17.
|
163
|
-
not1mm-24.10.17.
|
164
|
-
not1mm-24.10.17.
|
165
|
-
not1mm-24.10.17.
|
166
|
-
not1mm-24.10.17.
|
161
|
+
not1mm-24.10.17.2.dist-info/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
|
162
|
+
not1mm-24.10.17.2.dist-info/METADATA,sha256=aqG-a4aib7wlwxmKmUVWMqcQ0_G2veoccgtu0wny2E0,34315
|
163
|
+
not1mm-24.10.17.2.dist-info/WHEEL,sha256=OVMc5UfuAQiSplgO0_WdW7vXVGAt9Hdd6qtN4HotdyA,91
|
164
|
+
not1mm-24.10.17.2.dist-info/entry_points.txt,sha256=pMcZk_0dxFgLkcUkF0Q874ojpwOmF3OL6EKw9LgvocM,47
|
165
|
+
not1mm-24.10.17.2.dist-info/top_level.txt,sha256=0YmTxEcDzQlzXub-lXASvoLpg_mt1c2thb5cVkDf5J4,7
|
166
|
+
not1mm-24.10.17.2.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|