abstract-utilities 0.2.2.474__py3-none-any.whl → 0.2.2.475__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 abstract-utilities might be problematic. Click here for more details.

@@ -8,8 +8,8 @@ from_tag = 'from '
8
8
  def get_text_or_read(text=None,file_path=None):
9
9
  text = text or ''
10
10
  imports_js = {}
11
- if file_path and os.path.isfile(file_path):
12
- text+=read_from_file(file_path)
11
+ if not text and file_path and os.path.isfile(file_path):
12
+ text=read_from_file(file_path)
13
13
  return text
14
14
  def is_line_import(line):
15
15
  if line and (line.startswith(from_tag) or line.startswith(import_tag)):
@@ -142,6 +142,7 @@ def clean_all_imports(text=None,file_path=None,import_pkg_js=None):
142
142
  nu_lines[line] += imports
143
143
  import_pkg_js["nulines"]=nu_lines
144
144
  return import_pkg_js
145
+
145
146
  def save_cleaned_imports(text=None,file_path=None,write=False,import_pkg_js=None):
146
147
  import_pkg_js=get_all_imports(text=text,file_path=file_path,import_pkg_js=import_pkg_js)
147
148
  import_pkg_js = clean_all_imports(text=text,file_path=file_path,import_pkg_js=import_pkg_js)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: abstract_utilities
3
- Version: 0.2.2.474
3
+ Version: 0.2.2.475
4
4
  Summary: abstract_utilities is a collection of utility modules providing a variety of functions to aid in tasks such as data comparison, list manipulation, JSON handling, string manipulation, mathematical computations, and time operations.
5
5
  Home-page: https://github.com/AbstractEndeavors/abstract_utilities
6
6
  Author: putkoff
@@ -73,7 +73,7 @@ abstract_utilities/robust_readers/__init__.py,sha256=_1vhOG1FJnfrRK0ubkT1v6U6udH
73
73
  abstract_utilities/robust_readers/imports.py,sha256=FtNxdPoLeeNycDnl-6rBGxBfYjhQ7VhmI5guj8XKFcU,355
74
74
  abstract_utilities/robust_readers/initFuncGen.py,sha256=nrQn1KpSlPNKoOngN1uizVwNMA4llrcd8aGKqlzpXzI,5436
75
75
  abstract_utilities/robust_readers/import_utils/__init__.py,sha256=0XaHXUzvgMjSV-4VXcBB-sLcXzL3U3ssHZ95YkvgS9w,195
76
- abstract_utilities/robust_readers/import_utils/clean_imports.py,sha256=i37JKV85rNDk5VEqN41dcN6rQnfpusVD_0WXVhYx-74,6418
76
+ abstract_utilities/robust_readers/import_utils/clean_imports.py,sha256=NRYVbnmxji_Fy4pBAPwl8djPHQHfYjm2weglQnqeERs,6431
77
77
  abstract_utilities/robust_readers/import_utils/dot_utils.py,sha256=pmwnY461mOnDjIjgHD6H9MhQXFaF-q8kWerJDgJ1DuI,2364
78
78
  abstract_utilities/robust_readers/import_utils/function_utils.py,sha256=Q9NKvRov3uAaz2Aal3d6fb_opWNXHF9C8GSKOjgfO8Y,1622
79
79
  abstract_utilities/robust_readers/import_utils/import_utils.py,sha256=l0GYdtj5FEYX2yknL-8ru7_U2Sp9Hi1NpegqWPLRMc8,11705
@@ -86,7 +86,7 @@ abstract_utilities/ssh_utils/classes.py,sha256=3Q9BfLpyagNFYyiF4bt-5UCezeUJv9NK9
86
86
  abstract_utilities/ssh_utils/imports.py,sha256=oX8WAv-pkhizzko_h3fIUp9Vhsse4nR7RN2vwONxIx0,317
87
87
  abstract_utilities/ssh_utils/pexpect_utils.py,sha256=JBdOIXBTXAqE5TrsFjmPWJgwSaWyRJN8rbJ6y3_zKPY,10556
88
88
  abstract_utilities/ssh_utils/utils.py,sha256=smUWAx3nW1h0etTndJ_te9bkUX5YzQ8kYd9_gD1TXLk,4882
89
- abstract_utilities-0.2.2.474.dist-info/METADATA,sha256=kY7j3j6pms-_O3a1KChnVHxB75JMcar9Mf6C63VLmzI,28108
90
- abstract_utilities-0.2.2.474.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
91
- abstract_utilities-0.2.2.474.dist-info/top_level.txt,sha256=BF0GZ0xVFfN1K-hFIWPO3viNsOs1sSF86n1vHBg39FM,19
92
- abstract_utilities-0.2.2.474.dist-info/RECORD,,
89
+ abstract_utilities-0.2.2.475.dist-info/METADATA,sha256=6ix70KMts3pN70ui6fMUyeoUZevHvmdpBtMYU3O6F0c,28108
90
+ abstract_utilities-0.2.2.475.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
91
+ abstract_utilities-0.2.2.475.dist-info/top_level.txt,sha256=BF0GZ0xVFfN1K-hFIWPO3viNsOs1sSF86n1vHBg39FM,19
92
+ abstract_utilities-0.2.2.475.dist-info/RECORD,,