Python 3 wrapper for libgamma