atomicshop 2.11.44__py3-none-any.whl → 2.11.46__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.11.44'
4
+ __version__ = '2.11.46'
atomicshop/permissions.py CHANGED
@@ -1,12 +1,12 @@
1
1
  import os
2
- import pwd
3
2
  import stat
4
3
  import ctypes
5
4
  import contextlib
6
5
  import subprocess
7
6
 
8
- from . import process
9
- from .print_api import print_api
7
+ # Import pwd only on linux.
8
+ if os.name == 'posix':
9
+ import pwd
10
10
 
11
11
 
12
12
  def is_admin() -> bool:
@@ -103,12 +103,12 @@ def install_before_restart(
103
103
  requirements_file_path=prerequisites_file_path)
104
104
 
105
105
  # Install docker in rootless mode.
106
- install_docker.install_docker_ubuntu(
107
- use_docker_installer=True, rootless=True, add_current_user_to_docker_group_bool=False)
106
+ # install_docker.install_docker_ubuntu(
107
+ # use_docker_installer=True, rootless=True, add_current_user_to_docker_group_bool=False)
108
108
 
109
109
  # Install docker in regular mode.
110
- # install_docker.install_docker_ubuntu(
111
- # use_docker_installer=True, rootless=False, add_current_user_to_docker_group_bool=True)
110
+ install_docker.install_docker_ubuntu(
111
+ use_docker_installer=True, rootless=False, add_current_user_to_docker_group_bool=True)
112
112
 
113
113
  print_api("FACT_core installation before restart is finished.", color='green')
114
114
  print_api("Please restart the computer to continue the installation.", color='red')
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: atomicshop
3
- Version: 2.11.44
3
+ Version: 2.11.46
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=VsYxxRZnofh73l7eYe3eiGQF5uy7yV5XNmZO4XZM1ls,124
1
+ atomicshop/__init__.py,sha256=bxumtahjd5gofnYy1s9ED-rXiK-IjMdcWAoyOByHwl0,124
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
@@ -22,7 +22,7 @@ atomicshop/inspect_wrapper.py,sha256=sGRVQhrJovNygHTydqJj0hxES-aB2Eg9KbIk3G31apw
22
22
  atomicshop/ip_addresses.py,sha256=Hvi4TumEFoTEpKWaq5WNF-YzcRzt24IxmNgv-Mgax1s,1190
23
23
  atomicshop/keyboard_press.py,sha256=1W5kRtOB75fulVx-uF2yarBhW0_IzdI1k73AnvXstk0,452
24
24
  atomicshop/pbtkmultifile_argparse.py,sha256=aEk8nhvoQVu-xyfZosK3ma17CwIgOjzO1erXXdjwtS4,4574
25
- atomicshop/permissions.py,sha256=tKIluW-p3ThLh1H3QEFgPFRVzw5hafAHk9QJ5OOT_0M,3047
25
+ atomicshop/permissions.py,sha256=441sSs7QBX3cuFIEG8U-RiiDwXE5XL-PESpRbZLKqqw,3047
26
26
  atomicshop/print_api.py,sha256=DhbCQd0MWZZ5GYEk4oTu1opRFC-b31g1VWZgTGewG2Y,11568
27
27
  atomicshop/process.py,sha256=kOLrpUb5T5QN9ZvpGOjXyo7Kivrc14A9gcw9lvNMidI,15670
28
28
  atomicshop/process_name_cmd.py,sha256=TNAK6kQZm5JKWzEW6QLqVHEG98ZLNDQiSS4YwDk8V8c,3830
@@ -189,7 +189,7 @@ atomicshop/wrappers/factw/fact_extractor/docker_image.py,sha256=2FyYjnw8gxFNwISQ
189
189
  atomicshop/wrappers/factw/fact_extractor/get_extractor.py,sha256=2mfOAftHIlCcGt1s7MWdq7DsDCuI6wX3MtvcEZ4SK-0,756
190
190
  atomicshop/wrappers/factw/install/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
191
191
  atomicshop/wrappers/factw/install/install_after_restart.py,sha256=-VXC3KDX2BzF0oi0ELCmfch55vLk-3t16KxlmYyUGD8,1560
192
- atomicshop/wrappers/factw/install/pre_install_and_install_before_restart.py,sha256=zNpJi27Q5BpMOtR0cn1QtbBM9G55TseuvxuEfsg1QR8,5890
192
+ atomicshop/wrappers/factw/install/pre_install_and_install_before_restart.py,sha256=GbLczU3M2U9hHp7sdLf6sKpwCuu-adQUOp_kabaE6BM,5890
193
193
  atomicshop/wrappers/factw/postgresql/__init__.py,sha256=xMBn2d3Exo23IPP2F_9-SXmOlhFbwWDgS9KwozSTjA0,162
194
194
  atomicshop/wrappers/factw/postgresql/analysis.py,sha256=2Rxzy2jyq3zEKIo53z8VkjuslKE_i5mq2ZpmJAvyd6U,716
195
195
  atomicshop/wrappers/factw/postgresql/file_object.py,sha256=VRiCXnsd6yDbnsE-TEKYPC-gkAgFVkE6rygRrJLQShI,713
@@ -244,8 +244,8 @@ atomicshop/wrappers/socketw/socket_server_tester.py,sha256=AhpurHJmP2kgzHaUbq5ey
244
244
  atomicshop/wrappers/socketw/socket_wrapper.py,sha256=aXBwlEIJhFT0-c4i8iNlFx2It9VpCEpsv--5Oqcpxao,11624
245
245
  atomicshop/wrappers/socketw/ssl_base.py,sha256=k4V3gwkbq10MvOH4btU4onLX2GNOsSfUAdcHmL1rpVE,2274
246
246
  atomicshop/wrappers/socketw/statistics_csv.py,sha256=t3dtDEfN47CfYVi0CW6Kc2QHTEeZVyYhc57IYYh5nmA,826
247
- atomicshop-2.11.44.dist-info/LICENSE.txt,sha256=lLU7EYycfYcK2NR_1gfnhnRC8b8ccOTElACYplgZN88,1094
248
- atomicshop-2.11.44.dist-info/METADATA,sha256=ZRSqgHP6C2699yLFiK9sRU53L0sOKhszjz1H2RCM8sY,10448
249
- atomicshop-2.11.44.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
250
- atomicshop-2.11.44.dist-info/top_level.txt,sha256=EgKJB-7xcrAPeqTRF2laD_Np2gNGYkJkd4OyXqpJphA,11
251
- atomicshop-2.11.44.dist-info/RECORD,,
247
+ atomicshop-2.11.46.dist-info/LICENSE.txt,sha256=lLU7EYycfYcK2NR_1gfnhnRC8b8ccOTElACYplgZN88,1094
248
+ atomicshop-2.11.46.dist-info/METADATA,sha256=z9gx8Ogm7E4ZDU2NuTw-xhnx3CPGOPeg3r5uN6PGFDc,10448
249
+ atomicshop-2.11.46.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
250
+ atomicshop-2.11.46.dist-info/top_level.txt,sha256=EgKJB-7xcrAPeqTRF2laD_Np2gNGYkJkd4OyXqpJphA,11
251
+ atomicshop-2.11.46.dist-info/RECORD,,