not1mm 25.1.1__py3-none-any.whl → 25.1.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/version.py CHANGED
@@ -1,3 +1,3 @@
1
1
  """It's the version"""
2
2
 
3
- __version__ = "25.1.1"
3
+ __version__ = "25.1.6"
@@ -1,34 +1,32 @@
1
1
  """
2
- Mode: RTTY
3
- Bands: 80, 40, 20, 15, 10m
4
- Classes: Single Op (QRP/Low/High)
5
- Single Op Unlimited (QRP/Low/High)
6
- Single Op Overlay: (Limited Antennas)
7
- Multi-Single (Low/High)
8
- Multi-Two
9
- Multi-Multi
10
- Max operating hours: 24 hours
11
- Max power: HP: 1500 watts
12
- LP: 100 watts
13
- Exchange: W/VE: RST + (state/province)
14
- non-W/VE: RST + Serial No.
15
- Work stations: Once per band
16
- QSO Points: 1 point per QSO
17
- Multipliers: Each US state+DC (except KH6/KL7) once only
18
- Each VE province/territory once only
19
- Each DXCC country (including KH6/KL7) once only
20
- Score Calculation: Total score = total QSO points x total mults
21
- Submit logs by: 2359Z January 12, 2025
22
- E-mail logs to: (none)
23
- Upload log at: https://contest-log-submission.arrl.org/
24
- Mail logs to: RTTY Roundup
25
- ARRL
26
- 225 Main St.
27
- Newington, CT 06111
28
- USA
29
- Find rules at: https://www.arrl.org/rtty-roundup
30
-
31
-
2
+ Mode: RTTY
3
+ Bands: 80, 40, 20, 15, 10m
4
+ Classes: Single Op (QRP/Low/High)
5
+ Single Op Unlimited (QRP/Low/High)
6
+ Single Op Overlay: (Limited Antennas)
7
+ Multi-Single (Low/High)
8
+ Multi-Two
9
+ Multi-Multi
10
+ Max operating hours: 24 hours
11
+ Max power: HP: 1500 watts
12
+ LP: 100 watts
13
+ Exchange: W/VE: RST + (state/province)
14
+ non-W/VE: RST + Serial No.
15
+ Work stations: Once per band
16
+ QSO Points: 1 point per QSO
17
+ Multipliers: Each US state+DC (except KH6/KL7) once only
18
+ Each VE province/territory once only
19
+ Each DXCC country (including KH6/KL7) once only
20
+ Score Calculation: Total score = total QSO points x total mults
21
+ Submit logs by: 2359Z January 12, 2025
22
+ E-mail logs to: (none)
23
+ Upload log at: https://contest-log-submission.arrl.org/
24
+ Mail logs to: RTTY Roundup
25
+ ARRL
26
+ 225 Main St.
27
+ Newington, CT 06111
28
+ USA
29
+ Find rules at: https://www.arrl.org/rtty-roundup
32
30
  """
33
31
 
34
32
  # pylint: disable=invalid-name, unused-argument, unused-variable, c-extension-no-member
@@ -39,6 +37,7 @@ import logging
39
37
  from pathlib import Path
40
38
  from PyQt6 import QtWidgets
41
39
 
40
+ from not1mm.lib.ham_utility import get_logged_band
42
41
  from not1mm.lib.plugin_common import gen_adif, get_points, online_score_xml
43
42
  from not1mm.lib.version import __version__
44
43
 
@@ -541,3 +540,129 @@ def get_mults(self):
541
540
  def just_points(self):
542
541
  """"""
543
542
  return get_points(self)
