Python version of nodejs DerpLib by MakuraYami for chatango