Translating the original Honey_Badger project from Bash shell to Python.