not1mm 25.5.26__py3-none-any.whl → 25.5.26.1__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 -2
- not1mm/plugins/ari_dx.py +136 -5
- {not1mm-25.5.26.dist-info → not1mm-25.5.26.1.dist-info}/METADATA +3 -1
- {not1mm-25.5.26.dist-info → not1mm-25.5.26.1.dist-info}/RECORD +8 -8
- {not1mm-25.5.26.dist-info → not1mm-25.5.26.1.dist-info}/WHEEL +0 -0
- {not1mm-25.5.26.dist-info → not1mm-25.5.26.1.dist-info}/entry_points.txt +0 -0
- {not1mm-25.5.26.dist-info → not1mm-25.5.26.1.dist-info}/licenses/LICENSE +0 -0
- {not1mm-25.5.26.dist-info → not1mm-25.5.26.1.dist-info}/top_level.txt +0 -0
not1mm/lib/version.py
CHANGED
not1mm/plugins/ari_dx.py
CHANGED
@@ -1,5 +1,11 @@
|
|
1
1
|
"""ARI International DX Contest"""
|
2
2
|
|
3
|
+
# pylint: disable=invalid-name, c-extension-no-member, unused-import, line-too-long
|
4
|
+
# pyright: ignore[reportUndefinedVariable]
|
5
|
+
# pylance: disable=reportUndefinedVariable
|
6
|
+
# ruff: noqa: F821
|
7
|
+
# ruff: noqa: F401
|
8
|
+
|
3
9
|
# Status: Active
|
4
10
|
# Geographic Focus: Worldwide
|
5
11
|
# Participation: Worldwide
|
@@ -30,8 +36,6 @@
|
|
30
36
|
# Cabrillo name: ARI-DX
|
31
37
|
|
32
38
|
|
33
|
-
# pylint: disable=invalid-name, c-extension-no-member, unused-import, line-too-long
|
34
|
-
|
35
39
|
import datetime
|
36
40
|
import logging
|
37
41
|
import platform
|
@@ -40,6 +44,7 @@ from pathlib import Path
|
|
40
44
|
|
41
45
|
from PyQt6 import QtWidgets
|
42
46
|
|
47
|
+
from not1mm.lib.ham_utility import get_logged_band
|
43
48
|
from not1mm.lib.plugin_common import gen_adif
|
44
49
|
from not1mm.lib.version import __version__
|
45
50
|
|
@@ -154,7 +159,7 @@ def points(self) -> int:
|
|
154
159
|
if result:
|
155
160
|
for item in result.items():
|
156
161
|
mycountry = item[1].get("primary_pfx", "")
|
157
|
-
myentity = item[1].get("entity", "")
|
162
|
+
# myentity = item[1].get("entity", "")
|
158
163
|
mycontinent = item[1].get("continent", "")
|
159
164
|
|
160
165
|
result = self.cty_lookup(self.contact.get("Call", ""))
|
@@ -162,7 +167,7 @@ def points(self) -> int:
|
|
162
167
|
if result:
|
163
168
|
for item in result.items():
|
164
169
|
hiscountry = item[1].get("primary_pfx", "")
|
165
|
-
hisentity = item[1].get("entity", "")
|
170
|
+
# hisentity = item[1].get("entity", "")
|
166
171
|
hiscontinent = item[1].get("continent", "")
|
167
172
|
|
168
173
|
_points = 0
|
@@ -425,7 +430,7 @@ def cabrillo(self, file_encoding):
|
|
425
430
|
f"{str(contact.get('SentNr', '')).upper().ljust(6)} "
|
426
431
|
f"{contact.get('Call', '').ljust(13)} "
|
427
432
|
f"{str(contact.get('RCV', '')).ljust(3)} "
|
428
|
-
f"{str(contact.get('
|
433
|
+
f"{str(contact.get('NR', '')).upper().ljust(6)}",
|
429
434
|
"\r\n",
|
430
435
|
file_descriptor,
|
431
436
|
file_encoding,
|
@@ -556,3 +561,129 @@ def check_call_history(self):
|
|
556
561
|
self.history_info.setText(f"{result.get('UserText','')}")
|
557
562
|
if self.other_2.text() == "":
|
558
563
|
self.other_2.setText(f"{result.get('Sect', '')}")
|
564
|
+
|
565
|
+
|
566
|
+
def set_self(the_outie):
|
567
|
+
"""..."""
|
568
|
+
globals()["ALTEREGO"] = the_outie
|
569
|
+
|
570
|
+
|
571
|
+
def ft8_handler(the_packet: dict):
|
572
|
+
print(f"{the_packet=}")
|
573
|
+
"""Process FT8 QSO packets
|
574
|
+
FT8
|
575
|
+
{
|
576
|
+
'CALL': 'KE0OG',
|
577
|
+
'GRIDSQUARE': 'DM10AT',
|
578
|
+
'MODE': 'FT8',
|
579
|
+
'RST_SENT': '',
|
580
|
+
'RST_RCVD': '',
|
581
|
+
'QSO_DATE': '20210329',
|
582
|
+
'TIME_ON': '183213',
|
583
|
+
'QSO_DATE_OFF': '20210329',
|
584
|
+
'TIME_OFF': '183213',
|
585
|
+
'BAND': '20M',
|
586
|
+
'FREQ': '14.074754',
|
587
|
+
'STATION_CALLSIGN': 'K6GTE',
|
588
|
+
'MY_GRIDSQUARE': 'DM13AT',
|
589
|
+
'CONTEST_ID': 'ARRL-FIELD-DAY',
|
590
|
+
'SRX_STRING': '1D UT',
|
591
|
+
'CLASS': '1D',
|
592
|
+
'ARRL_SECT': 'UT'
|
593
|
+
}
|
594
|
+
FlDigi
|
595
|
+
{
|
596
|
+
'CALL': 'K5TUS',
|
597
|
+
'MODE': 'RTTY',
|
598
|
+
'FREQ': '14.068415',
|
599
|
+
'BAND': '20M',
|
600
|
+
'QSO_DATE': '20250103',
|
601
|
+
'TIME_ON': '2359',
|
602
|
+
'QSO_DATE_OFF': '20250103',
|
603
|
+
'TIME_OFF': '2359',
|
604
|
+
'NAME': '',
|
605
|
+
'QTH': '',
|
606
|
+
'STATE': 'ORG',
|
607
|
+
'VE_PROV': '',
|
608
|
+
'COUNTRY': 'USA',
|
609
|
+
'RST_SENT': '599',
|
610
|
+
'RST_RCVD': '599',
|
611
|
+
'TX_PWR': '0',
|
612
|
+
'CNTY': '',
|
613
|
+
'DXCC': '',
|
614
|
+
'CQZ': '5',
|
615
|
+
'IOTA': '',
|
616
|
+
'CONT': '',
|
617
|
+
'ITUZ': '',
|
618
|
+
'GRIDSQUARE': '',
|
619
|
+
'QSLRDATE': '',
|
620
|
+
'QSLSDATE': '',
|
621
|
+
'EQSLRDATE': '',
|
622
|
+
'EQSLSDATE': '',
|
623
|
+
'LOTWRDATE': '',
|
624
|
+
'LOTWSDATE': '',
|
625
|
+
'QSL_VIA': '',
|
626
|
+
'NOTES': '',
|
627
|
+
'SRX': '',
|
628
|
+
'STX': '000',
|
629
|
+
'SRX_STRING': '',
|
630
|
+
'STX_STRING': 'CA',
|
631
|
+
|
632
|
+
|
633
|
+
'SRX': '666',
|
634
|
+
'STX': '000',
|
635
|
+
'SRX_STRING': '',
|
636
|
+
'STX_STRING': 'CA',
|
637
|
+
|
638
|
+
'SRX': '004', 'STX': '000', 'SRX_STRING': '', 'STX_STRING': '#',
|
639
|
+
|
640
|
+
'CLASS': '',
|
641
|
+
'ARRL_SECT': '',
|
642
|
+
'OPERATOR': 'K6GTE',
|
643
|
+
'STATION_CALLSIGN': 'K6GTE',
|
644
|
+
'MY_GRIDSQUARE': 'DM13AT',
|
645
|
+
'MY_CITY': 'ANAHEIM, CA',
|
646
|
+
'CHECK': '',
|
647
|
+
'AGE': '',
|
648
|
+
'TEN_TEN': '',
|
649
|
+
'CWSS_PREC': '',
|
650
|
+
'CWSS_SECTION': '',
|
651
|
+
'CWSS_SERNO': '',
|
652
|
+
'CWSS_CHK': ''
|
653
|
+
}
|
654
|
+
|
655
|
+
"""
|
656
|
+
logger.debug(f"{the_packet=}")
|
657
|
+
if ALTEREGO is not None: # type: ignore
|
658
|
+
ALTEREGO.callsign.setText(the_packet.get("CALL")) # type: ignore
|
659
|
+
ALTEREGO.contact["Call"] = the_packet.get("CALL", "") # type: ignore
|
660
|
+
ALTEREGO.contact["SNT"] = the_packet.get("RST_SENT", "599") # type: ignore
|
661
|
+
ALTEREGO.contact["RCV"] = the_packet.get("RST_RCVD", "599") # type: ignore
|
662
|
+
|
663
|
+
sent_string = the_packet.get("STX_STRING", "")
|
664
|
+
if sent_string != "":
|
665
|
+
ALTEREGO.contact["SentNr"] = sent_string # type: ignore
|
666
|
+
ALTEREGO.other_1.setText(str(sent_string)) # type: ignore
|
667
|
+
else:
|
668
|
+
ALTEREGO.contact["SentNr"] = the_packet.get("STX", "000") # type: ignore
|
669
|
+
ALTEREGO.other_1.setText(str(the_packet.get("STX", "000"))) # type: ignore
|
670
|
+
|
671
|
+
rx_string = the_packet.get("STATE", "")
|
672
|
+
if rx_string != "":
|
673
|
+
ALTEREGO.contact["NR"] = rx_string # type: ignore
|
674
|
+
ALTEREGO.other_2.setText(str(rx_string)) # type: ignore
|
675
|
+
else:
|
676
|
+
ALTEREGO.contact["NR"] = the_packet.get("SRX", "000") # type: ignore
|
677
|
+
ALTEREGO.other_2.setText(str(the_packet.get("SRX", "000"))) # type: ignore
|
678
|
+
|
679
|
+
ALTEREGO.contact["Mode"] = the_packet.get("MODE", "ERR") # type: ignore
|
680
|
+
ALTEREGO.contact["Freq"] = round(float(the_packet.get("FREQ", "0.0")) * 1000, 2) # type: ignore
|
681
|
+
ALTEREGO.contact["QSXFreq"] = round( # type: ignore
|
682
|
+
float(the_packet.get("FREQ", "0.0")) * 1000, 2
|
683
|
+
)
|
684
|
+
ALTEREGO.contact["Band"] = get_logged_band( # type: ignore
|
685
|
+
str(int(float(the_packet.get("FREQ", "0.0")) * 1000000))
|
686
|
+
)
|
687
|
+
logger.debug(f"{ALTEREGO.contact=}") # type: ignore
|
688
|
+
|
689
|
+
ALTEREGO.save_contact() # type: ignore
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: not1mm
|
3
|
-
Version: 25.5.26
|
3
|
+
Version: 25.5.26.1
|
4
4
|
Summary: NOT1MM Logger
|
5
5
|
Author-email: Michael Bridak <michael.bridak@gmail.com>
|
6
6
|
License: GPL-3.0-or-later
|
@@ -219,6 +219,8 @@ generated, 'cause I'm lazy, list of those who've submitted PR's.
|
|
219
219
|
- 10 10 Spring CW
|
220
220
|
- 10 10 Summer Phone
|
221
221
|
- 10 10 Winter Phone
|
222
|
+
- ARI 40 80
|
223
|
+
- ARI DX
|
222
224
|
- ARRL 10M
|
223
225
|
- ARRL 160M
|
224
226
|
- ARRL DX CW, SSB
|
@@ -120,7 +120,7 @@ not1mm/lib/plugin_common.py,sha256=D1OBjyLmX7zuSPqgTCmHwXzAKA12J_zTQItvyIem-4Y,1
|
|
120
120
|
not1mm/lib/select_contest.py,sha256=WsptLuwkouIHeocJL3oZ6-eUfEnhpwdc-x7eMZ_TIVM,359
|
121
121
|
not1mm/lib/settings.py,sha256=5xnsagH48qGeCDhfxPWW9yaXtv8wT13yoIVvYt8h_Qs,16023
|
122
122
|
not1mm/lib/super_check_partial.py,sha256=hwT2NRwobu0PLDyw6ltmbmcAtGBD02CKGFbgGWjXMqA,2334
|
123
|
-
not1mm/lib/version.py,sha256=
|
123
|
+
not1mm/lib/version.py,sha256=yA7CdtW3TS2_La829zvpEQPRX8CKY-9FzSRHeqAinb8,50
|
124
124
|
not1mm/lib/versiontest.py,sha256=8vDNptuBBunn-1IGkjNaquehqBYUJyjrPSF8Igmd4_Y,1286
|
125
125
|
not1mm/plugins/10_10_fall_cw.py,sha256=oJh3JKqjOpnWElSlZpiQ631UnaOd8qra5s9bl_QoInk,14783
|
126
126
|
not1mm/plugins/10_10_spring_cw.py,sha256=p7dSDtbFK0e6Xouw2V6swYn3VFVgHKyx4IfRWyBjMZY,14786
|
@@ -128,7 +128,7 @@ not1mm/plugins/10_10_summer_phone.py,sha256=NWWT5YTZN6CkPl5Jy4lCuTqHd1R_JodhsOLq
|
|
128
128
|
not1mm/plugins/10_10_winter_phone.py,sha256=4xoWLbnE2di5XnUUlhsvTR__E0Z4kbhu-rcUitPMR0U,14795
|
129
129
|
not1mm/plugins/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
130
130
|
not1mm/plugins/ari_40_80.py,sha256=_CaUWEo0zJONXvxPqJKyqmStJezqxEsNxOnEdSLmxzY,15333
|
131
|
-
not1mm/plugins/ari_dx.py,sha256=
|
131
|
+
not1mm/plugins/ari_dx.py,sha256=GXAq9H-JrE_QZ5E4Dhkyo6v18Z4-xomAtgZOg_aTzRI,22380
|
132
132
|
not1mm/plugins/arrl_10m.py,sha256=9p7EX2vAXVilF8y6AYHG4fXczU6g9QuMA2Pvj64pSXE,18389
|
133
133
|
not1mm/plugins/arrl_160m.py,sha256=rdWDhmPN0h9ADTlYaRLk-5j8KVye0rUEs1tyD-kfHV0,20300
|
134
134
|
not1mm/plugins/arrl_dx_cw.py,sha256=Bx6_PBmTHKf4l52XwLFVeR2y6F134kXbGTfEXC_1agk,18890
|
@@ -183,9 +183,9 @@ not1mm/plugins/ukeidx.py,sha256=0ABGW7_9Ui0Rgr8mkPBxOJokAIerM1a4-HWnl6VsnV8,1910
|
|
183
183
|
not1mm/plugins/vhf_sprint.py,sha256=a9QFTpv8XUbZ_GLjdVCh7svykFa-gXOWwKFZ6MD3uQM,19289
|
184
184
|
not1mm/plugins/weekly_rtty.py,sha256=C8Xs3Q5UgSYx-mFFar8BVARWtmqlyrbeC98Ubzb4UN8,20128
|
185
185
|
not1mm/plugins/winter_field_day.py,sha256=hmAMgkdqIXtnCNyUp8J9Bb8liN8wj10wps6ROuG-Bok,15284
|
186
|
-
not1mm-25.5.26.dist-info/licenses/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
|
187
|
-
not1mm-25.5.26.dist-info/METADATA,sha256=
|
188
|
-
not1mm-25.5.26.dist-info/WHEEL,sha256=zaaOINJESkSfm_4HQVc5ssNzHCPXhJm0kEUakpsEHaU,91
|
189
|
-
not1mm-25.5.26.dist-info/entry_points.txt,sha256=pMcZk_0dxFgLkcUkF0Q874ojpwOmF3OL6EKw9LgvocM,47
|
190
|
-
not1mm-25.5.26.dist-info/top_level.txt,sha256=0YmTxEcDzQlzXub-lXASvoLpg_mt1c2thb5cVkDf5J4,7
|
191
|
-
not1mm-25.5.26.dist-info/RECORD,,
|
186
|
+
not1mm-25.5.26.1.dist-info/licenses/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
|
187
|
+
not1mm-25.5.26.1.dist-info/METADATA,sha256=OCl5-STfmrP_sLIxfT1KFyEysSZ7-hu_nx8VN8aSYTY,41911
|
188
|
+
not1mm-25.5.26.1.dist-info/WHEEL,sha256=zaaOINJESkSfm_4HQVc5ssNzHCPXhJm0kEUakpsEHaU,91
|
189
|
+
not1mm-25.5.26.1.dist-info/entry_points.txt,sha256=pMcZk_0dxFgLkcUkF0Q874ojpwOmF3OL6EKw9LgvocM,47
|
190
|
+
not1mm-25.5.26.1.dist-info/top_level.txt,sha256=0YmTxEcDzQlzXub-lXASvoLpg_mt1c2thb5cVkDf5J4,7
|
191
|
+
not1mm-25.5.26.1.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|