atomicshop 2.5.1__py3-none-any.whl → 2.5.3__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.5.1'
4
+ __version__ = '2.5.3'
@@ -0,0 +1,3 @@
1
+ sudo apt-get install libpq-dev
2
+ pip install psycopg2-binary
3
+ pip install psycopg2
atomicshop/process.py CHANGED
@@ -1,3 +1,4 @@
1
+ import os
1
2
  import functools
2
3
  from typing import Union
3
4
  import shlex
@@ -6,7 +7,9 @@ import subprocess
6
7
  from .print_api import print_api
7
8
  from .inspect_wrapper import get_target_function_default_args_and_combine_with_current
8
9
  from .basics.strings import match_pattern_against_string
9
- from .process_poller import GetProcessList
10
+
11
+ if os.name == 'nt':
12
+ from .process_poller import GetProcessList
10
13
 
11
14
 
12
15
  def process_execution_decorator(function_name):
@@ -28,7 +28,7 @@ def create_docker_image_ubuntu(directory_path: str):
28
28
 
29
29
  script = f"""
30
30
  docker pull fkiecad/fact_extractor
31
- cd {directory_path}
31
+ cd "{directory_path}"
32
32
  git clone https://github.com/fkie-cad/fact_extractor.git
33
33
  cd fact_extractor
34
34
  sudo service docker start
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: atomicshop
3
- Version: 2.5.1
3
+ Version: 2.5.3
4
4
  Summary: Atomic functions and classes to make developer life easier
5
5
  Author: Denis Kras
6
6
  License: MIT License
@@ -44,8 +44,6 @@ Requires-Dist: playwright
44
44
  Requires-Dist: playwright-stealth
45
45
  Requires-Dist: protobuf
46
46
  Requires-Dist: psutil
47
- Requires-Dist: psycopg2-binary
48
- Requires-Dist: psycopg2
49
47
  Requires-Dist: pyautogui
50
48
  Requires-Dist: pyopenssl
51
49
  Requires-Dist: python-bidi
@@ -148,13 +146,24 @@ To get a local copy up and running follow these simple steps.
148
146
  The latest version on PyPI is 0.2, so you will need to install from GitHub.
149
147
  Alternatively, you can use a cmd file in the addon folder after 'atomicshop' installation:
150
148
  ```sh
151
- "\Lib\site-packages\atomicshop\addons\post_install\install_pywintrace_0.3.cmd"
149
+ "\Lib\site-packages\atomicshop\addons\a_setup_scripts\install_pywintrace_0.3.cmd"
152
150
  ```
153
151
 
154
152
  4. If you get an exception while installing the 'psycopg2' package on ubuntu, install this binary:
155
153
  ```sh
156
154
  sudo apt-get install libpq-dev
157
155
  ```
156
+ Then install the package:
157
+ ```sh
158
+ pip install psycopg2-binary
159
+ pip install psycopg2
160
+ ```
161
+ Alternatively, you can use a cmd file in the addon folder after 'atomicshop' installation:
162
+ ```sh
163
+ "\Lib\site-packages\atomicshop\addons\a_setup_scripts\install_psycopg2_ubuntu.sh"
164
+ ```
165
+ Note: 'psycopg2' package is not in prerequisites because of this issue.
166
+
158
167
 
159
168
 
160
169
  <!-- USAGE EXAMPLES -->
@@ -1,4 +1,4 @@
1
- atomicshop/__init__.py,sha256=PUO-dexSJDS0rUgAg49lPaDlJVtf7J1Qh56m220HC0I,122
1
+ atomicshop/__init__.py,sha256=qMFx7xc4mn_KnE6zMY8xqBrbobcoUlj4UXKpYnWqP8E,122
2
2
  atomicshop/_basics_temp.py,sha256=6cu2dd6r2dLrd1BRNcVDKTHlsHs_26Gpw8QS6v32lQ0,3699
3
3
  atomicshop/appointment_management.py,sha256=N3wVGJgrqJfsj_lqiRfaL3FxMEe57by5Stzanh189mk,7263
4
4
  atomicshop/archiver.py,sha256=E4dgAuh6ARtAWRW6Q0RdnMRMzsE_S1NjMiajHRIVG9s,5537
@@ -23,7 +23,7 @@ atomicshop/keyboard_press.py,sha256=1W5kRtOB75fulVx-uF2yarBhW0_IzdI1k73AnvXstk0,
23
23
  atomicshop/pbtkmultifile_argparse.py,sha256=aEk8nhvoQVu-xyfZosK3ma17CwIgOjzO1erXXdjwtS4,4574
24
24
  atomicshop/permissions.py,sha256=CYTDVOI0jh9ks0ZLnnOuPzppgCszFEc9-92DTkVTYi4,522
25
25
  atomicshop/print_api.py,sha256=3n1CoiXvDcDGg00n5gEmQYInHryIhWbcpNjVobO1Gao,11468
26
- atomicshop/process.py,sha256=sVIREWSkDvQr9Qqh-Ga7Bb2J0vf6Bq_1V1Y16Qz3nDg,10318
26
+ atomicshop/process.py,sha256=8QuLWlkYzqVAw4KBjnxRXwaa_uScFfmUa7JZfxI_Ug0,10356
27
27
  atomicshop/process_name_cmd.py,sha256=TNAK6kQZm5JKWzEW6QLqVHEG98ZLNDQiSS4YwDk8V8c,3830
28
28
  atomicshop/process_poller.py,sha256=t79SwTX_4scH2WIH_ziw27aodG1ibhEFWbsVsmTyOVA,10846
29
29
  atomicshop/python_functions.py,sha256=onZ272J1IiSQToqdzEvvWAFHe0EAJnNkAVv0mYkeNNw,4464
@@ -41,10 +41,11 @@ atomicshop/urls.py,sha256=CQl1j1kjEVDlAuYJqYD9XxPF1SUSgrmG8PjlcXNEKsQ,597
41
41
  atomicshop/web.py,sha256=9cxzGhk16PU0daHi-mxSNH4r7LATDh527oN7fZ1dSMk,11003
42
42
  atomicshop/addons/PlayWrightCodegen.cmd,sha256=Z5cnllsyXD4F1W2h-WLEnyFkg5nZy0-hTGHRWXVOuW4,173
43
43
  atomicshop/addons/ScriptExecution.cmd,sha256=8iC-uHs9MX9qUD_C2M7n9Xw4MZvwOfxT8H5v3hluVps,93
44
+ atomicshop/addons/a_setup_scripts/install_psycopg2_ubuntu.sh,sha256=lM7LkXQ2AxfFzDGyzSOfIS_zpg9bAD1k3JJ-qu5CdH8,81
45
+ atomicshop/addons/a_setup_scripts/install_pywintrace_0.3.cmd,sha256=lEP_o6rWcBFUyup6_c-LTL3Q2LRMqryLuG3mJw080Zc,115
44
46
  atomicshop/addons/package_setup/CreateWheel.cmd,sha256=hq9aWBSH6iffYlZyaCNrFlA0vxMh3j1k8DQE8IARQuA,189
45
47
  atomicshop/addons/package_setup/Setup in Edit mode.cmd,sha256=299RsExjR8Mup6YyC6rW0qF8lnwa3uIzwk_gYg_R_Ss,176
46
48
  atomicshop/addons/package_setup/Setup.cmd,sha256=IMm0PfdARH7CG7h9mbWwmWD9X47l7tddwQ2U4MUxy3A,213
47
- atomicshop/addons/post_setup/install_pywintrace_0.3.cmd,sha256=lEP_o6rWcBFUyup6_c-LTL3Q2LRMqryLuG3mJw080Zc,115
48
49
  atomicshop/addons/process_list/ReadMe.txt,sha256=7H-pX7TEkn6-nYSvYc00U6B1JZvBpQvhuVBxCH8IDuc,1895
49
50
  atomicshop/addons/process_list/compile.cmd,sha256=oCXoYNx2RGmI4BfspYhYq9K6fM7D97jQ3WMu4XsNe1Y,281
50
51
  atomicshop/addons/process_list/process_list.cpp,sha256=e7olpLfLVg9vQnjEr5L2Y8aWGPGpkH39vmz51CaGFcc,5467
@@ -132,7 +133,7 @@ atomicshop/wrappers/factw/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJW
132
133
  atomicshop/wrappers/factw/fact_config.py,sha256=J-K9Zn50WcDC7ubb-boraSZExfBk7a6M52NhRJVlsjk,895
133
134
  atomicshop/wrappers/factw/get_file_data.py,sha256=ChKC0OjgjFlNubZQBwcGhRO3L2pccc27RLRlAMIUix4,1641
134
135
  atomicshop/wrappers/factw/fact_extractor/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
135
- atomicshop/wrappers/factw/fact_extractor/docker_image.py,sha256=vpWQvYmv5Q3lrzXWr1hVzrYmtYSTBAzjv65MqdN6q2k,1128
136
+ atomicshop/wrappers/factw/fact_extractor/docker_image.py,sha256=DDWyu5U2mekAvp8_n2J720Q5rwH_5t6FrWskiqiAAq4,1130
136
137
  atomicshop/wrappers/factw/fact_extractor/docker_image_main.py,sha256=DDKX3Wp2SmzMCEtCIEOUbEKMob2ZQ7VEQGLEf9uYXrs,320
137
138
  atomicshop/wrappers/factw/postgresql/__init__.py,sha256=xMBn2d3Exo23IPP2F_9-SXmOlhFbwWDgS9KwozSTjA0,162
138
139
  atomicshop/wrappers/factw/postgresql/analysis.py,sha256=2Rxzy2jyq3zEKIo53z8VkjuslKE_i5mq2ZpmJAvyd6U,716
@@ -182,8 +183,8 @@ atomicshop/wrappers/socketw/socket_server_tester.py,sha256=VfNthyBvgI5tL9v3Qprh4
182
183
  atomicshop/wrappers/socketw/socket_wrapper.py,sha256=aXBwlEIJhFT0-c4i8iNlFx2It9VpCEpsv--5Oqcpxao,11624
183
184
  atomicshop/wrappers/socketw/ssl_base.py,sha256=k4V3gwkbq10MvOH4btU4onLX2GNOsSfUAdcHmL1rpVE,2274
184
185
  atomicshop/wrappers/socketw/statistics_csv.py,sha256=t3dtDEfN47CfYVi0CW6Kc2QHTEeZVyYhc57IYYh5nmA,826
185
- atomicshop-2.5.1.dist-info/LICENSE.txt,sha256=lLU7EYycfYcK2NR_1gfnhnRC8b8ccOTElACYplgZN88,1094
186
- atomicshop-2.5.1.dist-info/METADATA,sha256=sSYTyR2rOE9NOCA20vaapT6jAiUZpkLfKPDTrlsS4_U,9828
187
- atomicshop-2.5.1.dist-info/WHEEL,sha256=Xo9-1PvkuimrydujYJAjF7pCkriuXBpUPEjma1nZyJ0,92
188
- atomicshop-2.5.1.dist-info/top_level.txt,sha256=EgKJB-7xcrAPeqTRF2laD_Np2gNGYkJkd4OyXqpJphA,11
189
- atomicshop-2.5.1.dist-info/RECORD,,
186
+ atomicshop-2.5.3.dist-info/LICENSE.txt,sha256=lLU7EYycfYcK2NR_1gfnhnRC8b8ccOTElACYplgZN88,1094
187
+ atomicshop-2.5.3.dist-info/METADATA,sha256=SQer0QOLth-p3T7JBoLifsYZ3BTXFaKcOmQ9QI0QqSI,10167
188
+ atomicshop-2.5.3.dist-info/WHEEL,sha256=Xo9-1PvkuimrydujYJAjF7pCkriuXBpUPEjma1nZyJ0,92
189
+ atomicshop-2.5.3.dist-info/top_level.txt,sha256=EgKJB-7xcrAPeqTRF2laD_Np2gNGYkJkd4OyXqpJphA,11
190
+ atomicshop-2.5.3.dist-info/RECORD,,