Core

Tool

General utility helper.

27 public methods

Import

from Xenonix.Core import Tool

Search this API

Filter methods, arguments, and configuration keys on this page.

Configuration

Use Config(...) with these keys where the class exposes configuration.

This object does not expose a public Config table.

Public methods

Run_Command

Runs the Run_Command operation for Tool.

Run_Command(Args)

Arguments

Argument Default Accepted values What it does
Args Required Any valid value Args value used by the operation.

Output

Returns the calculated result.

Read_Text_File

Runs the Read_Text_File operation for Tool.

Read_Text_File(Path_Value)

Arguments

Argument Default Accepted values What it does
Path_Value Required Any valid value Path Value value used by the operation.

Output

Returns the calculated result.

Write_Text_File

Runs the Write_Text_File operation for Tool.

Write_Text_File(Path_Value, Text)

Arguments

Argument Default Accepted values What it does
Path_Value Required Any valid value Path Value value used by the operation.
Text Required Any valid value Text value used by the operation.

Output

Returns True/False to indicate success.

Normalize_Uuid

Runs the Normalize_Uuid operation for Tool.

Normalize_Uuid(Text)

Arguments

Argument Default Accepted values What it does
Text Required Any valid value Text value used by the operation.

Output

Returns the calculated result.

Hardware_UUID

Runs the Hardware_UUID operation for Tool.

Hardware_UUID()

Arguments

No arguments.

Output

Returns the calculated result.

UUID

Runs the UUID operation for Tool.

UUID()

Arguments

No arguments.

Output

Returns the calculated result.

Generate_UUID

Runs the Generate_UUID operation for Tool.

Generate_UUID()

Arguments

No arguments.

Output

Returns the calculated result.

MD5

Runs the MD5 operation for Tool.

MD5(Text, Encoding='utf-8')

Arguments

Argument Default Accepted values What it does
Text Required Any valid value Text value used by the operation.
Encoding 'utf-8' Any valid value Encoding value used by the operation.

Output

Returns the calculated result.

Generate_MD5

Runs the Generate_MD5 operation for Tool.

Generate_MD5(Encoding='utf-8')

Arguments

Argument Default Accepted values What it does
Encoding 'utf-8' Any valid value Encoding value used by the operation.

Output

Returns the calculated result.

Clean_Hex

Runs the Clean_Hex operation for Tool.

Clean_Hex(Text)

Arguments

Argument Default Accepted values What it does
Text Required Any valid value Text value used by the operation.

Output

Returns the calculated result.

Clean_Bin

Runs the Clean_Bin operation for Tool.

Clean_Bin(Text)

Arguments

Argument Default Accepted values What it does
Text Required Any valid value Text value used by the operation.

Output

Returns the calculated result.

Clean_Dec

Runs the Clean_Dec operation for Tool.

Clean_Dec(Value)

Arguments

Argument Default Accepted values What it does
Value Required Any valid value Value to set or process.

Output

Returns the calculated result.

Hex2Bin

Runs the Hex2Bin operation for Tool.

Hex2Bin(Hex_Text)

Arguments

Argument Default Accepted values What it does
Hex_Text Required Any valid value Hex Text value used by the operation.

Output

Returns the calculated result.

Bin2Hex

Runs the Bin2Hex operation for Tool.

Bin2Hex(Bin_Text)

Arguments

Argument Default Accepted values What it does
Bin_Text Required Any valid value Bin Text value used by the operation.

Output

Returns the calculated result.

Hex2Dec

Runs the Hex2Dec operation for Tool.

Hex2Dec(Hex_Text)

Arguments

Argument Default Accepted values What it does
Hex_Text Required Any valid value Hex Text value used by the operation.

Output

Returns the calculated result.

Dec2Hex

Runs the Dec2Hex operation for Tool.

Dec2Hex(Dec_Value)

Arguments

Argument Default Accepted values What it does
Dec_Value Required Any valid value Dec Value value used by the operation.

Output

Returns the calculated result.

Bin2Dec

Runs the Bin2Dec operation for Tool.

Bin2Dec(Bin_Text)

Arguments

Argument Default Accepted values What it does
Bin_Text Required Any valid value Bin Text value used by the operation.

Output

Returns the calculated result.

Dec2Bin

Runs the Dec2Bin operation for Tool.

Dec2Bin(Dec_Value)

Arguments

Argument Default Accepted values What it does
Dec_Value Required Any valid value Dec Value value used by the operation.

Output

Returns the calculated result.

Hex2Ascii

Runs the Hex2Ascii operation for Tool.

Hex2Ascii(Hex_Text, Encoding='utf-8')

Arguments

Argument Default Accepted values What it does
Hex_Text Required Any valid value Hex Text value used by the operation.
Encoding 'utf-8' Any valid value Encoding value used by the operation.

Output

Returns the calculated result.

Ascii2Hex

Runs the Ascii2Hex operation for Tool.

Ascii2Hex(Text, Encoding='utf-8')

Arguments

Argument Default Accepted values What it does
Text Required Any valid value Text value used by the operation.
Encoding 'utf-8' Any valid value Encoding value used by the operation.

Output

Returns the calculated result.

Bin2Ascii

Runs the Bin2Ascii operation for Tool.

Bin2Ascii(Bin_Text, Encoding='utf-8')

Arguments

Argument Default Accepted values What it does
Bin_Text Required Any valid value Bin Text value used by the operation.
Encoding 'utf-8' Any valid value Encoding value used by the operation.

Output

Returns the calculated result.

Ascii2Bin

Runs the Ascii2Bin operation for Tool.

Ascii2Bin(Text, Encoding='utf-8')

Arguments

Argument Default Accepted values What it does
Text Required Any valid value Text value used by the operation.
Encoding 'utf-8' Any valid value Encoding value used by the operation.

Output

Returns the calculated result.

Base64_Encode

Runs the Base64_Encode operation for Tool.

Base64_Encode(Text=None, Encoding='utf-8')

Arguments

Argument Default Accepted values What it does
Text None Any valid value Text value used by the operation.
Encoding 'utf-8' Any valid value Encoding value used by the operation.

Output

Returns the calculated result.

Base64_Decode

Runs the Base64_Decode operation for Tool.

Base64_Decode(Text)

Arguments

Argument Default Accepted values What it does
Text Required Any valid value Text value used by the operation.

Output

Returns the calculated result.

Byte2Hex

Runs the Byte2Hex operation for Tool.

Byte2Hex(Data)

Arguments

Argument Default Accepted values What it does
Data Required Any valid value Dataset path or dataset definition.

Output

Returns the calculated result.

Hex2Bytes

Runs the Hex2Bytes operation for Tool.

Hex2Bytes(Hex_Text)

Arguments

Argument Default Accepted values What it does
Hex_Text Required Any valid value Hex Text value used by the operation.

Output

Returns the calculated result.

Home

Runs the Home operation for Tool.

Home()

Arguments

No arguments.

Output

Returns the calculated result.