complete API set - porting also for python3