543
+
544
+
545
+ def set_self(the_outie):
546
+ """..."""
547
+ globals()["ALTEREGO"] = the_outie
548
+
549
+
550
+ def ft8_handler(the_packet: dict):
551
+ print(f"{the_packet=}")
552
+ """Process FT8 QSO packets
553
+ FT8
554
+ {
555
+ 'CALL': 'KE0OG',
556
+ 'GRIDSQUARE': 'DM10AT',
557
+ 'MODE': 'FT8',
558
+ 'RST_SENT': '',
559
+ 'RST_RCVD': '',
560
+ 'QSO_DATE': '20210329',
561
+ 'TIME_ON': '183213',
562
+ 'QSO_DATE_OFF': '20210329',
563
+ 'TIME_OFF': '183213',
564
+ 'BAND': '20M',
565
+ 'FREQ': '14.074754',
566
+ 'STATION_CALLSIGN': 'K6GTE',
567
+ 'MY_GRIDSQUARE': 'DM13AT',
568
+ 'CONTEST_ID': 'ARRL-FIELD-DAY',
569
+ 'SRX_STRING': '1D UT',
570
+ 'CLASS': '1D',
571
+ 'ARRL_SECT': 'UT'
572
+ }
573
+ FlDigi
574
+ {
575
+ 'CALL': 'K5TUS',
576
+ 'MODE': 'RTTY',
577
+ 'FREQ': '14.068415',
578
+ 'BAND': '20M',
579
+ 'QSO_DATE': '20250103',
580
+ 'TIME_ON': '2359',
581
+ 'QSO_DATE_OFF': '20250103',
582
+ 'TIME_OFF': '2359',
583
+ 'NAME': '',
584
+ 'QTH': '',
585
+ 'STATE': 'ORG',
586
+ 'VE_PROV': '',
587
+ 'COUNTRY': 'USA',
588
+ 'RST_SENT': '599',
589
+ 'RST_RCVD': '599',
590
+ 'TX_PWR': '0',
591
+ 'CNTY': '',
592
+ 'DXCC': '',
593
+ 'CQZ': '5',
594
+ 'IOTA': '',
595
+ 'CONT': '',
596
+ 'ITUZ': '',
597
+ 'GRIDSQUARE': '',
598
+ 'QSLRDATE': '',
599
+ 'QSLSDATE': '',
600
+ 'EQSLRDATE': '',
601
+ 'EQSLSDATE': '',
602
+ 'LOTWRDATE': '',
603
+ 'LOTWSDATE': '',
604
+ 'QSL_VIA': '',
605
+ 'NOTES': '',
606
+ 'SRX': '',
607
+ 'STX': '000',
608
+ 'SRX_STRING': '',
609
+ 'STX_STRING': 'CA',
610
+
611
+
612
+ 'SRX': '666',
613
+ 'STX': '000',
614
+ 'SRX_STRING': '',
615
+ 'STX_STRING': 'CA',
616
+
617
+ 'SRX': '004', 'STX': '000', 'SRX_STRING': '', 'STX_STRING': '#',
618
+
619
+ 'CLASS': '',
620
+ 'ARRL_SECT': '',
621
+ 'OPERATOR': 'K6GTE',
622
+ 'STATION_CALLSIGN': 'K6GTE',
623
+ 'MY_GRIDSQUARE': 'DM13AT',
624
+ 'MY_CITY': 'ANAHEIM, CA',
625
+ 'CHECK': '',
626
+ 'AGE': '',
627
+ 'TEN_TEN': '',
628
+ 'CWSS_PREC': '',
629
+ 'CWSS_SECTION': '',
630
+ 'CWSS_SERNO': '',
631
+ 'CWSS_CHK': ''
632
+ }
633
+
634
+ """
635
+ logger.debug(f"{the_packet=}")
636
+ if ALTEREGO is not None:
637
+ ALTEREGO.callsign.setText(the_packet.get("CALL"))
638
+ ALTEREGO.contact["Call"] = the_packet.get("CALL", "")
639
+ ALTEREGO.contact["SNT"] = the_packet.get("RST_SENT", "599")
640
+ ALTEREGO.contact["RCV"] = the_packet.get("RST_RCVD", "599")
641
+
642
+ sent_string = the_packet.get("STX_STRING", "")
643
+ if sent_string != "":
644
+ ALTEREGO.contact["SentNr"] = sent_string
645
+ ALTEREGO.other_1.setText(str(sent_string))
646
+ else:
647
+ ALTEREGO.contact["SentNr"] = the_packet.get("STX", "000")
648
+ ALTEREGO.other_1.setText(str(the_packet.get("STX", "000")))
649
+
650
+ rx_string = the_packet.get("STATE", "")
651
+ if rx_string != "":
652
+ ALTEREGO.contact["NR"] = rx_string
653
+ ALTEREGO.other_2.setText(str(rx_string))
654
+ else:
655
+ ALTEREGO.contact["NR"] = the_packet.get("SRX", "000")
656
+ ALTEREGO.other_2.setText(str(the_packet.get("SRX", "000")))
657
+
658
+ ALTEREGO.contact["Mode"] = the_packet.get("MODE", "ERR")
659
+ ALTEREGO.contact["Freq"] = round(float(the_packet.get("FREQ", "0.0")) * 1000, 2)
660
+ ALTEREGO.contact["QSXFreq"] = round(
661
+ float(the_packet.get("FREQ", "0.0")) * 1000, 2
662
+ )
663
+ ALTEREGO.contact["Band"] = get_logged_band(
664
+ str(int(float(the_packet.get("FREQ", "0.0")) * 1000000))
665
+ )
666
+ logger.debug(f"{ALTEREGO.contact=}")
667
+
668
+ ALTEREGO.save_contact()
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: not1mm
3
- Version: 25.1.1
3
+ Version: 25.1.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
@@ -240,6 +240,7 @@ generated, 'cause I'm lazy, list of those who've submitted PR's.
240
240
 
