atomicshop 2.13.0__py3-none-any.whl → 2.13.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.

Potentially problematic release.


This version of atomicshop might be problematic. Click here for more details.

atomicshop/__init__.py CHANGED
@@ -1,4 +1,4 @@
1
1
  """Atomic Basic functions and classes to make developer life easier"""
2
2
 
3
3
  __author__ = "Den Kras"
4
- __version__ = '2.13.00'
4
+ __version__ = '2.13.1'
@@ -92,9 +92,10 @@ def start_as_service(
92
92
  if use_config_in_same_directory:
93
93
  config_file_path = SYSMON_CONFIG_FILE_PATH
94
94
 
95
- # Check if the file exists
96
- if not os.path.exists(config_file_path):
97
- raise ConfigFileNotFoundError(f"Configuration file '{config_file_path}' not found.")
95
+ if config_file_path:
96
+ # Check if the file exists
97
+ if not os.path.exists(config_file_path):
98
+ raise ConfigFileNotFoundError(f"Configuration file '{config_file_path}' not found.")
98
99
 
99
100
  if not installation_path:
100
101
  installation_path = DEFAULT_INSTALLATION_PATH
@@ -109,7 +110,10 @@ def start_as_service(
109
110
  raise SymonExecutableNotFoundError(f"Sysmon executable '{sysmon_file_path}' not found.")
110
111
 
111
112
  # Start Sysmon as a service.
112
- subprocess.run([sysmon_file_path, '-accepteula', '-i', config_file_path])
113
+ if config_file_path:
114
+ subprocess.run([sysmon_file_path, '-accepteula', '-i', config_file_path])
115
+ else:
116
+ subprocess.run([sysmon_file_path, '-accepteula', '-i'])
113
117
 
114
118
 
115
119
  def stop_service(installation_path: str = None):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: atomicshop
3
- Version: 2.13.0
3
+ Version: 2.13.1
4
4
  Summary: Atomic functions and classes to make developer life easier
5
5
  Author: Denis Kras
6
6
  License: MIT License
@@ -1,4 +1,4 @@
1
- atomicshop/__init__.py,sha256=WBaPNPGU9skcNgQ8LWfW7jNFP6EyisSDfqWEliqkbZg,124
1
+ atomicshop/__init__.py,sha256=aqwPLStJUJ8YnGq3I420Yccvy8q9JIXVsivcavrcOtM,123
2
2
  atomicshop/_basics_temp.py,sha256=6cu2dd6r2dLrd1BRNcVDKTHlsHs_26Gpw8QS6v32lQ0,3699
3
3
  atomicshop/_create_pdf_demo.py,sha256=Yi-PGZuMg0RKvQmLqVeLIZYadqEZwUm-4A9JxBl_vYA,3713
4
4
  atomicshop/_patch_import.py,sha256=ENp55sKVJ0e6-4lBvZnpz9PQCt3Otbur7F6aXDlyje4,6334
@@ -167,7 +167,7 @@ atomicshop/wrappers/pipw.py,sha256=mu4jnHkSaYNfpBiLZKMZxEX_E2LqW5BVthMZkblPB_c,1
167
167
  atomicshop/wrappers/process_wrapper_pbtk.py,sha256=ycPmBRnv627RWks6N8OhxJQe8Gu3h3Vwj-4HswPOw0k,599
168
168
  atomicshop/wrappers/pycharmw.py,sha256=OHcaVlyhIqhgRioPhkeS5krDZ_NezZjpBCvyRiLjWwI,2723
169
169
  atomicshop/wrappers/pyopensslw.py,sha256=OBWxA6EJ2vU_Qlf4M8m6ilcG3hyYB4yB0EsXUf7NhEU,6804
170
- atomicshop/wrappers/sysmonw.py,sha256=5D_tl6Y0j9bHSDaoUsipe6ZZYxnXjRnOLis8e5FZ2cI,5215
170
+ atomicshop/wrappers/sysmonw.py,sha256=impveU8MhbD2oizBoGLuj00wuyB8l_EiRRGIESdFESs,5359
171
171
  atomicshop/wrappers/ubuntu_terminal.py,sha256=BBZD3EH6KSDORd5IZBZM-ti4U6Qh1sZwftx42s7hqB4,10917
172
172
  atomicshop/wrappers/wslw.py,sha256=AKphiHLSddL7ErevUowr3f9Y1AgGz_R3KZ3NssW07h8,6959
173
173
  atomicshop/wrappers/certauthw/certauth.py,sha256=hKedW0DOWlEigSNm8wu4SqHkCQsGJ1tJfH7s4nr3Bk0,12223
@@ -265,8 +265,8 @@ atomicshop/wrappers/socketw/socket_server_tester.py,sha256=AhpurHJmP2kgzHaUbq5ey
265
265
  atomicshop/wrappers/socketw/socket_wrapper.py,sha256=aXBwlEIJhFT0-c4i8iNlFx2It9VpCEpsv--5Oqcpxao,11624
266
266
  atomicshop/wrappers/socketw/ssl_base.py,sha256=k4V3gwkbq10MvOH4btU4onLX2GNOsSfUAdcHmL1rpVE,2274
267
267
  atomicshop/wrappers/socketw/statistics_csv.py,sha256=t3dtDEfN47CfYVi0CW6Kc2QHTEeZVyYhc57IYYh5nmA,826
268
- atomicshop-2.13.0.dist-info/LICENSE.txt,sha256=lLU7EYycfYcK2NR_1gfnhnRC8b8ccOTElACYplgZN88,1094
269
- atomicshop-2.13.0.dist-info/METADATA,sha256=m6jCKh9vX3yFeWZn_wgOmq5M-FK2Czr6eypskj7TVHo,10478
270
- atomicshop-2.13.0.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
271
- atomicshop-2.13.0.dist-info/top_level.txt,sha256=EgKJB-7xcrAPeqTRF2laD_Np2gNGYkJkd4OyXqpJphA,11
272
- atomicshop-2.13.0.dist-info/RECORD,,
268
+ atomicshop-2.13.1.dist-info/LICENSE.txt,sha256=lLU7EYycfYcK2NR_1gfnhnRC8b8ccOTElACYplgZN88,1094
269
+ atomicshop-2.13.1.dist-info/METADATA,sha256=yOVvRROyXl4BM9Qr9EzI5BTZgvEo0OG3-uCo9Ryni2Y,10478
270
+ atomicshop-2.13.1.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
271
+ atomicshop-2.13.1.dist-info/top_level.txt,sha256=EgKJB-7xcrAPeqTRF2laD_Np2gNGYkJkd4OyXqpJphA,11
272
+ atomicshop-2.13.1.dist-info/RECORD,,