Module script containing all triPy functions (install-capable version using distutils pending)