Skip to content

Commit

Permalink
v2.2.12
Browse files Browse the repository at this point in the history
  • Loading branch information
impratikjaiswal committed Aug 21, 2023
1 parent 22edef0 commit 9925ecd
Show file tree
Hide file tree
Showing 7 changed files with 68 additions and 8 deletions.
2 changes: 1 addition & 1 deletion python_helpers/ph_constants_config.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
class PhConfigConst:
TOOL_VERSION = '2.2.11'
TOOL_VERSION = '2.2.12'
TOOL_VERSION_DETAILED = f'v{TOOL_VERSION}'
TOOL_NAME = 'pythonHelpers'
4 changes: 4 additions & 0 deletions python_helpers/ph_data_master.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
class PhMasterData:
INDEX_DATA = 0
INDEX_META_DATA = 1
INDEX_ERROR_DATA = 2
14 changes: 14 additions & 0 deletions python_helpers/ph_file_extensions.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
class PhFileExtensions:
TXT = '.txt'
ASN = '.asn'
ASN1 = '.asn1'
BASE_64 = '.base64'
HEX = '.hex'
YML = '.yml'
YAML = '.yaml'
JSON = '.json'
IN = '.in'
OUT = '.out'
CSV = '.csv'
XLSX = '.xlsx'
XLS = '.xls'
44 changes: 44 additions & 0 deletions python_helpers/ph_keys.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
class PhKeys:
INPUT = 'input'
INPUT_FORMAT = 'input_format'
INPUT_DATA = 'input_data'
INPUT_FILE = 'input_file'
INPUT_LIST = 'input_list'
INPUT_DIR = 'input_dir'
INPUT_YML = 'input_yml'
INPUT_MODES_HIERARCHY = 'input_modes_hierarchy'

OUTPUT = 'output'
OUTPUT_FORMAT = 'output_format'
OUTPUT_DATA = 'output_data'
OUTPUT_FILE = 'output_file'
EXPORT_FILE = 'export_file'
RE_OUTPUT_FILE = 're_output_file'
OUTPUT_FILE_NAME_KEYWORD = 'output_file_name_keyword'

RAW_DATA = 'raw_data'
RE_PARSED_DATA = 're_parsed_data'
ASN1_ELEMENT = 'asn1_element'
INFO = 'info'

PRINT_INPUT = 'print_input'
PRINT_OUTPUT = 'print_output'
PRINT_INFO = 'print_info'
QUITE_MODE = 'quite_mode'
RE_PARSE_OUTPUT = 're_parse_output'
REMARKS_LIST = 'remarks_list'
REMARKS_LIST_GENERATED = 'remarks_list_generated'

#
ONE_LINER = 'one_liner'
VALUE_IN_ASCII = 'value_in_ascii'
LENGTH_IN_DECIMAL = 'length_in_decimal'
#
OUTPUT_VERSION = 'output_version'
#
PYTHON = 'Python'
SGP22 = 'SGP22'
ASN1PLAY = 'asn1play'
EUICC_PROFILE_PACKAGE = 'eUICC_Profile_Package'
PYTHONHELPERS = 'pythonHelpers'
TIME_STAMP = 'time_stamp'
2 changes: 0 additions & 2 deletions python_helpers/ph_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -1636,5 +1636,3 @@ def get_current_script_folder(cls):
@classmethod
def get_directory_path(cls, path):
return os.path.dirname(path)


8 changes: 4 additions & 4 deletions python_helpers/test/log/pycharm.log
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ User Name is Pratik Jaiswal
--------------------------------------------------------------------------------
User Account is impra
--------------------------------------------------------------------------------
Time Stamp is Sunday, Aug 13 2023, 20:07:02:975214, IST (GMT+0530)
Time Stamp is Monday, Aug 21 2023, 09:36:29:686301, IST (GMT+0530)
--------------------------------------------------------------------------------
pythonHelpers version is v2.2.11
pythonHelpers version is v2.2.12
--------------------------------------------------------------------------------
Test Tool version is v1.0.1
--------------------------------------------------------------------------------
Expand All @@ -24,9 +24,9 @@ User Name is Pratik Jaiswal
--------------------------------------------------------------------------------
User Account is impra
--------------------------------------------------------------------------------
Time Stamp is Sunday, Aug 13 2023, 20:07:02:976213, IST (GMT+0530)
Time Stamp is Monday, Aug 21 2023, 09:36:29:686301, IST (GMT+0530)
--------------------------------------------------------------------------------
pythonHelpers version is v2.2.11
pythonHelpers version is v2.2.12
--------------------------------------------------------------------------------
Python version is v3.9.13 (tags/v3.9.13:6de2ca5, May 17 2022, 16:36:42) [MSC v.1929 64 bit (AMD64)]
----------------------------------------------------------- -----------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion python_helpers/test/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def test_list():
print(PhUtil.combine_list_items(['Pj;'], clean_data=True))
print(PhUtil.combine_list_items(['Remarks semi colon 1;', 'Remarks semi colon 2; '], clean_data=True))
print(PhUtil.combine_list_items(['Remarks semi colon 1;', 'Remarks semi colon 2; ; '], clean_data=True))
print(PhUtil.combine_list_items([5,6,7], clean_data=True))
print(PhUtil.combine_list_items([5, 6, 7], clean_data=True))


def test_heading():
Expand Down

0 comments on commit 9925ecd

Please sign in to comment.