not1mm 25.2.26__py3-none-any.whl → 25.3.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/__main__.py CHANGED
@@ -2773,6 +2773,8 @@ class MainWindow(QtWidgets.QMainWindow):
2773
2773
  macro = macro.replace("#", next_serial)
2774
2774
  macro = macro.replace("{MYCALL}", self.station.get("Call", ""))
2775
2775
  macro = macro.replace("{HISCALL}", self.callsign.text())
2776
+ macro = macro.replace("{OTHER1}", self.other_1.text())
2777
+ macro = macro.replace("{OTHER2}", self.other_2.text())
2776
2778
  if self.radio_state.get("mode") == "CW":
2777
2779
  macro = macro.replace("{SNT}", self.sent.text().replace("9", "n"))
2778
2780
  else:
not1mm/lib/version.py CHANGED
@@ -1,3 +1,3 @@
1
1
  """It's the version"""
2
2
 
3
- __version__ = "25.2.26"
3
+ __version__ = "25.3.2"
@@ -533,3 +533,25 @@ def just_points(self):
533
533
  score = "0"
534
534
  return int(score)
535
535
  return 0
536
+
537
+
538
+ def populate_history_info_line(self):
539
+ result = self.database.fetch_call_history(self.callsign.text())
540
+ if result:
541
+ self.history_info.setText(
542
+ f"{result.get('Call', '')}, {result.get('Name', '')}, {result.get('State', '')}, {result.get('Power', '')}, {result.get('UserText','...')}"
543
+ )
544
+ else:
545
+ self.history_info.setText("")
546
+
547
+
548
+ def check_call_history(self):
549
+ """"""
550
+ result = self.database.fetch_call_history(self.callsign.text())
551
+ if result:
552
+ self.history_info.setText(f"{result.get('UserText','')}")
553
+ if self.other_2.text() == "":
554
+ if result.get("State", ""):
555
+ self.other_2.setText(f"{result.get('State', '')}")
556
+ if result.get("Power", ""):
557
+ self.other_2.setText(f"{result.get('Power', '')}")
@@ -532,3 +532,28 @@ def just_points(self):
532
532
  score = "0"
533
533
  return int(score)
534
534
  return 0
535
+
536
+
537
+ #!!Order!!,Call,Name,State,Power,UserText,
538
+
539
+
540
+ def populate_history_info_line(self):
541
+ result = self.database.fetch_call_history(self.callsign.text())
542
+ if result:
543
+ self.history_info.setText(
544
+ f"{result.get('Call', '')}, {result.get('Name', '')}, {result.get('State', '')}, {result.get('Power', '')}, {result.get('UserText','...')}"
545
+ )
546
+ else:
547
+ self.history_info.setText("")
548
+
549
+
550
+ def check_call_history(self):
551
+ """"""
552
+ result = self.database.fetch_call_history(self.callsign.text())
553
+ if result:
554
+ self.history_info.setText(f"{result.get('UserText','')}")
555
+ if self.other_2.text() == "":
556
+ if result.get("State", ""):
557
+ self.other_2.setText(f"{result.get('State', '')}")
558
+ if result.get("Power", ""):
559
+ self.other_2.setText(f"{result.get('Power', '')}")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: not1mm
3
- Version: 25.2.26
3
+ Version: 25.3.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
@@ -240,6 +240,8 @@ generated, 'cause I'm lazy, list of those who've submitted PR's.
240
240
 
241
241
  ## Recent Changes
242
242
 
243
+ - [25-3-2] Added call history support to ARRL DX, just in time for it to be over.
244
+ - [25-3-1] Add {OTHER1} and {OTHER2} macros.
243
245
  - [25-2-26] Switch to a Run state if engaging auto_cq.
244
246
  - [25-2-22] Add Auto CQ.
245
247
  - [25-2-12] Merged PR from @alduhoo Adding RandomGram event.
@@ -680,6 +682,8 @@ You can include a limited set of substitution instructions.
680
682
  | {SNT} | Sends 5nn (cw) or 599 (ssb) |
681
683
  | {SENTNR} | Sends whats in the SentNR field. |
682
684
  | {EXCH} | Sends what's in the Sent Exchange field when contest is defined. |
685
+ | {OTHER1} | Sends whats in the SentNR/Name field without altering it. |
686
+ | {OTHER2} | Sends whats in the Comment field without altering it. |
683
687
  | {LOGIT} | Log the contact after macro pressed. |
684
688
  | {MARK} | Mark the current call in the bandmap. |
685
689
  | {SPOT} | Spot the current call to the cluster. |
@@ -1,5 +1,5 @@
1
1
  not1mm/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
- not1mm/__main__.py,sha256=E-WfACez3mMqu8eFxfZDrOoEMZvaHkCOcxyXejRzmXE,148236
2
+ not1mm/__main__.py,sha256=tg3pyejQnZILEIPLvjEjMWHsLmNDtOgEMVwk_G-hGgI,148362
3
3
  not1mm/bandmap.py,sha256=vaOeqv_gW0-K0P3xA9JYcuiFILiKw601tjHQCwuoV-s,31260
4
4
  not1mm/checkwindow.py,sha256=VFAcKYTcoWhmIf91chwY6tyao9FQMWPiUkgDDkkWaog,9670
5
5
  not1mm/fsutils.py,sha256=ukHKxKTeNKxKwqRaJjtzRShL4X5Xl0jRBbADyy3Ifp8,1701
@@ -116,7 +116,7 @@ not1mm/lib/plugin_common.py,sha256=M5reDYM-v5IjAa2yTROvZTeTDkXYHb3U52W9mc9GxwA,1
116
116
  not1mm/lib/select_contest.py,sha256=WsptLuwkouIHeocJL3oZ6-eUfEnhpwdc-x7eMZ_TIVM,359
