not1mm 23.9.3.1__py3-none-any.whl → 23.10.31__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/data/main.ui CHANGED
@@ -597,6 +597,16 @@
597
597
  </property>
598
598
  </widget>
599
599
  </item>
600
+ <item>
601
+ <widget class="QLabel" name="radio_icon">
602
+ <property name="text">
603
+ <string/>
604
+ </property>
605
+ <property name="alignment">
606
+ <set>Qt::AlignCenter</set>
607
+ </property>
608
+ </widget>
609
+ </item>
600
610
  <item>
601
611
  <widget class="QRadioButton" name="radioButton_run">
602
612
  <property name="focusPolicy">
@@ -1089,7 +1099,7 @@
1089
1099
  <x>0</x>
1090
1100
  <y>0</y>
1091
1101
  <width>866</width>
1092
- <height>30</height>
1102
+ <height>25</height>
1093
1103
  </rect>
1094
1104
  </property>
1095
1105
  <property name="nativeMenuBar">
Binary file
Binary file
Binary file
@@ -7,6 +7,7 @@ GPL V3
7
7
  import logging
8
8
  import socket
9
9
  import xmlrpc.client
10
+ import http
10
11
 
11
12
  if __name__ == "__main__":
12
13
  print("I'm not the program you are looking for.")
@@ -63,9 +64,11 @@ class CAT:
63
64
  self.online = True
64
65
  try:
65
66
  _ = self.server.main.get_version()
66
- except ConnectionRefusedError:
67
- self.online = False
68
- except xmlrpc.client.Fault:
67
+ except (
68
+ ConnectionRefusedError,
69
+ xmlrpc.client.Fault,
70
+ http.client.BadStatusLine,
71
+ ):
69
72
  self.online = False
70
73
  if self.interface == "rigctld":
71
74
  self.__initialize_rigctrld()
@@ -73,21 +76,11 @@ class CAT:
73
76
  def __initialize_rigctrld(self):
74
77
  try:
75
78
  self.rigctrlsocket = socket.socket()
76
- self.rigctrlsocket.settimeout(0.5)
79
+ self.rigctrlsocket.settimeout(0.1)
77
80
  self.rigctrlsocket.connect((self.host, self.port))
78
81
  logger.debug("Connected to rigctrld")
79
82
  self.online = True
80
- except ConnectionRefusedError as exception:
81
- self.rigctrlsocket = None
82
- self.online = False
83
- logger.debug("%s", f"{exception}")
84
- return
85
- except TimeoutError as exception:
86
- self.rigctrlsocket = None
87
- self.online = False
88
- logger.debug("%s", f"{exception}")
89
- return
90
- except OSError as exception:
83
+ except (ConnectionRefusedError, TimeoutError, OSError) as exception:
91
84
  self.rigctrlsocket = None
92
85
  self.online = False
93
86
  logger.debug("%s", f"{exception}")
@@ -113,10 +106,11 @@ class CAT:
113
106
  try:
114
107
  self.online = True
115
108
  return self.server.rig.get_vfo()
116
- except ConnectionRefusedError as exception:
117
- self.online = False
118
- logger.debug("getvfo_flrig: %s", f"{exception}")
119
- except xmlrpc.client.Fault as exception:
109
+ except (
110
+ ConnectionRefusedError,
111
+ xmlrpc.client.Fault,
112
+ http.client.BadStatusLine,
113
+ ) as exception:
120
114
  self.online = False
121
115
  logger.debug("getvfo_flrig: %s", f"{exception}")
122
116
  return ""
@@ -151,10 +145,11 @@ class CAT:
151
145
  try:
152
146
  self.online = True
153
147
  return self.server.rig.get_mode()
154
- except ConnectionRefusedError as exception:
155
- self.online = False
156
- logger.debug("%s", f"{exception}")
157
- except xmlrpc.client.Fault as exception:
148
+ except (
149
+ ConnectionRefusedError,
150
+ xmlrpc.client.Fault,
151
+ http.client.BadStatusLine,
152
+ ) as exception:
158
153
  self.online = False
159
154
  logger.debug("%s", f"{exception}")
160
155
  return ""
@@ -193,11 +188,11 @@ class CAT:
193
188
  self.online = True
194
189
  bandwidth = self.server.rig.get_bw()
195
190
  return bandwidth[0]
