not1mm 24.5.10__py3-none-any.whl → 24.5.25__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__ = "24.5.10"
3
+ __version__ = "24.5.25"
@@ -170,35 +170,39 @@ def points(self):
170
170
  result = self.cty_lookup(self.station.get("Call", ""))
171
171
  if result:
172
172
  for item in result.items():
173
- mycountry = item[1].get("entity", "")
174
- mycontinent = item[1].get("continent", "")
173
+ my_country = item[1].get("entity", "")
174
+ my_continent = item[1].get("continent", "")
175
175
  result = self.cty_lookup(self.contact.get("Call", ""))
176
176
  band = int(int(float(self.contact.get("Freq", 0))) / 1000)
177
177
  if result:
178
178
  for item in result.items():
179
- entity = item[1].get("entity", "")
180
- continent = item[1].get("continent", "")
179
+ their_country = item[1].get("entity", "")
180
+ their_continent = item[1].get("continent", "")
181
181
 
182
- # If both are in North America
183
- if mycontinent == "NA" and continent == "NA":
182
+ # Different Continent
183
+ if my_continent != their_continent:
184
184
  if band in [28, 21, 14]:
185
- return 2
186
- return 4
185
+ return 3
186
+ return 6
187
187
 
188
- # Not NA, Both in same country
189
- if mycountry.upper() == entity.upper():
188
+ # Both in same country
189
+ if my_country.upper() == their_country.upper():
190
190
  return 1
191
191
 
192
- # Same Continent
193
- if mycontinent == continent:
192
+ # Below Same Continent Different Country
193
+
194
+ # If in North America
195
+ if my_continent == "NA":
196
+ if band in [28, 21, 14]:
197
+ return 2
198
+ return 4
199
+
200
+ # Non NA
201
+ if my_continent != "NA":
194
202
  if band in [28, 21, 14]:
195
203
  return 1
196
204
  return 2
197
-
198
- # Different Continent
199
- if band in [28, 21, 14]:
200
- return 3
201
- return 6
205
+ # Something wrong
202
206
  return 0
203
207
 
204
208
 
@@ -414,6 +418,8 @@ def recalculate_mults(self):
414
418
  """Recalculates multipliers after change in logged qso."""
415
419
  all_contacts = self.database.fetch_all_contacts_asc()
416
420
  for contact in all_contacts:
421
+ self.contact = contact
422
+ contact["Points"] = points(self)
417
423
  time_stamp = contact.get("TS", "")
418
424
  wpx = contact.get("WPXPrefix", "")
419
425
  result = self.database.fetch_wpx_exists_before_me(wpx, time_stamp)
