pyflex - A flexible Python structure