general pytools