A Python based parallel programming library for GPUs