not1mm 24.10.17.2__py3-none-any.whl → 24.10.19__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/__main__.py +1 -0
- not1mm/bandmap.py +2 -1
- not1mm/checkwindow.py +0 -2
- not1mm/lib/version.py +1 -1
- not1mm/plugins/arrl_field_day.py +91 -0
- not1mm/plugins/winter_field_day.py +91 -0
- {not1mm-24.10.17.2.dist-info → not1mm-24.10.19.dist-info}/METADATA +16 -14
- {not1mm-24.10.17.2.dist-info → not1mm-24.10.19.dist-info}/RECORD +12 -12
- {not1mm-24.10.17.2.dist-info → not1mm-24.10.19.dist-info}/LICENSE +0 -0
- {not1mm-24.10.17.2.dist-info → not1mm-24.10.19.dist-info}/WHEEL +0 -0
- {not1mm-24.10.17.2.dist-info → not1mm-24.10.19.dist-info}/entry_points.txt +0 -0
- {not1mm-24.10.17.2.dist-info → not1mm-24.10.19.dist-info}/top_level.txt +0 -0
not1mm/__main__.py
CHANGED
not1mm/bandmap.py
CHANGED
@@ -493,8 +493,9 @@ class BandMapWindow(QDockWidget):
|
|
493
493
|
if packet.get("cmd", "") == "MARKDX":
|
494
494
|
dx = packet.get("dx", "")
|
495
495
|
freq = packet.get("freq", 0.0)
|
496
|
+
the_UTC_time = datetime.now(timezone.utc).isoformat(" ")[:19].split()[1]
|
496
497
|
spot = {
|
497
|
-
"ts": "2099-01-01
|
498
|
+
"ts": "2099-01-01 " + the_UTC_time,
|
498
499
|
"callsign": dx,
|
499
500
|
"freq": freq / 1000,
|
500
501
|
"band": self.currentBand.name,
|
not1mm/checkwindow.py
CHANGED
not1mm/lib/version.py
CHANGED
not1mm/plugins/arrl_field_day.py
CHANGED
@@ -401,3 +401,94 @@ def ft8_handler(the_packet: dict):
|
|
401
401
|
ALTEREGO.other_1.setText(the_packet.get("CLASS", "ERR"))
|
402
402
|
ALTEREGO.other_2.setText(the_packet.get("ARRL_SECT", "ERR"))
|
403
403
|
ALTEREGO.save_contact()
|
404
|
+
|
405
|
+
|
406
|
+
def process_esm(self, new_focused_widget=None, with_enter=False):
|
407
|
+
"""ESM State Machine"""
|
408
|
+
|
409
|
+
# self.pref["run_state"]
|
410
|
+
|
411
|
+
# -----===== Assigned F-Keys =====-----
|
412
|
+
# self.esm_dict["CQ"]
|
413
|
+
# self.esm_dict["EXCH"]
|
414
|
+
# self.esm_dict["QRZ"]
|
415
|
+
# self.esm_dict["AGN"]
|
416
|
+
# self.esm_dict["HISCALL"]
|
417
|
+
# self.esm_dict["MYCALL"]
|
418
|
+
# self.esm_dict["QSOB4"]
|
419
|
+
|
420
|
+
# ----==== text fields ====----
|
421
|
+
# self.callsign
|
422
|
+
# self.sent
|
423
|
+
# self.receive
|
424
|
+
# self.other_1
|
425
|
+
# self.other_2
|
426
|
+
|
427
|
+
if new_focused_widget is not None:
|
428
|
+
self.current_widget = self.inputs_dict.get(new_focused_widget)
|
429
|
+
|
430
|
+
# print(f"checking esm {self.current_widget=} {with_enter=} {self.pref.get("run_state")=}")
|
431
|
+
|
432
|
+
for a_button in [
|
433
|
+
self.esm_dict["CQ"],
|
434
|
+
self.esm_dict["EXCH"],
|
435
|
+
self.esm_dict["QRZ"],
|
436
|
+
self.esm_dict["AGN"],
|
437
|
+
self.esm_dict["HISCALL"],
|
438
|
+
self.esm_dict["MYCALL"],
|
439
|
+
self.esm_dict["QSOB4"],
|
440
|
+
]:
|
441
|
+
if a_button is not None:
|
442
|
+
self.restore_button_color(a_button)
|
443
|
+
|
444
|
+
buttons_to_send = []
|
445
|
+
|
446
|
+
if self.pref.get("run_state"):
|
447
|
+
if self.current_widget == "callsign":
|
448
|
+
if len(self.callsign.text()) < 3:
|
449
|
+
self.make_button_green(self.esm_dict["CQ"])
|
450
|
+
buttons_to_send.append(self.esm_dict["CQ"])
|
451
|
+
elif len(self.callsign.text()) > 2:
|
452
|
+
self.make_button_green(self.esm_dict["HISCALL"])
|
453
|
+
self.make_button_green(self.esm_dict["EXCH"])
|
454
|
+
buttons_to_send.append(self.esm_dict["HISCALL"])
|
455
|
+
buttons_to_send.append(self.esm_dict["EXCH"])
|
456
|
+
|
457
|
+
elif self.current_widget in ["other_1", "other_2"]:
|
458
|
+
if self.other_1.text() == "" or self.other_2.text() == "":
|
459
|
+
self.make_button_green(self.esm_dict["AGN"])
|
460
|
+
buttons_to_send.append(self.esm_dict["AGN"])
|
461
|
+
else:
|
462
|
+
self.make_button_green(self.esm_dict["QRZ"])
|
463
|
+
buttons_to_send.append(self.esm_dict["QRZ"])
|
464
|
+
buttons_to_send.append("LOGIT")
|
465
|
+
|
466
|
+
if with_enter is True and bool(len(buttons_to_send)):
|
467
|
+
for button in buttons_to_send:
|
468
|
+
if button:
|
469
|
+
if button == "LOGIT":
|
470
|
+
self.save_contact()
|
471
|
+
continue
|
472
|
+
self.process_function_key(button)
|
473
|
+
else:
|
474
|
+
if self.current_widget == "callsign":
|
475
|
+
if len(self.callsign.text()) > 2:
|
476
|
+
self.make_button_green(self.esm_dict["MYCALL"])
|
477
|
+
buttons_to_send.append(self.esm_dict["MYCALL"])
|
478
|
+
|
479
|
+
elif self.current_widget in ["other_1", "other_2"]:
|
480
|
+
if self.other_1.text() == "" or self.other_2.text() == "":
|
481
|
+
self.make_button_green(self.esm_dict["AGN"])
|
482
|
+
buttons_to_send.append(self.esm_dict["AGN"])
|
483
|
+
else:
|
484
|
+
self.make_button_green(self.esm_dict["EXCH"])
|
485
|
+
buttons_to_send.append(self.esm_dict["EXCH"])
|
486
|
+
buttons_to_send.append("LOGIT")
|
487
|
+
|
488
|
+
if with_enter is True and bool(len(buttons_to_send)):
|
489
|
+
for button in buttons_to_send:
|
490
|
+
if button:
|
491
|
+
if button == "LOGIT":
|
492
|
+
self.save_contact()
|
493
|
+
continue
|
494
|
+
self.process_function_key(button)
|
@@ -321,3 +321,94 @@ def cabrillo(self):
|
|
321
321
|
|
322
322
|
def recalculate_mults(self):
|
323
323
|
"""Recalculates multipliers after change in logged qso."""
|
324
|
+
|
325
|
+
|
326
|
+
def process_esm(self, new_focused_widget=None, with_enter=False):
|
327
|
+
"""ESM State Machine"""
|
328
|
+
|
329
|
+
# self.pref["run_state"]
|
330
|
+
|
331
|
+
# -----===== Assigned F-Keys =====-----
|
332
|
+
# self.esm_dict["CQ"]
|
333
|
+
# self.esm_dict["EXCH"]
|
334
|
+
# self.esm_dict["QRZ"]
|
335
|
+
# self.esm_dict["AGN"]
|
336
|
+
# self.esm_dict["HISCALL"]
|
337
|
+
# self.esm_dict["MYCALL"]
|
338
|
+
# self.esm_dict["QSOB4"]
|
339
|
+
|
340
|
+
# ----==== text fields ====----
|
341
|
+
# self.callsign
|
342
|
+
# self.sent
|
343
|
+
# self.receive
|
344
|
+
# self.other_1
|
345
|
+
# self.other_2
|
346
|
+
|
347
|
+
if new_focused_widget is not None:
|
348
|
+
self.current_widget = self.inputs_dict.get(new_focused_widget)
|
349
|
+
|
350
|
+
# print(f"checking esm {self.current_widget=} {with_enter=} {self.pref.get("run_state")=}")
|
351
|
+
|
352
|
+
for a_button in [
|
353
|
+
self.esm_dict["CQ"],
|
354
|
+
self.esm_dict["EXCH"],
|
355
|
+
self.esm_dict["QRZ"],
|
356
|
+
self.esm_dict["AGN"],
|
357
|
+
self.esm_dict["HISCALL"],
|
358
|
+
self.esm_dict["MYCALL"],
|
359
|
+
self.esm_dict["QSOB4"],
|
360
|
+
]:
|
361
|
+
if a_button is not None:
|
362
|
+
self.restore_button_color(a_button)
|
363
|
+
|
364
|
+
buttons_to_send = []
|
365
|
+
|
366
|
+
if self.pref.get("run_state"):
|
367
|
+
if self.current_widget == "callsign":
|
368
|
+
if len(self.callsign.text()) < 3:
|
369
|
+
self.make_button_green(self.esm_dict["CQ"])
|
370
|
+
buttons_to_send.append(self.esm_dict["CQ"])
|
371
|
+
elif len(self.callsign.text()) > 2:
|
372
|
+
self.make_button_green(self.esm_dict["HISCALL"])
|
373
|
+
self.make_button_green(self.esm_dict["EXCH"])
|
374
|
+
buttons_to_send.append(self.esm_dict["HISCALL"])
|
375
|
+
buttons_to_send.append(self.esm_dict["EXCH"])
|
376
|
+
|
377
|
+
elif self.current_widget in ["other_1", "other_2"]:
|
378
|
+
if self.other_1.text() == "" or self.other_2.text() == "":
|
379
|
+
self.make_button_green(self.esm_dict["AGN"])
|
380
|
+
buttons_to_send.append(self.esm_dict["AGN"])
|
381
|
+
else:
|
382
|
+
self.make_button_green(self.esm_dict["QRZ"])
|
383
|
+
buttons_to_send.append(self.esm_dict["QRZ"])
|
384
|
+
buttons_to_send.append("LOGIT")
|
385
|
+
|
386
|
+
if with_enter is True and bool(len(buttons_to_send)):
|
387
|
+
for button in buttons_to_send:
|
388
|
+
if button:
|
389
|
+
if button == "LOGIT":
|
390
|
+
self.save_contact()
|
391
|
+
continue
|
392
|
+
self.process_function_key(button)
|
393
|
+
else:
|
394
|
+
if self.current_widget == "callsign":
|
395
|
+
if len(self.callsign.text()) > 2:
|
396
|
+
self.make_button_green(self.esm_dict["MYCALL"])
|
397
|
+
buttons_to_send.append(self.esm_dict["MYCALL"])
|
398
|
+
|
399
|
+
elif self.current_widget in ["other_1", "other_2"]:
|
400
|
+
if self.other_1.text() == "" or self.other_2.text() == "":
|
401
|
+
self.make_button_green(self.esm_dict["AGN"])
|
402
|
+
buttons_to_send.append(self.esm_dict["AGN"])
|
403
|
+
else:
|
404
|
+
self.make_button_green(self.esm_dict["EXCH"])
|
405
|
+
buttons_to_send.append(self.esm_dict["EXCH"])
|
406
|
+
buttons_to_send.append("LOGIT")
|
407
|
+
|
408
|
+
if with_enter is True and bool(len(buttons_to_send)):
|
409
|
+
for button in buttons_to_send:
|
410
|
+
if button:
|
411
|
+
if button == "LOGIT":
|
412
|
+
self.save_contact()
|
413
|
+
continue
|
414
|
+
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.19
|
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
|
@@ -57,7 +57,7 @@ Requires-Dist: Levenshtein
|
|
57
57
|
- [Data and RTTY](#data-and-rtty)
|
58
58
|
- [Other not so supported contests](#other-not-so-supported-contests)
|
59
59
|
- [Our Code Contributors ✨](#our-code-contributors-)
|
60
|
-
- [List of should be working contests](#list-of-should-be-working-contests)
|
60
|
+
- [List of should be working contests, those in bold have ESM](#list-of-should-be-working-contests-those-in-bold-have-esm)
|
61
61
|
- [Recent Changes](#recent-changes)
|
62
62
|
- [Flatpak](#flatpak)
|
63
63
|
- [Installation](#installation)
|
@@ -200,7 +200,7 @@ generated, 'cause I'm lazy, list of those who've submitted PR's.
|
|
200
200
|
<img src="https://contrib.rocks/image?repo=mbridak/not1mm" alt="Avatar icons for code contributors." />
|
201
201
|
</a>
|
202
202
|
|
203
|
-
## List of should be working contests
|
203
|
+
## List of should be working contests, those in bold have ESM
|
204
204
|
|
205
205
|
- General Logging (There are better general loggers like QLog, KLog, CQRLog)
|
206
206
|
- 10 10 Fall CW
|
@@ -209,28 +209,30 @@ generated, 'cause I'm lazy, list of those who've submitted PR's.
|
|
209
209
|
- 10 10 Winter Phone
|
210
210
|
- ARRL 10M
|
211
211
|
- ARRL DX CW, SSB
|
212
|
-
- ARRL Field Day
|
213
|
-
- ARRL Sweepstakes CW, SSB
|
212
|
+
- **ARRL Field Day**
|
213
|
+
- **ARRL Sweepstakes CW, SSB**
|
214
214
|
- ARRL VHF January, June, September
|
215
215
|
- CQ 160 CW, SSB
|
216
|
-
-
|
217
|
-
-
|
218
|
-
-
|
216
|
+
- **CQ WPX CW, RTTY, SSB**
|
217
|
+
- **CQ World Wide CW, RTTY, SSB**
|
218
|
+
- **CWOps CWT**
|
219
219
|
- Helvetia
|
220
220
|
- IARU Fieldday R1 CW, SSB
|
221
221
|
- IARU HF
|
222
222
|
- ICWC MST
|
223
223
|
- Japan International DX CW, SSB
|
224
|
-
-
|
225
|
-
-
|
224
|
+
- **K1USN Slow Speed Test**
|
225
|
+
- **NAQP CW, RTTY, SSB**
|
226
226
|
- Phone Weekly Test
|
227
227
|
- RAC Canada Day
|
228
228
|
- Stew Perry Topband
|
229
|
-
-
|
230
|
-
- Winter Field Day
|
229
|
+
- **Weekly RTTY**
|
230
|
+
- **Winter Field Day**
|
231
231
|
|
232
232
|
## Recent Changes
|
233
233
|
|
234
|
+
- [24-10-19] Change ESM button states when the run state is toggled. Add ESM to ARRL Field Day and Winter Field Day.
|
235
|
+
- [24-10-18] Fixed marked spots showing the correct time.
|
234
236
|
- [24-10-17-2] Add ESM to ARRL Sweepstakes.
|
235
237
|
- [24-10-17-1] Fix dupe check. Reordered change mode and interface update sequence. Resend mode if rigctld does not report back `RPRT 0`
|
236
238
|
- [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.
|
@@ -851,8 +853,8 @@ change.
|
|
851
853
|
|
852
854
|
## Testing Out ESM Currently only in CQ WW
|
853
855
|
|
854
|
-
I caved and started working on ESM or Enter Sends Message.
|
855
|
-
|
856
|
+
I caved and started working on ESM or Enter Sends Message. To test it out you can
|
857
|
+
go to `FILE -> Configuration Settings`
|
856
858
|
|
857
859
|

|
858
860
|
|
@@ -1,7 +1,7 @@
|
|
1
1
|
not1mm/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
2
|
-
not1mm/__main__.py,sha256=
|
3
|
-
not1mm/bandmap.py,sha256=
|
4
|
-
not1mm/checkwindow.py,sha256=
|
2
|
+
not1mm/__main__.py,sha256=T7-6MKhPrXXngRWm2V5RKh1mthYR_tk3B6qH0_ydrHA,135156
|
3
|
+
not1mm/bandmap.py,sha256=_zbfhuPzJAQWxINJoxaulJ-FPvPP7syBq80JZFdcx14,31768
|
4
|
+
not1mm/checkwindow.py,sha256=VoENHFGlaLfifR2xVkoiGky8SWktlXfUgEuP4DRS998,10584
|
5
5
|
not1mm/fsutils.py,sha256=ukHKxKTeNKxKwqRaJjtzRShL4X5Xl0jRBbADyy3Ifp8,1701
|
6
6
|
not1mm/logwindow.py,sha256=pwhiwolmGnW01LF4sjlu3ywLsgfxL6KuGuKuYKYmgeY,44403
|
7
7
|
not1mm/lookupservice.py,sha256=jsFg5tsB9cVnahLP-hI3CMwbjlEpMx944O8RLWntAy4,3342
|
@@ -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=oznFClc1dUCtmpw3M-IpqUNJ9Ym-G_SXfSl5cPTlijo,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
|
@@ -124,7 +124,7 @@ not1mm/plugins/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
124
124
|
not1mm/plugins/arrl_10m.py,sha256=EyNRb3Sm0Qb-GVm0p05EnadlHisVh7y-sKTBP2ddMLo,13768
|
125
125
|
not1mm/plugins/arrl_dx_cw.py,sha256=LVnYDNFEUiIpQ1TlhOCcRK7JNwH5XPO5WzUoApSUMTY,13802
|
126
126
|
not1mm/plugins/arrl_dx_ssb.py,sha256=fUFzuNbCAfA5sQSYm8ISV3P9Z_2xnuKeOdO6E66zn1k,13805
|
127
|
-
not1mm/plugins/arrl_field_day.py,sha256=
|
127
|
+
not1mm/plugins/arrl_field_day.py,sha256=uXlu2fBGvr2sgcja9IxAiyOCy_ZJuA4NVWfIIA8gN-c,16048
|
128
128
|
not1mm/plugins/arrl_rtty_ru.py,sha256=hKUS4isjdXo3EYxQrsqsDupPp2chW8fpoWj0T1pTgJ4,7994
|
129
129
|
not1mm/plugins/arrl_ss_cw.py,sha256=egbIe-WBmM6oqmc7uWzSnRJaNIImHs8Hgs4PtNfpnEQ,16339
|
130
130
|
not1mm/plugins/arrl_ss_phone.py,sha256=zSD3WBFFWpiOo7RWgMfPduzFxshTczXtwK-OXqGV9aE,16327
|
@@ -157,10 +157,10 @@ not1mm/plugins/phone_weekly_test.py,sha256=fLpMe03WB9_KgRl6vMgQQt_aktFdqfNt2Sw81
|
|
157
157
|
not1mm/plugins/ref_cw.py,sha256=aWjHHkqIKutjRUtzh09y5haFfnZK9poRQDWRQMDRxxU,16326
|
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
|
-
not1mm/plugins/winter_field_day.py,sha256=
|
161
|
-
not1mm-24.10.
|
162
|
-
not1mm-24.10.
|
163
|
-
not1mm-24.10.
|
164
|
-
not1mm-24.10.
|
165
|
-
not1mm-24.10.
|
166
|
-
not1mm-24.10.
|
160
|
+
not1mm/plugins/winter_field_day.py,sha256=nPuPxdK1FimPsHk-uz_3MA4cBqBp6WcwApk7PZwWeWg,13579
|
161
|
+
not1mm-24.10.19.dist-info/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
|
162
|
+
not1mm-24.10.19.dist-info/METADATA,sha256=bC6_89c7oicMK_65y8tW1dgHPnsDFEAFJcbNYpWfys0,34546
|
163
|
+
not1mm-24.10.19.dist-info/WHEEL,sha256=OVMc5UfuAQiSplgO0_WdW7vXVGAt9Hdd6qtN4HotdyA,91
|
164
|
+
not1mm-24.10.19.dist-info/entry_points.txt,sha256=pMcZk_0dxFgLkcUkF0Q874ojpwOmF3OL6EKw9LgvocM,47
|
165
|
+
not1mm-24.10.19.dist-info/top_level.txt,sha256=0YmTxEcDzQlzXub-lXASvoLpg_mt1c2thb5cVkDf5J4,7
|
166
|
+
not1mm-24.10.19.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|