117
117
  not1mm/lib/settings.py,sha256=mXffn8Xaj5KATPQinNBR0V5DbHWQPsRfh24_axWGYuk,15254
118
118
  not1mm/lib/super_check_partial.py,sha256=hwT2NRwobu0PLDyw6ltmbmcAtGBD02CKGFbgGWjXMqA,2334
119
- not1mm/lib/version.py,sha256=CsDxOYetTMRz8TLoDkHM8RXaIyBr7iEI-N7D9kQVK7E,48
119
+ not1mm/lib/version.py,sha256=-mF3zNQ_0SuY4YjPsNBWWP6ynQSBQBM0qzuBG8dN1ks,47
120
120
  not1mm/lib/versiontest.py,sha256=8vDNptuBBunn-1IGkjNaquehqBYUJyjrPSF8Igmd4_Y,1286
121
121
  not1mm/plugins/10_10_fall_cw.py,sha256=5QUyGMvGBC-HxcY_z9QbfuxSg3f7p6C9K4qhTxgZE7k,14719
122
122
  not1mm/plugins/10_10_spring_cw.py,sha256=XjYFM263WYyG6nVQzPObW4YC7Z9L93rixSOcVsxPvH4,14722
@@ -125,8 +125,8 @@ not1mm/plugins/10_10_winter_phone.py,sha256=k4aTQAKqy9SNIKxyueIgRmS5kWwisi-VDg4E
125
125
  not1mm/plugins/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
126
126
  not1mm/plugins/arrl_10m.py,sha256=EzVBMdyVtm4LWH-5YR_s--Z7dA8xXLOVTcnAW4ZmLFQ,18325
127
127
  not1mm/plugins/arrl_160m.py,sha256=9SHfxjTX_LECOYDsICnoX_Q133atojsJbmFapehleYE,20236
128
- not1mm/plugins/arrl_dx_cw.py,sha256=4UMN1HWPNbkz2T6K33GJ0wUkE7yq46C57C6BUwbu5cs,18014
129
- not1mm/plugins/arrl_dx_ssb.py,sha256=X2C0hPY45_CvA2_97O0NAw3HF4QGgs5o0WVTlwMMme8,18017
128
+ not1mm/plugins/arrl_dx_cw.py,sha256=BgGA5U2Jhy-QD4RLL27BWALnlCJ0HUZHNAY5HtHxUoo,18826
129
+ not1mm/plugins/arrl_dx_ssb.py,sha256=kWFLV84VXFFKn3ThvIUw2RUvqnuNATFsXA_Jb9FD10g,18874
130
130
  not1mm/plugins/arrl_field_day.py,sha256=X7BLs87ikQEm1xuh2sSj-8KcFA9pqnut6uFGM2xJe7c,16743
131
131
  not1mm/plugins/arrl_rtty_ru.py,sha256=_NQUaIXinlY6gSa_f6J1nUpfZBGgg6SAoi1voDmmB20,20893
132
132
  not1mm/plugins/arrl_ss_cw.py,sha256=uv71xstpmBiDTyU5zF8pe6UIS-5v6hi0aMBksbPvCzc,17458
@@ -167,9 +167,9 @@ not1mm/plugins/ref_ssb.py,sha256=Z_XmMpYKcI5dZh4TQqvQDcz-cLpMzpDEKBnb5iHeBLQ,215
167
167
  not1mm/plugins/stew_perry_topband.py,sha256=D1hekmMbx-i4BhaP2uzOK3OzaVVMMdgcN3RmfweNqHo,15341
168
168
  not1mm/plugins/weekly_rtty.py,sha256=rdlIrsxBeuj-RQc5OStVNF7sGCtBK5t6inN5Z7DI4tw,20066
169
169
  not1mm/plugins/winter_field_day.py,sha256=JK4r1vfxs7aADR7ZYbjZniz3f5s3_ipSQDZ0GRNWC7I,15222
170
- not1mm-25.2.26.dist-info/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
171
- not1mm-25.2.26.dist-info/METADATA,sha256=vqrs5zwGpA6J9wfe3FKcjeTNWCv7929AnTVHwaRloq8,36180
172
- not1mm-25.2.26.dist-info/WHEEL,sha256=nn6H5-ilmfVryoAQl3ZQ2l8SH5imPWFpm1A5FgEuFV4,91
173
- not1mm-25.2.26.dist-info/entry_points.txt,sha256=pMcZk_0dxFgLkcUkF0Q874ojpwOmF3OL6EKw9LgvocM,47
174
- not1mm-25.2.26.dist-info/top_level.txt,sha256=0YmTxEcDzQlzXub-lXASvoLpg_mt1c2thb5cVkDf5J4,7
175
- not1mm-25.2.26.dist-info/RECORD,,
170
+ not1mm-25.3.2.dist-info/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
171
+ not1mm-25.3.2.dist-info/METADATA,sha256=clCdCTSM3ZTo9WJQG1-tKUyNtX5w8OoPpzcmJHIA4BQ,36448
172
+ not1mm-25.3.2.dist-info/WHEEL,sha256=jB7zZ3N9hIM9adW7qlTAyycLYW9npaWKLRzaoVcLKcM,91
173
+ not1mm-25.3.2.dist-info/entry_points.txt,sha256=pMcZk_0dxFgLkcUkF0Q874ojpwOmF3OL6EKw9LgvocM,47
174
+ not1mm-25.3.2.dist-info/top_level.txt,sha256=0YmTxEcDzQlzXub-lXASvoLpg_mt1c2thb5cVkDf5J4,7
175
+ not1mm-25.3.2.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (75.8.1)
2
+ Generator: setuptools (75.8.2)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5