basic python module for utility functions