241
241
  ## Recent Changes (Polishing the Turd)
242
242
 
243
+ - [25-1-6] Altered RTTY RU UDP ADIF parse.
243
244
  - [25-1-1] Added ARRL RTTY RU.
244
245
 
245
246
  See [CHANGELOG.md](CHANGELOG.md) for prior changes.
@@ -114,7 +114,7 @@ not1mm/lib/plugin_common.py,sha256=-cvXtEAUgZ7GtxaNiwVdHbZ-7wEBeoMPRZXNdCxnPyA,1
114
114
  not1mm/lib/select_contest.py,sha256=WsptLuwkouIHeocJL3oZ6-eUfEnhpwdc-x7eMZ_TIVM,359
115
115
  not1mm/lib/settings.py,sha256=j5lIMLHJ-eqIaVr_QhI82gkbOl17_C-5suRkWbHYET8,14717
116
116
  not1mm/lib/super_check_partial.py,sha256=hwT2NRwobu0PLDyw6ltmbmcAtGBD02CKGFbgGWjXMqA,2334
117
- not1mm/lib/version.py,sha256=CqwwZgPnGFUAeenWk7Ey1p5bFWF45s1jdEZbwTt9guc,47
117
+ not1mm/lib/version.py,sha256=iW32MIFaiAvBUPU7oYgyRhnGFlmeNjNzGML_oIFxa6s,47
118
118
  not1mm/lib/versiontest.py,sha256=8vDNptuBBunn-1IGkjNaquehqBYUJyjrPSF8Igmd4_Y,1286
119
119
  not1mm/plugins/10_10_fall_cw.py,sha256=5QUyGMvGBC-HxcY_z9QbfuxSg3f7p6C9K4qhTxgZE7k,14719
120
120
  not1mm/plugins/10_10_spring_cw.py,sha256=XjYFM263WYyG6nVQzPObW4YC7Z9L93rixSOcVsxPvH4,14722
