atomicshop 2.6.3__py3-none-any.whl → 2.6.4__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.6.3'
4
+ __version__ = '2.6.4'
atomicshop/filesystem.py CHANGED
@@ -59,6 +59,28 @@ FILE_NAME_REPLACEMENT_DICT: dict = {
59
59
  }
60
60
 
61
61
 
62
+ def get_linux_home() -> str:
63
+ """
64
+ The function will return the home directory of the user on Linux.
65
+
66
+ :return: string, home directory of the user on Linux.
67
+ """
68
+
69
+ return os.path.expanduser('~')
70
+
71
+
72
+ def create_empty_file(file_path: str) -> None:
73
+ """
74
+ The function creates an empty file.
75
+
76
+ :param file_path: string, full path to file.
77
+ :return: None.
78
+ """
79
+
80
+ # Create empty file.
81
+ Path(file_path).touch()
82
+
83
+
62
84
  def get_working_directory() -> str:
63
85
  """
64
86
  The function returns working directory of called script file.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: atomicshop
3
- Version: 2.6.3
3
+ Version: 2.6.4
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=qxvbOG2OeXWYh61v7zRUime0825r0yqDDCmPtJhFLkw,122
1
+ atomicshop/__init__.py,sha256=rgcFnkoZb5QOXNED5nID13Ev6vETh2KbA2y_y2S1gmM,122
2
2
  atomicshop/_basics_temp.py,sha256=6cu2dd6r2dLrd1BRNcVDKTHlsHs_26Gpw8QS6v32lQ0,3699
3
3
  atomicshop/_patch_import.py,sha256=ENp55sKVJ0e6-4lBvZnpz9PQCt3Otbur7F6aXDlyje4,6334
4
4
  atomicshop/appointment_management.py,sha256=N3wVGJgrqJfsj_lqiRfaL3FxMEe57by5Stzanh189mk,7263
@@ -13,7 +13,7 @@ atomicshop/diff_check.py,sha256=RON9cSTgy3jAnwUmAUkOyfF6bgrBKOq9Sbgyl3RYodw,1235
13
13
  atomicshop/dns.py,sha256=bNZOo5jVPzq7OT2qCPukXoK3zb1oOsyaelUwQEyK1SA,2500
14
14
  atomicshop/domains.py,sha256=Rxu6JhhMqFZRcoFs69IoEd1PtYca0lMCG6F1AomP7z4,3197
15
15
  atomicshop/emails.py,sha256=I0KyODQpIMEsNRi9YWSOL8EUPBiWyon3HRdIuSj3AEU,1410
16
- atomicshop/filesystem.py,sha256=a1anVYpBoUPqucAjA3E7W0jTqSJWizhI_keJkIT4lYY,32162
16
+ atomicshop/filesystem.py,sha256=ZIVmZ3Zfq4U3gJ7Bta6wPnHSNJMwpyC1CoJcgTDxKUg,32624
17
17
  atomicshop/functions.py,sha256=pK8hoCE9z61PtWCxQJsda7YAphrLH1wxU5x-1QJP-sY,499
18
18
  atomicshop/hashing.py,sha256=Le8qGFyt3_wX-zGTeQShz7L2HL_b6nVv9PnawjglyHo,3474
19
19
  atomicshop/http_parse.py,sha256=nrf2rZcprLqtW8HVrV7TCZ1iTBcWRRy-mXIlAOzcaJs,9703
@@ -203,8 +203,8 @@ atomicshop/wrappers/socketw/socket_server_tester.py,sha256=AhpurHJmP2kgzHaUbq5ey
203
203
  atomicshop/wrappers/socketw/socket_wrapper.py,sha256=aXBwlEIJhFT0-c4i8iNlFx2It9VpCEpsv--5Oqcpxao,11624
204
204
  atomicshop/wrappers/socketw/ssl_base.py,sha256=k4V3gwkbq10MvOH4btU4onLX2GNOsSfUAdcHmL1rpVE,2274
205
205
  atomicshop/wrappers/socketw/statistics_csv.py,sha256=t3dtDEfN47CfYVi0CW6Kc2QHTEeZVyYhc57IYYh5nmA,826
206
- atomicshop-2.6.3.dist-info/LICENSE.txt,sha256=lLU7EYycfYcK2NR_1gfnhnRC8b8ccOTElACYplgZN88,1094
207
- atomicshop-2.6.3.dist-info/METADATA,sha256=ZaWiF2O0DCDJlp7PhiztopD8R8kCUhWG2uaHaBjL9hE,10267
208
- atomicshop-2.6.3.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
209
- atomicshop-2.6.3.dist-info/top_level.txt,sha256=EgKJB-7xcrAPeqTRF2laD_Np2gNGYkJkd4OyXqpJphA,11
210
- atomicshop-2.6.3.dist-info/RECORD,,
206
+ atomicshop-2.6.4.dist-info/LICENSE.txt,sha256=lLU7EYycfYcK2NR_1gfnhnRC8b8ccOTElACYplgZN88,1094
207
+ atomicshop-2.6.4.dist-info/METADATA,sha256=smQDv30aFWsIuv-IZWv8EPcTwtVDwT9zXf2Xl4chI0U,10267
208
+ atomicshop-2.6.4.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
209
+ atomicshop-2.6.4.dist-info/top_level.txt,sha256=EgKJB-7xcrAPeqTRF2laD_Np2gNGYkJkd4OyXqpJphA,11
210
+ atomicshop-2.6.4.dist-info/RECORD,,