Simple entropy calculation tool for Python