196
- except ConnectionRefusedError as exception:
197
- self.online = False
198
- logger.debug("getbw_flrig: %s", f"{exception}")
199
- return ""
200
- except xmlrpc.client.Fault as exception:
191
+ except (
192
+ ConnectionRefusedError,
193
+ xmlrpc.client.Fault,
194
+ http.client.BadStatusLine,
195
+ ) as exception:
201
196
  self.online = False
202
197
  logger.debug("getbw_flrig: %s", f"{exception}")
203
198
  return ""
@@ -234,11 +229,11 @@ class CAT:
234
229
  try:
235
230
  self.online = True
236
231
  return self.server.rig.get_power()
237
- except ConnectionRefusedError as exception:
238
- self.online = False
239
- logger.debug("getpower_flrig: %s", f"{exception}")
240
- return ""
241
- except xmlrpc.client.Fault as exception:
232
+ except (
233
+ ConnectionRefusedError,
234
+ xmlrpc.client.Fault,
235
+ http.client.BadStatusLine,
236
+ ) as exception:
242
237
  self.online = False
243
238
  logger.debug("getpower_flrig: %s", f"{exception}")
244
239
  return ""
@@ -268,10 +263,11 @@ class CAT:
268
263
  try:
269
264
  self.online = True
270
265
  return self.server.rig.get_ptt()
271
- except ConnectionRefusedError as exception:
272
- self.online = False
273
- logger.debug("%s", f"{exception}")
274
- except xmlrpc.client.Fault as exception:
266
+ except (
267
+ ConnectionRefusedError,
268
+ xmlrpc.client.Fault,
269
+ http.client.BadStatusLine,
270
+ ) as exception:
275
271
  self.online = False
276
272
  logger.debug("%s", f"{exception}")
277
273
  return "0"
@@ -305,10 +301,11 @@ class CAT:
305
301
  try:
306
302
  self.online = True
307
303
  return self.server.rig.set_frequency(float(freq))
308
- except ConnectionRefusedError as exception:
309
- self.online = False
310
- logger.debug("setvfo_flrig: %s", f"{exception}")
311
- except xmlrpc.client.Fault as exception:
304
+ except (
305
+ ConnectionRefusedError,
306
+ xmlrpc.client.Fault,
307
+ http.client.BadStatusLine,
308
+ ) as exception:
312
309
  self.online = False
313
310
  logger.debug("setvfo_flrig: %s", f"{exception}")
314
311
  return False
@@ -342,10 +339,11 @@ class CAT:
342
339
  try:
343
340
  self.online = True
344
341
  return self.server.rig.set_mode(mode)
345
- except ConnectionRefusedError as exception:
346
- self.online = False
347
- logger.debug("setmode_flrig: %s", f"{exception}")
348
- except xmlrpc.client.Fault as exception:
342
+ except (
343
+ ConnectionRefusedError,
344
+ xmlrpc.client.Fault,
345
+ http.client.BadStatusLine,
346
+ ) as exception:
349
347
  self.online = False
350
348
  logger.debug("setmode_flrig: %s", f"{exception}")
351
349
  return False
@@ -378,11 +376,11 @@ class CAT:
378
376
  try:
379
377
  self.online = True
380
378
  return self.server.rig.set_power(power)
381
- except ConnectionRefusedError as exception:
382
- self.online = False
383
- logger.debug("setpower_flrig: %s", f"{exception}")
384
- return False
385
- except xmlrpc.client.Fault as exception:
379
+ except (
380
+ ConnectionRefusedError,
381
+ xmlrpc.client.Fault,
382
+ http.client.BadStatusLine,
383
+ ) as exception:
386
384
  self.online = False
387
385
  logger.debug("setpower_flrig: %s", f"{exception}")
388
386
  return False
@@ -432,10 +430,11 @@ class CAT:
432
430
  try:
433
431
  self.online = True
434
432
  return self.server.rig.set_ptt(1)
435
- except ConnectionRefusedError as exception:
436
- self.online = False
437
- logger.debug("%s", f"{exception}")
438
- except xmlrpc.client.Fault as exception:
433
+ except (
434
+ ConnectionRefusedError,
435
+ xmlrpc.client.Fault,
436
+ http.client.BadStatusLine,
437
+ ) as exception:
439
438
  self.online = False
440
439
  logger.debug("%s", f"{exception}")
441
440
  return "0"
@@ -465,10 +464,11 @@ class CAT:
465
464
  try:
466
465
  self.online = True
467
466
  return self.server.rig.set_ptt(0)
