atomicshop 2.11.31__py3-none-any.whl → 2.11.32__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 +1 -1
- atomicshop/wrappers/dockerw/install_docker.py +6 -0
- atomicshop/wrappers/factw/fact_extractor/docker_image.py +2 -2
- {atomicshop-2.11.31.dist-info → atomicshop-2.11.32.dist-info}/METADATA +1 -1
- {atomicshop-2.11.31.dist-info → atomicshop-2.11.32.dist-info}/RECORD +8 -8
- {atomicshop-2.11.31.dist-info → atomicshop-2.11.32.dist-info}/LICENSE.txt +0 -0
- {atomicshop-2.11.31.dist-info → atomicshop-2.11.32.dist-info}/WHEEL +0 -0
- {atomicshop-2.11.31.dist-info → atomicshop-2.11.32.dist-info}/top_level.txt +0 -0
atomicshop/__init__.py
CHANGED
|
@@ -173,6 +173,12 @@ def install_docker_ubuntu(
|
|
|
173
173
|
with permissions.temporary_regular_permissions():
|
|
174
174
|
ubuntu_terminal.add_path_to_bashrc(as_regular_user=True)
|
|
175
175
|
|
|
176
|
+
# Add appropriate permissions to the docker socket, so the user can run docker commands without sudo in python.
|
|
177
|
+
# process.execute_script('export DOCKER_HOST=unix://$XDG_RUNTIME_DIR/docker.sock', shell=True)
|
|
178
|
+
process.execute_script('export DOCKER_HOST=unix:///run/user/1000/docker.sock', shell=True)
|
|
179
|
+
# Restart shell.
|
|
180
|
+
process.execute_script('source ~/.bashrc', shell=True)
|
|
181
|
+
|
|
176
182
|
if add_current_user_to_docker_group_bool:
|
|
177
183
|
# Check if current user that executed the script is a sudo user. If not, use the current user.
|
|
178
184
|
# Add the current user to the docker group.
|
|
@@ -66,10 +66,10 @@ def create_docker_image_ubuntu(directory_path: str):
|
|
|
66
66
|
cd fact_extractor
|
|
67
67
|
|
|
68
68
|
# Start docker service.
|
|
69
|
-
sudo service docker start
|
|
69
|
+
# sudo service docker start
|
|
70
70
|
|
|
71
71
|
# Build the Docker image
|
|
72
|
-
|
|
72
|
+
docker build -t fact_extractor .
|
|
73
73
|
"""
|
|
74
74
|
|
|
75
75
|
# Execute the script.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
atomicshop/__init__.py,sha256=
|
|
1
|
+
atomicshop/__init__.py,sha256=KVdm-OdRa3eg-hrRk4P9g-vvJdV28OXyYH4UeADQ3L4,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
|
|
@@ -165,7 +165,7 @@ atomicshop/wrappers/ctyping/msi_windows_installer/extract_msi_main.py,sha256=eyF
|
|
|
165
165
|
atomicshop/wrappers/ctyping/msi_windows_installer/tables.py,sha256=ajiFiLXl1prg2kOhatfT8E2RKX7F8JjUJpwkVuKu1GY,16263
|
|
166
166
|
atomicshop/wrappers/dockerw/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
167
167
|
atomicshop/wrappers/dockerw/dockerw.py,sha256=w8zSJr5C7cbvbuG09ORCpAe0BOcibqqL_Z2EKEBHYK4,6266
|
|
168
|
-
atomicshop/wrappers/dockerw/install_docker.py,sha256=
|
|
168
|
+
atomicshop/wrappers/dockerw/install_docker.py,sha256=ez4xffAszl_TTNprVCylLO9SnNp5c3JZg9ulZO7CrcE,9326
|
|
169
169
|
atomicshop/wrappers/elasticsearchw/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
170
170
|
atomicshop/wrappers/elasticsearchw/config_basic.py,sha256=fDujtrjEjbWiYh_WQ3OcYp_8mXhXPYeKLy4wSPL5qM0,1177
|
|
171
171
|
atomicshop/wrappers/elasticsearchw/elasticsearchw.py,sha256=7TqFdEFznO8NlligJhEKk1vm641ALpCYdaRl1uoXdzM,9768
|
|
@@ -184,7 +184,7 @@ atomicshop/wrappers/factw/config_fact.py,sha256=J-K9Zn50WcDC7ubb-boraSZExfBk7a6M
|
|
|
184
184
|
atomicshop/wrappers/factw/config_install.py,sha256=N-6Fg4Z_aG33r0WGlYgBQTFnamJceYyW4XjnGyyNAks,555
|
|
185
185
|
atomicshop/wrappers/factw/get_file_data.py,sha256=ChKC0OjgjFlNubZQBwcGhRO3L2pccc27RLRlAMIUix4,1641
|
|
186
186
|
atomicshop/wrappers/factw/fact_extractor/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
187
|
-
atomicshop/wrappers/factw/fact_extractor/docker_image.py,sha256=
|
|
187
|
+
atomicshop/wrappers/factw/fact_extractor/docker_image.py,sha256=2FyYjnw8gxFNwISQ83OwH-iGivkFi6EAluyCZ0loHEQ,2501
|
|
188
188
|
atomicshop/wrappers/factw/fact_extractor/get_extractor.py,sha256=2mfOAftHIlCcGt1s7MWdq7DsDCuI6wX3MtvcEZ4SK-0,756
|
|
189
189
|
atomicshop/wrappers/factw/install/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
190
190
|
atomicshop/wrappers/factw/install/install_after_restart.py,sha256=-VXC3KDX2BzF0oi0ELCmfch55vLk-3t16KxlmYyUGD8,1560
|
|
@@ -243,8 +243,8 @@ atomicshop/wrappers/socketw/socket_server_tester.py,sha256=AhpurHJmP2kgzHaUbq5ey
|
|
|
243
243
|
atomicshop/wrappers/socketw/socket_wrapper.py,sha256=aXBwlEIJhFT0-c4i8iNlFx2It9VpCEpsv--5Oqcpxao,11624
|
|
244
244
|
atomicshop/wrappers/socketw/ssl_base.py,sha256=k4V3gwkbq10MvOH4btU4onLX2GNOsSfUAdcHmL1rpVE,2274
|
|
245
245
|
atomicshop/wrappers/socketw/statistics_csv.py,sha256=t3dtDEfN47CfYVi0CW6Kc2QHTEeZVyYhc57IYYh5nmA,826
|
|
246
|
-
atomicshop-2.11.
|
|
247
|
-
atomicshop-2.11.
|
|
248
|
-
atomicshop-2.11.
|
|
249
|
-
atomicshop-2.11.
|
|
250
|
-
atomicshop-2.11.
|
|
246
|
+
atomicshop-2.11.32.dist-info/LICENSE.txt,sha256=lLU7EYycfYcK2NR_1gfnhnRC8b8ccOTElACYplgZN88,1094
|
|
247
|
+
atomicshop-2.11.32.dist-info/METADATA,sha256=L9sbxCDrgqVwqyqqqleGWkNdCM8IyWZMOzVzKBgAujE,10448
|
|
248
|
+
atomicshop-2.11.32.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
|
249
|
+
atomicshop-2.11.32.dist-info/top_level.txt,sha256=EgKJB-7xcrAPeqTRF2laD_Np2gNGYkJkd4OyXqpJphA,11
|
|
250
|
+
atomicshop-2.11.32.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|