@@ -126,7 +126,7 @@ not1mm/plugins/arrl_160m.py,sha256=9SHfxjTX_LECOYDsICnoX_Q133atojsJbmFapehleYE,2
126
126
  not1mm/plugins/arrl_dx_cw.py,sha256=4UMN1HWPNbkz2T6K33GJ0wUkE7yq46C57C6BUwbu5cs,18014
127
127
  not1mm/plugins/arrl_dx_ssb.py,sha256=X2C0hPY45_CvA2_97O0NAw3HF4QGgs5o0WVTlwMMme8,18017
128
128
  not1mm/plugins/arrl_field_day.py,sha256=X7BLs87ikQEm1xuh2sSj-8KcFA9pqnut6uFGM2xJe7c,16743
129
- not1mm/plugins/arrl_rtty_ru.py,sha256=ag1Man_y1A5gyWcU98TcXbOL33nVdPpRXrzotI7Snkc,17061
129
+ not1mm/plugins/arrl_rtty_ru.py,sha256=_NQUaIXinlY6gSa_f6J1nUpfZBGgg6SAoi1voDmmB20,20893
130
130
  not1mm/plugins/arrl_ss_cw.py,sha256=uv71xstpmBiDTyU5zF8pe6UIS-5v6hi0aMBksbPvCzc,17458
131
131
  not1mm/plugins/arrl_ss_phone.py,sha256=V3dgBXoLb3mWMbb1s-ovx-SoUBL5IxE8omkQbP7siwk,16794
132
132
  not1mm/plugins/arrl_vhf_jan.py,sha256=SDk0gGg00XPuCpl6DsyozAnEoOBgiS1wMUhDPPB5RsM,20267
@@ -163,9 +163,9 @@ not1mm/plugins/ref_ssb.py,sha256=vfS9-mcnbw2znRvU4jh20JqI9BXap8jV65OV5mbCkCk,209
163
163
  not1mm/plugins/stew_perry_topband.py,sha256=D1hekmMbx-i4BhaP2uzOK3OzaVVMMdgcN3RmfweNqHo,15341
164
164
  not1mm/plugins/weekly_rtty.py,sha256=huZszbZsIh4vF3cP80UyPzy3qxIoHdEiT1b6KuvwgYc,20083
165
165
  not1mm/plugins/winter_field_day.py,sha256=cSCFwy1LOoDDA9Zs1LHRG3r8spDMSKDisxyPxnVrLjw,15149
166
- not1mm-25.1.1.dist-info/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
167
- not1mm-25.1.1.dist-info/METADATA,sha256=qmgKembLLFua5erWr8T0EjHT0Ah_ZYtiZ3tnnVhVbBk,35673
168
- not1mm-25.1.1.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
169
- not1mm-25.1.1.dist-info/entry_points.txt,sha256=pMcZk_0dxFgLkcUkF0Q874ojpwOmF3OL6EKw9LgvocM,47
170
- not1mm-25.1.1.dist-info/top_level.txt,sha256=0YmTxEcDzQlzXub-lXASvoLpg_mt1c2thb5cVkDf5J4,7
171
- not1mm-25.1.1.dist-info/RECORD,,
166
+ not1mm-25.1.6.dist-info/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
167
+ not1mm-25.1.6.dist-info/METADATA,sha256=GQZzZaXZQcA238AIpNfqQXP4SYN2Xddwlvv2H6shzuE,35716
168
+ not1mm-25.1.6.dist-info/WHEEL,sha256=A3WOREP4zgxI0fKrHUG8DC8013e3dK3n7a6HDbcEIwE,91
169
+ not1mm-25.1.6.dist-info/entry_points.txt,sha256=pMcZk_0dxFgLkcUkF0Q874ojpwOmF3OL6EKw9LgvocM,47
170
+ not1mm-25.1.6.dist-info/top_level.txt,sha256=0YmTxEcDzQlzXub-lXASvoLpg_mt1c2thb5cVkDf5J4,7
171
+ not1mm-25.1.6.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (75.6.0)
2
+ Generator: setuptools (75.7.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5