468
- except ConnectionRefusedError as exception:
469
- self.online = False
470
- logger.debug("%s", f"{exception}")
471
- except xmlrpc.client.Fault as exception:
467
+ except (
468
+ ConnectionRefusedError,
469
+ xmlrpc.client.Fault,
470
+ http.client.BadStatusLine,
471
+ ) as exception:
472
472
  self.online = False
473
473
  logger.debug("%s", f"{exception}")
474
474
  return "0"
not1mm/lib/version.py CHANGED
@@ -1,2 +1,2 @@
1
1
  """It's the version"""
2
- __version__ = "23.9.3.1"
2
+ __version__ = "23.10.31"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: not1mm
3
- Version: 23.9.3.1
3
+ Version: 23.10.31
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
@@ -28,6 +28,8 @@ Requires-Dist: notctyparser >=23.6.21
28
28
 
29
29
  # Not1MM
30
30
 
31
+ The worlds #1 unfinished contest logger <sup>*According to my daughter Corinna.<sup>
32
+
31
33
  [![PyPI](https://img.shields.io/pypi/v/not1mm)](https://pypi.org/project/not1mm/)
32
34
  [![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0)
33
35
  [![Python: 3.10+](https://img.shields.io/badge/python-3.9+-blue.svg)](https://www.python.org/downloads/)
@@ -152,6 +154,9 @@ I wish to thank those who've contributed to the project.
152
154
 
153
155
  ## Recent Changes
154
156
 
157
+ - [23-10-31] Fix crash if flrig wasn't running. Add CAT status icon.
158
+ - [23-10-28] Merged PR from #qsantos and #bseidenberg, fixing crash related to zombie processes.
159
+ - [23-10-22] Where've I been? Sorry, I've been caring for a family member. Be back soon.
155
160
  - [23-9-3] Added some accessibility stuff for screen readers. Fixed crash when entering invalid frequency in log window. You can now edit cells in the focused half of the log window.
156
161
  - [23-9-2] CTRL+SHIFT+K to open CW text entry field.
157
162
 
@@ -341,7 +346,7 @@ Choose the sound output device for the voice keyer.
341
346
 
342
347
  ### CAT
343
348
 
344
- Under the `CAT` TAB, you can choose either `rigctld` normally with an IP of `127.0.0.1` and a port of `4532`. Or `flrig`, IP normally of `127.0.0.1` and a port of `12345`. `None` is always an option, but is it really?
349
+ Under the `CAT` TAB, you can choose either `rigctld` normally with an IP of `127.0.0.1` and a port of `4532`. Or `flrig`, IP normally of `127.0.0.1` and a port of `12345`. `None` is always an option, but is it really? There's an onscreen icon for CAT status. Green good, Red bad, Grey neither.
345
350
 
346
351
  ### CW Keyer interface
347
352
 
@@ -501,11 +506,15 @@ Click on `File` > `Generate Cabrillo`
501
506
 
502
507
  The file will be placed in your home directory. The name will be in the format of:
503
508
 
504
- `StationCall`_`ContestName`.log
509
+ `StationCall`\_`ContestName`\_`CurrentDate`\_`CurrentTime`.log
510
+
511
+ So for me it would look like:
512
+
513
+ K6GTE_CANADA-DAY_2023-09-04_07-47-05.log
505
514
 
506
- So for me it would be:
515
+ Look a log [eh](https://www.youtube.com/watch?v=El41sHXck-E)?.
507
516
 
508
- K6GTE_CQ-WPX-SSB.log
517
+ [This](https://www.youtube.com/watch?v=oMI23JJUpGE) outlines some differences between ARRL Field Day and Canada Day.
509
518
 
510
519
  ## ADIF
511
520
 
@@ -513,7 +522,7 @@ K6GTE_CQ-WPX-SSB.log
513
522
 
514
523
  Boom... ADIF
515
524
 
516
- `StationCall`_`ContestName`.adi
525
+ `StationCall`\_`ContestName`\_`Date`\_`Time`.adi
517
526
 
518
527
  ## Dupe checking
519
528
 
@@ -1,11 +1,11 @@
1
1
  not1mm/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
- not1mm/__main__.py,sha256=xAZSyfzy_hYoXWIuzWa11zXzuKPoMwQQDu7r9OmyM-c,101871
3
- not1mm/bandmap.py,sha256=Pc32x83fqJuq7cnEhYgfacYTAMXtUm7Rbdfn3rLg_CM,28668
2
+ not1mm/__main__.py,sha256=2-Uf-vjgx6Fk6wfK675adNKSZu-J83nFaYue8nim5bs,102295
3
+ not1mm/bandmap.py,sha256=AqlXK075VoPKk9G7aIOH895aF_ct9JCwR4SzDfrlkYE,28691
4
4
  not1mm/checkwindow.py,sha256=8aeHaZoFoFNAZbVsgBiXtFFCXxpXPxQmQRKerTbACfk,7066
5
5
  not1mm/logwindow.py,sha256=W2GFJvBTibY-cvMQz1jPoxXBn_O-zMLLCNaChFlnjWQ,41694
6
6
  not1mm/vfo.py,sha256=sN8P9pSTU7whC6d7RSgMeQQ02bEM-IY8-vq5tRsKkQY,10113
7
7
  not1mm/data/JetBrainsMono-Regular.ttf,sha256=UOHctAKY_PzCGh7zy-6f6egnCcSK0wzmF0csBqO9lDY,203952
8
- not1mm/data/MASTER.SCP,sha256=J7Xi62-SF0vO8X1IvQE5O-dESikT6OVmrT_x80F7f4Y,657382
8
+ not1mm/data/MASTER.SCP,sha256=9S0NzTygOdUi-J7oFwJCeoVRc0nQKQYx3LAQC_w1gsE,712093
9
9
  not1mm/data/about.ui,sha256=7TqvtXFFm0Rmcu0bmLupwpO1CsK8MekfZ09_xn6kZrQ,2067
10
10
  not1mm/data/alpha bravo charlie delta.txt,sha256=d5QMmSWEUAe4Rj1XbNjTPLa_5Be4Se6u5LUIqAYidOQ,224
11
11
  not1mm/data/bandmap.ui,sha256=iWl5RSCQMbshLz4EyTnljnsc_HzAd8flUOERxa92ILY,6762
@@ -13,7 +13,7 @@ not1mm/data/check.png,sha256=UvFOLr8V-79qnjW8wUaGItXk_OSP8m8hqPevs8NDlFY,387
13
13
  not1mm/data/checkwindow.ui,sha256=nc4FRc4D3ozC1jhm96Q2y6rolayKF6OwMrbCSaQ-vbg,2572
14
14
  not1mm/data/configuration.ui,sha256=tLpQYrh-orXJ2PzBjapY7uOraZmIlaZF-x1BdlGWZlw,48966
15
15
  not1mm/data/contests.sql,sha256=4hmJCDvrbxnA_Y5S4T5o52TZieeFk6QUwFerwlFePNA,89307
16
- not1mm/data/cty.json,sha256=0l3wUE5vsc9yknd59ffRLFtAPcnXNl2IaKAmQojGBGI,4667346
16
+ not1mm/data/cty.json,sha256=Xrpdby3dsMwbDMmQkdu5TpajFQPENI8a99Od9mIzmro,4721905
17
17
  not1mm/data/cwmacros.txt,sha256=PvJ7TxGILq-ErHb6Gbrm-08x76BbCdXb8AY8a7st5mg,451
18
18
  not1mm/data/donors.html,sha256=8hNzO3Q5a6p-_3egT1hfOjimPf810tKMUM5ukLzUsGM,116
19
19
  not1mm/data/editcontact.ui,sha256=ax-pm4TeECpHl3LSb5z4L403WjPWXZ9KV2it_6gIjqk,27404
@@ -24,11 +24,14 @@ not1mm/data/k6gte.not1mm-128.png,sha256=vWqt3Cgsaguj-BBiIoSJApzzhisPxldM8HZQbZ05
24
24
  not1mm/data/k6gte.not1mm-32.png,sha256=yucSwzlmqv3NegdWUvPvZzSgP7G22Ky3se8TWRXvzfI,1108
25
25
  not1mm/data/k6gte.not1mm-64.png,sha256=1KQvk0WBckUds79BvIFUt-KdTwQKKvTz6hiJu8MiT68,2152
26
26
  not1mm/data/logwindow.ui,sha256=_-wobHhIjALzCswyXIrqNadnLdc88eay1GNF23a-Qh0,970
27
- not1mm/data/main.ui,sha256=DrWOKMS5DR6l5CDKQol0lqYuCmVfCfVmC6tXGHgRd5g,47716
27
+ not1mm/data/main.ui,sha256=D6ZKfgdNRymiGnvKBNUult5dpHTF9g_UJ7SuQ9sWr0M,48031
28
28
  not1mm/data/new_contest.ui,sha256=Mn0kmlZP8h6wCc2jKAeONdl_ci7MWp3df4F4M7xg_uw,20949
29
29
  not1mm/data/not1mm.html,sha256=YfPiT9SrSZfsxShbiLTtdCa3rSY6M2haZ2eKV8kmU3c,25793
30
30
  not1mm/data/opon.ui,sha256=mC4OhoVIfR1H9IqHAKXliPMm8VOVmxSEadpsFQ7XnS4,2247
31
31
  not1mm/data/pickcontest.ui,sha256=_9JFiJw4l-bRRgNDtVg1DpxreylYd_UqEq0wfcr9gJc,1600
32
+ not1mm/data/radio_green.png,sha256=PXlvRI2x0C8yLVkxRwrZe6tex8k9GtM-1Cj2Vy6KP7o,1234
33
+ not1mm/data/radio_grey.png,sha256=9eOtMHDpQvRYY29D7_vPeacWbwotRXZTMm8EiHE9TW0,1258
34
+ not1mm/data/radio_red.png,sha256=QvkMk7thd_hCEIyK5xGAG4xVVXivl39nwOfD8USDI20,957
32
35
  not1mm/data/reddot.png,sha256=M33jEMoU8W4rQ4_MVyzzKxDPDte1ypKBch5VnUMNLKE,565
33
36
  not1mm/data/settings.ui,sha256=7r4aZwxKUHQGm8NLQGLINurGMvT_5VMU9p2dznW25bA,40028
34
37
  not1mm/data/ssbmacros.txt,sha256=0Qccj4y0nlK-w5da9a9ti-jILkURtwztoDuL_D0pEJM,470
@@ -83,7 +86,7 @@ not1mm/data/phonetics/yourcall.wav,sha256=4kheHJmCiRDL2kjhlgXQ8_u_eEMgKxiNGu5UBk
83
86
  not1mm/data/phonetics/z.wav,sha256=arafCi7fwmBLdVDI-PRyaL4U-03PIQDhffwY5noJ_2c,51768
84
87
  not1mm/lib/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
85
88
  not1mm/lib/about.py,sha256=O9i8ypv2W9KZkPAp2bcRI0J5RgPE5R1vMfU8ZGlok_E,379
86
- not1mm/lib/cat_interface.py,sha256=5TLfu4rt9xUQiWHtmsmeAsUuckybONLbpJNf03hIwYw,15866
89
+ not1mm/lib/cat_interface.py,sha256=Nt09L53rv1kfaOxEY8bVERo1k_948Cdts7cEo0aXvHk,15122
87
90
  not1mm/lib/cwinterface.py,sha256=fZ5BXVyF7by0yGTJVznUTjRCxRt3lJaUIsNC-_mCGP4,3123
88
91
  not1mm/lib/database.py,sha256=_sHaJgLgK5l9XZ6i8Bl9eVVTqyYSbS1WH4TY95pYjhk,40681
89
92
  not1mm/lib/edit_contact.py,sha256=YwuX-BuIa7AuPtLRENs4jTzxOrtk6MCxZj3BR_bDPW8,357
@@ -98,7 +101,7 @@ not1mm/lib/new_contest.py,sha256=mHKNCS3iKOKN-bT9d8ZK3JemThOZFQ0ikfUSS0-ZTpY,354
98
101
  not1mm/lib/select_contest.py,sha256=XQdRUkPAIHIMVsilm82M54b_v9yWpYrZ1nfInJrtZoo,363
99
102
  not1mm/lib/settings.py,sha256=tkCWgJ3CpNkGR_IyCTOCIlO6PEPZCShHO9FL-9Wono8,6885
100
103
  not1mm/lib/super_check_partial.py,sha256=GlXgtIblL602iW-V6Mmdf5S4FxtzJ95TbPMMa9xXUfg,1692
101
- not1mm/lib/version.py,sha256=PqrM2xPpRlPBVuk22Y5efQHcur0mXSBVv5z1Fam5j-k,48
104
+ not1mm/lib/version.py,sha256=BrohefTW69F4_a78vdl2EjyfJv1wOQpTOOKNSkyRtQ0,48
102
105
  not1mm/lib/versiontest.py,sha256=8vDNptuBBunn-1IGkjNaquehqBYUJyjrPSF8Igmd4_Y,1286
103
106
  not1mm/plugins/10_10_fall_cw.py,sha256=VonusY7yTn_KpHTgN1QiOPKXZTiRCqQn3b4VkhUhRqg,14145
104
107
  not1mm/plugins/10_10_spring_cw.py,sha256=qi9LvzatghR3xszoPAx9BW1n-6xdR5CLW93HipMOQSo,14150
@@ -129,11 +132,11 @@ not1mm/testing/flrigclient.py,sha256=24r_0HqpoTjyJ6Bqg_HIC8Nn9wjtnwwWQ26I7UprwgA
129
132
  not1mm/testing/multicast_listener.py,sha256=2CkiyZ4EQxBX68_1QzGIX9g_UB9-CQq63OH-pUY3FiU,1051
130
133
  not1mm/testing/n1mm_listener.py,sha256=UD-qyKEnppQua330WEFKMvMJaNjnYKi7dDuX_RGB5lQ,1099
131
134
  not1mm/testing/test.py,sha256=wGblvMlyOCVkEiHbxE6wvLsorim15ehL72_EZLQeWkk,1660
132
- testing/test.py,sha256=icT6vZPbJaZWJbEZ09nSbPmTFeiaL7LbXqM_sjhDisI,471
135
+ testing/test.py,sha256=TLfLbjDi5SqZVU9zHBQSqw6Szy1IBJUFhJfymU5h9Lg,127
133
136
  usb_vfo_knob/code.py,sha256=h59iPPlcYbkXmRcYPQHDBP0yfLEl7fY3VkiIszdQeyI,1057
134
- not1mm-23.9.3.1.dist-info/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
135
- not1mm-23.9.3.1.dist-info/METADATA,sha256=LmByIyoloVI--Aqrzw5kamn2pFORGqunPM04CiT3GwQ,24636
136
- not1mm-23.9.3.1.dist-info/WHEEL,sha256=yQN5g4mg4AybRjkgi-9yy4iQEFibGQmlz78Pik5Or-A,92
137
- not1mm-23.9.3.1.dist-info/entry_points.txt,sha256=pMcZk_0dxFgLkcUkF0Q874ojpwOmF3OL6EKw9LgvocM,47
138
- not1mm-23.9.3.1.dist-info/top_level.txt,sha256=PBUZJeDgW5ta7ghk__UYh_ygOFIhe9ymJDaxEuVumFU,28
139
- not1mm-23.9.3.1.dist-info/RECORD,,
137
+ not1mm-23.10.31.dist-info/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
138
+ not1mm-23.10.31.dist-info/METADATA,sha256=nGWLhtErf8jv7huuDjICJm24GcQyrUcRinZ1aIsxkzw,25310
139
+ not1mm-23.10.31.dist-info/WHEEL,sha256=Xo9-1PvkuimrydujYJAjF7pCkriuXBpUPEjma1nZyJ0,92
140
+ not1mm-23.10.31.dist-info/entry_points.txt,sha256=pMcZk_0dxFgLkcUkF0Q874ojpwOmF3OL6EKw9LgvocM,47
141
+ not1mm-23.10.31.dist-info/top_level.txt,sha256=PBUZJeDgW5ta7ghk__UYh_ygOFIhe9ymJDaxEuVumFU,28
142
+ not1mm-23.10.31.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: bdist_wheel (0.41.2)
2
+ Generator: bdist_wheel (0.41.3)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5
 
testing/test.py CHANGED
@@ -1,22 +1,7 @@
1
1
  """doc"""
2
- print("Hello")
3
2
 
4
- worked_list = [
5
- {"Call": "K5TUX", "Band": 14.0},
6
- {"Call": "K5TUX", "Band": 21.0},
7
- {"Call": "N2CQR", "Band": 14.0},
8
- {"Call": "NE4RD", "Band": 14.0},
9
- ]
3
+ import psutil
10
4
 
11
- temp = {}
12
-
13
- for worked_dict in worked_list:
14
- call = worked_dict.get("Call")
15
- if call in temp:
16
- bandlist = temp[call]
17
- bandlist.append(worked_dict["Band"])
18
- temp[call] = bandlist
19
- continue
20
- temp[call] = [worked_dict["Band"]]
21
-
22
- print(f"{temp}")
5
+ for proc in psutil.process_iter():
6
+ if len(proc.cmdline()) == 2:
7
+ print(proc.cmdline()[1])