AntiNex Client Utils

Utility methods

antinex_client.utils.convert_to_date(value=None, format='%Y-%m-%d %H:%M:%S')[source]

param: value - datetime object param: format - string format

antinex_client.utils.ev(k, v)[source]
Parameters:
  • k – environment variable key
  • v – environment variable value
antinex_client.utils.ppj(json_data)[source]
Parameters:json_data – dictionary to print
antinex_client.utils.rnow(f='%Y-%m-%d %H:%M:%S')[source]
Parameters:f – format for the string