diff --git a/helpers/generalHelper.py b/helpers/generalHelper.py new file mode 100644 index 0000000..47f67ce --- /dev/null +++ b/helpers/generalHelper.py @@ -0,0 +1,7 @@ +def zingonify(d): + """ + Zingonifies a string + :param d: input dict + :return: zingonified dict as str + """ + return "|".join(f"{k}:{v}" for k, v in d.items())