This library is available on PyPI: https://pypi.python.org/pypi/firebase-token-generator/1.3.2

I see you've edited it.  What changes did you make, are they something the authors would like contributed back?  The best approach would be to contribute them upstream and then just install the result.