atomicshop 2.11.38__py3-none-any.whl → 2.11.39__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.38'
4
+ __version__ = '2.11.39'
@@ -0,0 +1,10 @@
1
+ #! /usr/bin/env python3
2
+ from atomicshop.wrappers.elasticsearchw import install_elastic
3
+
4
+
5
+ def main():
6
+ install_elastic.install_elastic_kibana_ubuntu(install_elastic=True, install_kibana=True)
7
+
8
+
9
+ if __name__ == '__main__':
10
+ main()
@@ -88,7 +88,8 @@ def is_elastic_config_file_exists(
88
88
  if not config_file_path:
89
89
  config_file_path = config_basic.ELASTIC_CONFIG_FILE
90
90
 
91
- if not ubuntu_terminal.is_sudo_file_exists(config_file_path):
91
+ # if not ubuntu_terminal.is_sudo_file_exists(config_file_path):
92
+ if not filesystem.check_file_existence(config_file_path):
92
93
  if output_message:
93
94
  message = f"Configuration file does not exist at {config_file_path}."
94
95
  print_api(message, color='red', error_type=True)
@@ -196,9 +196,9 @@ def install_elastic_kibana_ubuntu(install_elastic: bool = True, install_kibana:
196
196
  # Install Elasticsearch.
197
197
  ubuntu_terminal.install_packages([config_basic.UBUNTU_ELASTIC_PACKAGE_NAME])
198
198
 
199
- # if not permissions.is_admin():
200
- # print_api("This script requires root privileges...", color='red')
201
- # sys.exit(1)
199
+ if not permissions.is_admin():
200
+ print_api("This script requires root privileges...", color='red')
201
+ sys.exit(1)
202
202
 
203
203
  # Check if the configuration file exists.
204
204
  infrastructure.is_elastic_config_file_exists(exit_on_error=True, output_message=True)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: atomicshop
3
- Version: 2.11.38
3
+ Version: 2.11.39
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=OHj6Zd1NXsJ_JC-owajZhCYj2h7zy6kQGaqHB_-v_TI,124
1
+ atomicshop/__init__.py,sha256=mfCEt9n_ZZ4wDpzMfn6LA520wsNaRoE_LoYzvrbpxkI,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
@@ -51,6 +51,7 @@ atomicshop/addons/a_setup_scripts/install_psycopg2_ubuntu.sh,sha256=lM7LkXQ2AxfF
51
51
  atomicshop/addons/a_setup_scripts/install_pywintrace_0.3.cmd,sha256=lEP_o6rWcBFUyup6_c-LTL3Q2LRMqryLuG3mJw080Zc,115
52
52
  atomicshop/addons/mains/install_docker_rootless_ubuntu.py,sha256=9IPNtGZYjfy1_n6ZRt7gWz9KZgR6XCgevjqq02xk-o0,281
53
53
  atomicshop/addons/mains/install_docker_ubuntu_main_sudo.py,sha256=JzayxeyKDtiuT4Icp2L2LyFRbx4wvpyN_bHLfZ-yX5E,281
54
+ atomicshop/addons/mains/install_elastic_search_and_kibana_ubuntu.py,sha256=yRB-l1zBxdiN6av-FwNkhcBlaeu4zrDPjQ0uPGgpK2I,244
54
55
  atomicshop/addons/mains/install_wsl_ubuntu_lts_admin.py,sha256=PrvZ4hMuadzj2GYKRZSwyNayJUuaSnCF9nV6ORqoPdo,123
55
56
  atomicshop/addons/mains/msi_unpacker.py,sha256=XAJdEqs-3s9JqIgHpGRL-HxLKpFMXdrlXmq2Is2Pyfk,164
56
57
  atomicshop/addons/mains/search_for_hyperlinks_in_docx.py,sha256=HkIdo_Sz9nPbbbJf1mwfwFkyI7vkvpH8qiIkuYopN4w,529
@@ -169,8 +170,8 @@ atomicshop/wrappers/dockerw/install_docker.py,sha256=IKHInhSb9iO-g9zOYRrE4EX4eA2
169
170
  atomicshop/wrappers/elasticsearchw/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
170
171
  atomicshop/wrappers/elasticsearchw/config_basic.py,sha256=fDujtrjEjbWiYh_WQ3OcYp_8mXhXPYeKLy4wSPL5qM0,1177
171
172
  atomicshop/wrappers/elasticsearchw/elasticsearchw.py,sha256=7TqFdEFznO8NlligJhEKk1vm641ALpCYdaRl1uoXdzM,9768
172
- atomicshop/wrappers/elasticsearchw/infrastructure.py,sha256=iH3X0AFpuyjaxmMvppZeSJfFyIgoC3zM1z5Rjxevkk4,10309
173
- atomicshop/wrappers/elasticsearchw/install_elastic.py,sha256=3TNEEFkAOcxvJYXUfKGeYjprxUu1Fl-i54dz8J3q31U,8626
173
+ atomicshop/wrappers/elasticsearchw/infrastructure.py,sha256=19K4fIDLHcIN-_nQWGk9gGUdzbSfyYGRrFd6lHRDkcM,10374
174
+ atomicshop/wrappers/elasticsearchw/install_elastic.py,sha256=pblQBJ6o4ymp-g1EioBoUA6R1s-ZhA-FAoIcvc9Rpr0,8620
174
175
  atomicshop/wrappers/elasticsearchw/queries/__init__.py,sha256=KBjT-bAt75CJsx1Apko9mpuFU4pfZV8DcGWQvpX65RU,78
175
176
  atomicshop/wrappers/elasticsearchw/queries/aggregation.py,sha256=N9a5yMMnb10sMa_x1qJBFQpgyJ49UWo8_vxuqmUtZ1A,1742
176
177
  atomicshop/wrappers/elasticsearchw/queries/info.py,sha256=P_VhhBo8MvRI4Shi-bh4RsYtlYNRKRBzScXPC64Up_Q,2900
@@ -243,8 +244,8 @@ atomicshop/wrappers/socketw/socket_server_tester.py,sha256=AhpurHJmP2kgzHaUbq5ey
243
244
  atomicshop/wrappers/socketw/socket_wrapper.py,sha256=aXBwlEIJhFT0-c4i8iNlFx2It9VpCEpsv--5Oqcpxao,11624
244
245
  atomicshop/wrappers/socketw/ssl_base.py,sha256=k4V3gwkbq10MvOH4btU4onLX2GNOsSfUAdcHmL1rpVE,2274
245
246
  atomicshop/wrappers/socketw/statistics_csv.py,sha256=t3dtDEfN47CfYVi0CW6Kc2QHTEeZVyYhc57IYYh5nmA,826
246
- atomicshop-2.11.38.dist-info/LICENSE.txt,sha256=lLU7EYycfYcK2NR_1gfnhnRC8b8ccOTElACYplgZN88,1094
247
- atomicshop-2.11.38.dist-info/METADATA,sha256=jxVRLrOPDsCmdTFJHp9jQAgWZK-1ailC6FkRT10EKaA,10448
248
- atomicshop-2.11.38.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
249
- atomicshop-2.11.38.dist-info/top_level.txt,sha256=EgKJB-7xcrAPeqTRF2laD_Np2gNGYkJkd4OyXqpJphA,11
250
- atomicshop-2.11.38.dist-info/RECORD,,
247
+ atomicshop-2.11.39.dist-info/LICENSE.txt,sha256=lLU7EYycfYcK2NR_1gfnhnRC8b8ccOTElACYplgZN88,1094
248
+ atomicshop-2.11.39.dist-info/METADATA,sha256=EDFFCYfHnP59uWkVJYODbOGZryZHiwM0xMJWAL2WN_g,10448
249
+ atomicshop-2.11.39.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
250
+ atomicshop-2.11.39.dist-info/top_level.txt,sha256=EgKJB-7xcrAPeqTRF2laD_Np2gNGYkJkd4OyXqpJphA,11
251
+ atomicshop-2.11.39.dist-info/RECORD,,