Move application files under src directory. Update Readmes

- Remove callign asymmetric search script directly command.
  It doesn't work anymore on calling directly due to internal package
  import issues
This commit is contained in:
Debanjum Singh Solanky
2021-08-17 01:25:12 -07:00
parent c35c6fb0b3
commit af9660f28e
16 changed files with 3 additions and 13 deletions

9
src/utils/helpers.py Normal file
View File

@@ -0,0 +1,9 @@
import pathlib
def is_none_or_empty(item):
return item == None or (hasattr(item, '__iter__') and len(item) == 0)
def get_absolute_path(filepath):
return str(pathlib.Path(filepath).expanduser().absolute())