@@ -0,0 +1,24 @@
1
+ """K1USN Slow Speed Test"""
2
+
3
+ # Geographic Focus: Worldwide
4
+ # Participation: Worldwide
5
+ # Mode: CW
6
+ # Bands: 160, 80, 40, 20, 15, 10m
7
+ # Classes: Single Op (QRP/Low/High)
8
+ # Max power: HP: >100 watts
9
+ # LP: 100 watts
10
+ # QRP: 5 watts
11
+ # Exchange: Maximum 20 wpm
12
+ # Name + (state/province/country)
13
+ # Work stations: Once per band
14
+ # QSO Points: 1 point per QSO (starting with Jan 4 contest)
15
+ # Multipliers: Each state/province/country once per band
16
+ # W/VE do not count as country mults (starting with Jan 4 contest)
17
+ # Score Calculation: Total score = total QSO points x total mults
18
+ # Submit logs by: 2359Z May 26, 2024
19
+ # Post log summary at: http://www.3830scores.com
20
+ # Mail logs to: (none)
21
+ # Find rules at: http://www.k1usn.com/sst.html
22
+
23
+ import datetime
24
+
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: not1mm
3
- Version: 24.5.10
3
+ Version: 24.5.25
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
@@ -59,6 +59,7 @@ Requires-Dist: Levenshtein
59
59
  - [Ubuntu 24.04 LTS](#ubuntu-2404-lts)
60
60
  - [Fedora 38 \& 39](#fedora-38--39)
61
61
  - [Fedora 40](#fedora-40)
62
+ - [Manjaro](#manjaro)
62
63
  - [Python, PyPI, pip and pipx](#python-pypi-pip-and-pipx)
63
64
  - [Bootstrapping pipx](#bootstrapping-pipx)
64
65
  - [Installing with pipx](#installing-with-pipx)
@@ -181,6 +182,7 @@ I wish to thank those who've contributed to the project.
181
182
 
182
183
  ## Recent Changes
183
184
 
185
+ - [24-5-25] Fixed points calculation for CQ WW WPX.
184
186
  - [24-5-10] Add sanity check for VFO freq.
185
187
  - [24-5-9] Add ICWC MST.
186
188
  - [24-5-1] Moved the voice keying into it's own thread.
@@ -264,6 +266,18 @@ sudo dnf install python3-pip python3-pyqt6 portaudio
264
266
  pip install not1mm
265
267
  ```
266
268
 
269
+ </details>
270
+
271
+ <details>
272
+
273
+ <summary><b>Manjaro</b></summary>
274
+
275
+ #### Manjaro
276
+
277
+ ```bash
278
+ pamac build not1mm-git
279
+ ```
280
+
267
281
  </details>
268
282
  <br>
269
283
 
@@ -9,7 +9,7 @@ not1mm/radio.py,sha256=eiB04LPMPBeMrBRI021Z7VXth66EOYb0Ujh11T9877c,3362
9
9
  not1mm/vfo.py,sha256=FVuRjA8LCLkt8pZ3enBuCcxLJchb1ysvaMnX0txrZSs,12038
10
10
  not1mm/voice_keying.py,sha256=fkexCCwWcZsXxYVAk0QGcpGbLjbS10ToxWtdKihIVM4,3152
11
11
  not1mm/data/JetBrainsMono-Regular.ttf,sha256=UOHctAKY_PzCGh7zy-6f6egnCcSK0wzmF0csBqO9lDY,203952
12
- not1mm/data/MASTER.SCP,sha256=1vQRvEZ865brfmmajp-Lj-hgWejVGI992q8o971bUV8,366478
12
+ not1mm/data/MASTER.SCP,sha256=ejgeLdjeOQ6kZxLNGIDwbdus8vhJxsg-K1tgo19U2Mo,362528
13
13
  not1mm/data/about.ui,sha256=7TqvtXFFm0Rmcu0bmLupwpO1CsK8MekfZ09_xn6kZrQ,2067
14
14
  not1mm/data/alpha bravo charlie delta.txt,sha256=d5QMmSWEUAe4Rj1XbNjTPLa_5Be4Se6u5LUIqAYidOQ,224
15
15
  not1mm/data/bandmap.ui,sha256=NqVoAGyuf_Rsts_FnL0pYEtE08DJb6qm4KAQ_T01bM8,7125
@@ -17,7 +17,7 @@ not1mm/data/check.png,sha256=UvFOLr8V-79qnjW8wUaGItXk_OSP8m8hqPevs8NDlFY,387
17
17
  not1mm/data/checkwindow.ui,sha256=aILeaBJB5Xium-JIFiJ39VEoGH6TIpK0lHVa2RcfeaQ,4614
18
18
  not1mm/data/configuration.ui,sha256=fRdyDusgQdUl76XC__RHwpkOlOERmnGFQ3DMCgkxh8U,51672
19
19
  not1mm/data/contests.sql,sha256=4hmJCDvrbxnA_Y5S4T5o52TZieeFk6QUwFerwlFePNA,89307
20
- not1mm/data/cty.json,sha256=xnLK-kNB5phKPef7R7PJZcSGGHegZ1AH2xw9ZWJwccM,4790698
20
+ not1mm/data/cty.json,sha256=TJUQGzjV1LFzza7co7_Y0U-R1mtYgfF8_Jp36Z_IuvM,4831946
21
21
  not1mm/data/cwmacros.txt,sha256=PvJ7TxGILq-ErHb6Gbrm-08x76BbCdXb8AY8a7st5mg,451
22
22
  not1mm/data/donors.html,sha256=8hNzO3Q5a6p-_3egT1hfOjimPf810tKMUM5ukLzUsGM,116
23
23
  not1mm/data/editcontact.ui,sha256=ax-pm4TeECpHl3LSb5z4L403WjPWXZ9KV2it_6gIjqk,27404
@@ -109,7 +109,7 @@ not1mm/lib/plugin_common.py,sha256=AAKBPCXzTWZJb-h08uPNnHVG7bSCg7kwukc211gFivY,8
109
109
  not1mm/lib/select_contest.py,sha256=WsptLuwkouIHeocJL3oZ6-eUfEnhpwdc-x7eMZ_TIVM,359
110
110
  not1mm/lib/settings.py,sha256=MWiKXbasaFbzeHTjfzTaTqbCBrIijudP_-0a5jNmUAA,9265
111
111
  not1mm/lib/super_check_partial.py,sha256=p5l3u2ZOCBtlWgbvskC50FpuoaIpR07tfC6zTdRWbh4,2334
112
- not1mm/lib/version.py,sha256=HLXusGD6xpUWJCM4fkD1S_BRmrYhgIXcBT2ETZm_rhY,48
112
+ not1mm/lib/version.py,sha256=VHeig4z_uQcaI8HKSMmgrSC9_guOzXa1U4cBNlqn1MU,48
113
113
  not1mm/lib/versiontest.py,sha256=8vDNptuBBunn-1IGkjNaquehqBYUJyjrPSF8Igmd4_Y,1286
114
114
  not1mm/plugins/10_10_fall_cw.py,sha256=IttjX1yy4nDdACGsiYlPteFG8eVseX_WtoFio6bqHE8,10953
115
115
  not1mm/plugins/10_10_spring_cw.py,sha256=ThCptdM3dX4ywhoy2JRcOEyHSqcJolFaT7O_PYzM1Mg,10958
@@ -129,7 +129,7 @@ not1mm/plugins/arrl_vhf_sep.py,sha256=AEKCxDk3UhUWDGT1rNmJ2dk94ihXQ8jexkemkx9N-x
129
129
  not1mm/plugins/canada_day.py,sha256=dZWmwbdjO4CUSu_cK6FAZxII0DhaEMji_mmrpMO5wjo,11987
130
130
  not1mm/plugins/cq_160_cw.py,sha256=e9ajqIzDRteSI7zQaFpXUJ_6SNvBlIuNq213wadReUs,14139
131
131
  not1mm/plugins/cq_160_ssb.py,sha256=7MuMC_AVlj9ds_ohvEU4Tts-z9eTvnsSIENSMFKQCBc,14182
132
- not1mm/plugins/cq_wpx_cw.py,sha256=GW_nr3ISErqMDgwA5pybxgpnSANaZaAwJOp_KTQPRP4,13845
132
+ not1mm/plugins/cq_wpx_cw.py,sha256=2vERpr5rajPQqKX9ME10hxhQX78inmDDQInYt21tg8Q,14026
133
133
  not1mm/plugins/cq_wpx_ssb.py,sha256=Ptx4GDXgnM9c38fB9LN2KSPVfnSVB2-OFySsHqxHHyw,12567
134
134
  not1mm/plugins/cq_ww_cw.py,sha256=ltXFnSXabCOuW70s-WOydgghZTNpztX8TKLpVIV50B4,11194
135
135
  not1mm/plugins/cq_ww_ssb.py,sha256=kt-EQofmCbynX1iXFm9ehffi_TMW25ke8Qi9MiR69ZQ,11199
@@ -139,14 +139,15 @@ not1mm/plugins/iaru_hf.py,sha256=-ROUo2gBkw3xB89t8bd-4f7_1hROw2VXZXVHLFdB62s,115
139
139
  not1mm/plugins/icwc_mst.py,sha256=v8L5NX2QmTM7x8Po1mb4yfN-dGVIuqky5MIT-OjfaVY,11831
140
140
  not1mm/plugins/jidx_cw.py,sha256=-cHhOFDy6lojD8cPaE6bYxrHmQ-x27QL3rh91YGZfbU,12142
141
141
  not1mm/plugins/jidx_ph.py,sha256=xKIYbs27uploZ5srUvsVHHskcV6-fLkGEsSJ0i-rky4,11172
142
+ not1mm/plugins/k1usn_sst.py,sha256=odFgK1cwT2CKC1w64LKrBDSAflb-Ak2-MTL9LzmHHIM,742
142
143
  not1mm/plugins/naqp_cw.py,sha256=c0MuKqfkIxiYFvv2z7vqrBz3m9FSnSYkPK3f-DdkTIA,12632
143
144
  not1mm/plugins/naqp_ssb.py,sha256=VLWVrSzI0UP1AhSXYn61eZ7or1rz6a_pS_xCKfgS4Jw,11595
144
145
  not1mm/plugins/phone_weekly_test.py,sha256=gCX0ESUoiQzDp9puwibt9-dRembNsiuEeBdawCVvjHA,12316
145
146
  not1mm/plugins/stew_perry_topband.py,sha256=CKBQbYl4ETxhXJd2dma4fg_C5pag_s7Nf61SCztZtqE,10668
146
147
  not1mm/plugins/winter_field_day.py,sha256=4rcfRtobwjHO6BNL3WOTHzBmyyeuX79BNGBG8PfjrI8,10238
147
- not1mm-24.5.10.dist-info/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
148
- not1mm-24.5.10.dist-info/METADATA,sha256=YnhnHHFjm8QfmYue8rUl7tyXKKkK1suxJsT3CIDjLs8,27252
149
- not1mm-24.5.10.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
150
- not1mm-24.5.10.dist-info/entry_points.txt,sha256=pMcZk_0dxFgLkcUkF0Q874ojpwOmF3OL6EKw9LgvocM,47
151
- not1mm-24.5.10.dist-info/top_level.txt,sha256=0YmTxEcDzQlzXub-lXASvoLpg_mt1c2thb5cVkDf5J4,7
152
- not1mm-24.5.10.dist-info/RECORD,,
148
+ not1mm-24.5.25.dist-info/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
149
+ not1mm-24.5.25.dist-info/METADATA,sha256=fKBQyj2_AD0RdQcJvWEhoq-BYGD1sh4quPYwYiFLOqY,27441
150
+ not1mm-24.5.25.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
151
+ not1mm-24.5.25.dist-info/entry_points.txt,sha256=pMcZk_0dxFgLkcUkF0Q874ojpwOmF3OL6EKw9LgvocM,47
152
+ not1mm-24.5.25.dist-info/top_level.txt,sha256=0YmTxEcDzQlzXub-lXASvoLpg_mt1c2thb5cVkDf5J4,7
153
+ not1mm-24.5.25.dist-info/RECORD,,