Problem statement: Seems like pirant is compatible to only py2.7 currently. We should make it compatible for 3.4 and above also.
Solution suggested: @AmiraliM suggested on using SIX package
Scope of implementation: Fix existing codebase to make it compatible for all python versions.
References:
SIX package: https://pythonhosted.org/six/